Phantom107 Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Phantom107 Forum

Phantom107's Forum. Discuss about games, GML, 3d, game design here. Enjoy your stay ;)
 
HomeSearchLatest imagesRegisterLog in

 

 Help importing Obj file

Go down 
4 posters
AuthorMessage
Guilty Sparks
Heavy Poster
Guilty Sparks


Posts : 154
Join date : 2008-01-05
Location : USA East Coast

Help importing Obj file Empty
PostSubject: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 3:10 am

hey, I have a pretty cool obj file, but I cant get it into GM. Should I use a program for downloading it into it? (Sorry I can only convert anim8tor into GM obj)
Well heres where to dwonload it:
https://agora.cs.uiuc.edu/download/attachments/14222/bjsmith4_VTK_TEST.zip?version=1
Back to top Go down
Watever742
Active Member
Watever742


Posts : 39
Join date : 2008-01-21

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 6:30 am

dude that isnt even an obj file that just has some c++ stuff in it.....
Back to top Go down
slayer64
Heavy Poster
slayer64


Posts : 143
Join date : 2008-01-05

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 6:56 am

Back to top Go down
Watever742
Active Member
Watever742


Posts : 39
Join date : 2008-01-21

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 10:03 am

well just take off the .obj from the file and then load it like this

Code:


CREATE EVENT

model_1=d3d_model_create()
d3d_model_load(model_1,'Model1');

DRAW EVENT

d3d_camera...

tex=background_get_texture(model1_tex);
d3d_model_draw(model_1,x,y,z,tex);
Back to top Go down
Phantom107
Admin
Phantom107


Posts : 206
Join date : 2008-01-03
Location : The Netherlands

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 1:31 pm

It's impossible to load OBJ into GM without converting it to GM's native 3d format, MPV. There are also scripts to load the OBJ directly into GM but using MPV models is wayyyy faster. Slayer 64 provided the link to the program some posts before this one.

@ Watever742
How is GM supposed to load OBJ models while GM doesn't support them?
Back to top Go down
https://phantom107.actieforum.com
Guilty Sparks
Heavy Poster
Guilty Sparks


Posts : 154
Join date : 2008-01-05
Location : USA East Coast

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 3:59 pm

it has some c++? lol ok... Forget it, I'll just try to anim8tor a zombie
Back to top Go down
Watever742
Active Member
Watever742


Posts : 39
Join date : 2008-01-21

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 9:43 pm

look for Mosaic Light
Back to top Go down
Watever742
Active Member
Watever742


Posts : 39
Join date : 2008-01-21

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 9:47 pm

its a script
Back to top Go down
Phantom107
Admin
Phantom107


Posts : 206
Join date : 2008-01-03
Location : The Netherlands

Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitimeSun Feb 03, 2008 10:23 pm

Better use MPV models instead of the mosaic light script since they load way faster.
Back to top Go down
https://phantom107.actieforum.com
Sponsored content





Help importing Obj file Empty
PostSubject: Re: Help importing Obj file   Help importing Obj file Icon_minitime

Back to top Go down
 
Help importing Obj file
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Phantom107 Forum :: Questions and Answers-
Jump to: