Chiblue Posted February 9, 2010 Share Posted February 9, 2010 I have a model that is originally a .x model, I imported this into UU3D applied the textures and inside UU3D everything looks great including all animations, I saved the mesh to GMF using the plugin. But when I use model veiwer, the mesh is no longer attached to the bones, the animation runs but all that moves is the bones not the mesh. I seem to struggle greating these GMF files, does anyone have a "works every time" process for getting UU3D files to GMFs succesfully? Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
macklebee Posted February 9, 2010 Share Posted February 9, 2010 what do you have for a MAT file? you need the skin shader. texture0="abstract::yourtexture.dds" texture1="abstract::yourtexturedot3.dds" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse_bumpmap_specular.frag" shadowshader="abstract::mesh_shadow_skin.vert" Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 This is what I have... texture0="abstract::hand_D2.dds" texture1="abstract::gun_D2.dds" texture2="abstract::ammo_D2.dds" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse_bumpmap.frag" shadowshader="abstract::mesh_shadow_skin.vert" Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 The attached is what I see in model viewer...notice no textures, also when I run the animation 290 frames of iit, I get nothing apart from the bones moving, I did not have the bones on in the image sorry.. Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Canardia Posted February 9, 2010 Share Posted February 9, 2010 Make sure you see the textures in UU3D. If UU3D can't load the textures, it will remove them from the gmf completely. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 From your picture you have 3 surfaces and therefore 3 materials but you seem to be trying to assign things from 1 .mat You need 3 .mat files one each for the individual textures: hand_D2.mat texture0="abstract::hand_D2.dds" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow_skin.vert","" gun_D2.mat texture0="abstract::gun_D2.DDS" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow_skin.vert","" ammo_D2.mat texture0="abstract::ammo_D2.DDS" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow_skin.vert","" Make sure the 3 .dds files have mipmaps and are the correct format (use DXT5). Quote 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 More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 I tried using 3 Material files and 1 neither appeared to work, also I do see the materials in uu3d, but when I load the mesh into editor or le I see nothing just black as you can see in the image. The other issue is that the model is way too big I tried to use scalemesh but thar dies not seem to work. Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 check the texture maps are assigned to the materials in UU3D .. right click on them select properties .. maps .. check a bitmaps assigned to the diffuse then check its properties to see what bitmap .. to scale try scale scene with a value of 2.000000 (scale to under modifiers / scene / ) make sure you have all the textures (.dds) and .mats and the HUD.gmf in the same folder. Quote 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 More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Make sure the 3 .dds files have mipmaps and are the correct format (use DXT5). Have you checked they do/are? Quote 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 More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 No I did not check that yet, I will take a look at this later... I do see the textures in UU3D, but I guess that does not imply they will work in LE? Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 There is still the possibility that the model itself is at fault and UU3D is not importing it correctly. Which model from which pack is it? Quote 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 More sharing options...
VicToMeyeZR Posted February 9, 2010 Share Posted February 9, 2010 Do you have mip maps..?? If you do not, animated models will always appear black. You should also have a different MAT file for each different texture. Then assign the normals and spec's to those different MAT files. Make sure you use DXT5 with ALL mip maps.. Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Quote 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 More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 There is still the possibility that the model itself is at fault and UU3D is not importing it correctly. Which model from which pack is it? See Attached... G3.zip Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Ok Chiblue .. taking a look now Quote 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 More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Is that what you wanted? Quote 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 More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Check your PM Quote 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 More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 Ok cool how and what did I do wrong? Also can you send me the code you used to scale and position this in LE? Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Hang on and I will post what steps I did Also can you send me the code you used to scale and position this in LE? I scaled it and centred it in UU3D the lua file only animated it for "checking" The POV in the pic was just the camera being moved to that view Quote 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 More sharing options...
Marleys Ghost Posted February 9, 2010 Share Posted February 9, 2010 Starting with the four files. HUD.x ammo_D2.dds gun_D2.dds hand_D2.dds First convert the .dds files to DXT5 and generate mipmaps (I use MS DirectX Texture Tool) Next open the HUD.x in UU3D Right click the perspective window Select Modifiers > scene > scale to Set to 2.0 and click ok Right click the perspective window again Select Modifiers > scene > move check absolute click centre close the dialogue box Expand the materials in the far right window handtex ------------------------------------> hand_D2.dds Material__573_guntexSub0 ------------> gun_D2.DDS Material__573_01_-_DefaultSub1 ------> ammo_D2.DDS assign these textures to the correct material Right click on the material select properties > map tab > diffuse set to map Click the diffuse maps property to change the assigned map. Save as .gmf ( making sure to export bones and animations ) create the three .mat files hand_D2.mat texture0="abstract::hand_D2.dds" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow_skin.vert","" gun_D2.mat texture0="abstract::gun_D2.DDS" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow_skin.vert","" ammo_D2.mat texture0="abstract::ammo_D2.DDS" shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow_skin.vert","" Quote 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 More sharing options...
Chiblue Posted February 9, 2010 Author Share Posted February 9, 2010 Excellant help thanks.. I did most of those steps but I missed the following.. First convert the .dds files to DXT5 and generate mipmaps Right click the perspective window Select Modifiers > scene > scale to Set to 2.0 and click ok Right click the perspective window again Select Modifiers > scene > move check absolute click centre Actually I guess I missed most of them... lol Thanks again, I will write this up and stick it on my screen... Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Recommended Posts
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.