Phantom107 Forum

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

Share | 
 

 Help importing Obj file

Go down 
AuthorMessage
Guilty Sparks
Heavy Poster
avatar

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

PostSubject: Help importing Obj file   Sun 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
View user profile
Watever742
Active Member
avatar

Posts : 39
Join date : 2008-01-21

PostSubject: Re: Help importing Obj file   Sun 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
View user profile
slayer64
Heavy Poster
avatar

Posts : 143
Join date : 2008-01-05

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

Back to top Go down
View user profile
Watever742
Active Member
avatar

Posts : 39
Join date : 2008-01-21

PostSubject: Re: Help importing Obj file   Sun 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
View user profile
Phantom107
Admin
avatar

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

PostSubject: Re: Help importing Obj file   Sun 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
View user profile http://phantom107.actieforum.com
Guilty Sparks
Heavy Poster
avatar

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

PostSubject: Re: Help importing Obj file   Sun 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
View user profile
Watever742
Active Member
avatar

Posts : 39
Join date : 2008-01-21

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

look for Mosaic Light
Back to top Go down
View user profile
Watever742
Active Member
avatar

Posts : 39
Join date : 2008-01-21

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

its a script
Back to top Go down
View user profile
Phantom107
Admin
avatar

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

PostSubject: Re: Help importing Obj file   Sun 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
View user profile http://phantom107.actieforum.com
Sponsored content




PostSubject: Re: Help importing Obj file   

Back to top Go down
 
Help importing Obj file
Back to top 
Page 1 of 1
 Similar topics
-
» Sample UI Element file for google site.
» user-extensions.js file is needed
» Anybody any idea abt how to select upload file in webdriver
» Trusted File Seller Badge (TFSB)
» Create Batch file for Selenium

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