Jump to content

? about getting model texture into game


VicToMeyeZR
 Share

Recommended Posts

I have yet to be able to get any of the 100's of models I have to render in the editor or game with the textures or materials.

 

I have a character, exported from Fragmotion, opened into UU3D and saved in GMF. I converted the DDS to MAT files. I made sure the file locations were saved as relative to the mesh, and both MAT and DDS files are in the same directory, but all my models are still black. Here is the log from the Model Viewer

 

Leadwerks Engine 2.3
Initializing Renderer...
OpenGL Version: 2.1.7169 Release
GLSL Version: 1.20
Render device: ATI Mobility Radeon X1300 (Omega 3.8.442)
Vendor: ATI Technologies Inc.
DrawBuffers2 supported: 0
16 texture units supported.
GPU instancing supported: 0
Shader model 4.0 supported: 0
Conditional render supported: 0
Loading shader "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//query.vert", ""...
Invoking script "C:/Leadwerks Engine SDK/Scripts/start/collisions.lua"...
Invoking script "C:/Leadwerks Engine SDK/Scripts/start/globals.lua"...
Loading shader "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//postfilters/depthblit.frag"...
Loading texture "incbin::noise.dds"...
Loading shader "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//lighting/directionallight.frag"...
Loading mesh "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/character_visor_full.gmf"...
Loading material "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/sword_col.mat"...
Loading texture "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/sword_col.dds"...
Loading shader "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//mesh/mesh_diffuse.vert", "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//mesh/mesh_diffuse.frag"...
Loading material "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/visor_col.mat"...
Loading texture "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/visor_col.dds"...
Loading material "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/gun_col.mat"...
Loading texture "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/gun_col.dds"...
Loading material "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/cyber_col.mat"...
Loading texture "c:/documents and settings/hx11433/my documents/cyber infiltrator - final/mesh/gmf/cyber_col.dds"...
Mesh loaded in 998 milliseconds.
Loading shader "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//mesh/mesh_shadow.vert", ""...
Loading shader "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//guide.vert", "zip::c:/leadwerks engine sdk/test_chat/shaders.pak//editor/guide.frag"...

AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD

76561197984667096.png

Link to comment
Share on other sites

Try something like this to check:

 

shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag"
shadowshader="abstract::mesh_shadow_skin.vert",""

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

ok.

Leadwerks Engine 2.3
Initializing Renderer...
OpenGL Version: 2.1.8787
GLSL Version: 1.30
Render device: ATI Radeon HD 4800 Series 
Vendor: ATI Technologies Inc.
DrawBuffers2 supported: 1
16 texture units supported.
GPU instancing supported: 1
Max batch size: 1024
Shader model 4.0 supported: 1
Conditional render supported: 0
Loading shader "zip::c:/tools/leadwerks engine sdk/shaders.pak//query.vert", ""...
Invoking script "C:/Tools/Leadwerks Engine SDK/Scripts/start/collisions.lua"...
Invoking script "C:/Tools/Leadwerks Engine SDK/Scripts/start/globals.lua"...
Loading shader "zip::c:/tools/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/tools/leadwerks engine sdk/shaders.pak//postfilters/depthblit.frag"...
Loading texture "incbin::noise.dds"...
Loading shader "zip::c:/tools/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/tools/leadwerks engine sdk/shaders.pak//lighting/directionallight.frag"...
Loading mesh "c:/tools/leadwerks engine sdk/models/characters/cyber/character_visor_full.gmf"...
Loading material "c:/tools/leadwerks engine sdk/models/characters/cyber/sword_col.mat"...
Loading texture "c:/tools/leadwerks engine sdk/models/characters/cyber/sword_col.dds"...
Loading shader "zip::c:/tools/leadwerks engine sdk/shaders.pak//mesh/mesh_diffuse_bumpmap_skin.vert", "zip::c:/tools/leadwerks engine sdk/shaders.pak//mesh/mesh_diffuse.frag"...
Loading shader "zip::c:/tools/leadwerks engine sdk/shaders.pak//mesh/mesh_shadow_skin.vert", ""...
Loading material "c:/tools/leadwerks engine sdk/models/characters/cyber/visor_col.mat"...
Loading texture "c:/tools/leadwerks engine sdk/models/characters/cyber/visor_col.dds"...
Loading material "c:/tools/leadwerks engine sdk/models/characters/cyber/gun_col.mat"...
Loading texture "c:/tools/leadwerks engine sdk/models/characters/cyber/gun_col.dds"...
Loading material "c:/tools/leadwerks engine sdk/models/characters/cyber/cyber_col.mat"...
Loading texture "c:/tools/leadwerks engine sdk/models/characters/cyber/cyber_col.dds"...
Mesh loaded in 131 milliseconds.
Loading shader "zip::c:/tools/leadwerks engine sdk/shaders.pak//guide.vert", "zip::c:/tools/leadwerks engine sdk/shaders.pak//editor/guide.frag"...

 

still black in the ModelViewer.

AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD

76561197984667096.png

Link to comment
Share on other sites

your DDS files have mipmaps?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Convert to DXT5 and generate mipmaps with the DirectX Texture tool, see if that helps.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...