How To Import 3d Models & Uv Map Them
#181
Posted 22 April 2012 - 02:00 AM
I used :
Create Event
d3d_model_create()
Model = createFromObj("C:\Documents and Settings\M\char.D3D")
tex = background_get_texture(tex_t)
and:
z=0
Draw Event
d3d_model_draw(Model, x+10,x+10,z+10, tex);
I made sure my model is above ground, and I have tried a lot of different ways to do this but none are working.
There were no errors on game start, its just like my model is invisible.
Please Help
#182
Posted 29 May 2012 - 11:42 AM
#183
Posted 09 June 2012 - 02:03 PM
#184
Posted 16 June 2012 - 08:26 PM
I have 1 questions.
1.Is there a way to flip the texture coords on a given model, so it appears mirrored but normals stay the same? At the moment I am just using a duplicate mirrored texture bmp, but this seems very wasteful. Can the script be amended to achieve texture mirroring?
Any help on either q would be greatly appreciated.
(edit:removed question I worked out answer for)
Edited by UKDutyPaid, 16 June 2012 - 08:30 PM.
#185
Posted 17 June 2012 - 02:09 AM
#186
Posted 17 June 2012 - 07:57 PM
Thanks for reply. Sorry, yeah I mean texture coordinates mirrored. The model I have is itself symmetrical, but the texture has pointing arrows. So I want to be able to use the same model but flip the direction of the arrows. Does that make more sense?What do you mean texture mirroring, as in have the whole model mirrored, have the texture coordinates mirrored, show ma a picture example and i can answer your question.
#187
Posted 18 June 2012 - 01:50 AM
#188
Posted 18 June 2012 - 12:44 PM
That would get the result yes. But I was hoping to avoid duplicate mirrored models or textures as it seemed wasteful. There is no way to edit the model load script so that it does the flip as it loads the mesh into the game?Yeah, thats not texture, thats the model itself, if it is symmetrical you are going to want to open anim8or and select the object, hit build - mirror, select x and hit okay, delete the old object, done. This what you mean?
#189
Posted 18 June 2012 - 02:26 PM
#190
Posted 18 June 2012 - 10:39 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











