MS3D loading
lesson 32 shows how to load a model, i can do that but the the texture on any model except the cross that comes with the app doesnt work, its just white.... anyone know how to fix this?
also another thing im going to need to know is, im going to be loading a gun model, and i want it to stay in the bottom right of the screen and rotate with the mouse etc so that it looks like its in the same spot whether i look up/down/side/side... how would i go about this... glRotatef?
thanks in advance
dirtypope
Theres no such thing as stupid people... only people with under clocked brains. -dirty
It''s a problem with the path.
Try the next release for MilkShape3D, the problem has been corrected.
========================
Leyder Dylan
http://ibelgique.ifrance.com/Slug-Production/
Try the next release for MilkShape3D, the problem has been corrected.
========================
Leyder Dylan
http://ibelgique.ifrance.com/Slug-Production/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
I have had 1.5.7 since it came out =( so i guess it isnt fixed...
Theres no such thing as stupid people... only people with under clocked brains. -dirty
Firslt, thanks Dirtypope for not being too harsh with your reply to my drunken post 
Secondly, I used to have this problem too!
Solution 1. Put all the textures in the same dir as model file AND in root.
If this either doesn''t work or is not usefull (Kinda messy)
I solved it by doing the follwing.....
Load up Milkshape, load the model, then export it as Milkshape ASCII.
Load up this file in a text editor and near the bottom of this file will be the texture paths, adjust em from...
Example
c:\projects\CoolApp\Models\abitmap.bmp
to
\\models\abitmap.bmp
Do this with all your textures, then save the file
import back into milkshape, then finally save as a .ms3d file.
That used to fix it for me, hope I''ve helped!
TerraX

Secondly, I used to have this problem too!
Solution 1. Put all the textures in the same dir as model file AND in root.
If this either doesn''t work or is not usefull (Kinda messy)
I solved it by doing the follwing.....
Load up Milkshape, load the model, then export it as Milkshape ASCII.
Load up this file in a text editor and near the bottom of this file will be the texture paths, adjust em from...
Example
c:\projects\CoolApp\Models\abitmap.bmp
to
\\models\abitmap.bmp
Do this with all your textures, then save the file
import back into milkshape, then finally save as a .ms3d file.
That used to fix it for me, hope I''ve helped!
TerraX
Download the updated tutorial code from http://rsn.gamedev.net. Link is in the Tutorials heading below the first news post. (I''ve also emailed it to NeHe, hopefully will be reflected on his site soon).
Actually, the code should work in 1.4.x, the update is for 1.5.x
~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL
Actually, the code should work in 1.4.x, the update is for 1.5.x
~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL
~~~Cheers!Brett PorterPortaLib3D : A portable 3D game/demo libary for OpenGLCommunity Service Announcement: Read How to ask questions the smart way before posting!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement