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

 

 My model is only half done.

Go down 
3 posters
AuthorMessage
slayer64
Heavy Poster
slayer64


Posts : 143
Join date : 2008-01-05

My model is only half done. Empty
PostSubject: My model is only half done.   My model is only half done. Icon_minitimeWed Feb 06, 2008 5:12 am

here is the game im working on. the model stops for some reason. it makes a model from all the objects positions.

http://host-a.net/slayer64/another%20game.zip

there's only half a model.
why is this happening? game makers triangle limit on models must be higher because "terrain system" makes a huge model and it looks fine.

maybe its my computer. i dunnno.
phantom. use your MaGiC 3d pOweRs!

for(i=0;i<99999;i+=1)
{
WTFWTFWTWFTWFWTFWWFWTTWWFWFFWTWWFFWFTWTFWTFWTWFF WTF! Evil or Very Mad
}
Back to top Go down
Watever742
Active Member
Watever742


Posts : 39
Join date : 2008-01-21

My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitimeWed Feb 06, 2008 6:45 am

thats not a model........

thats a d3d_vertex which isn't a model
Back to top Go down
Phantom107
Admin
Phantom107


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

My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitimeWed Feb 06, 2008 3:55 pm

Awww it's a gmk sorry I can't open those; I work with GM6.1, not GM7

PS

From own experience GM can hold ~300 triangles per model
Back to top Go down
https://phantom107.actieforum.com
slayer64
Heavy Poster
slayer64


Posts : 143
Join date : 2008-01-05

My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitimeWed Feb 06, 2008 5:22 pm

never mind. i figured it out. and models in gm7 can hold WAY more triangles than 300. i dunno about gm6.
Back to top Go down
Phantom107
Admin
Phantom107


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

My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitimeWed Feb 06, 2008 6:46 pm

Really? Can you find out how many it can hold? Also, does GM7 have d3d functions GM6.1 doesn't have?
Back to top Go down
https://phantom107.actieforum.com
slayer64
Heavy Poster
slayer64


Posts : 143
Join date : 2008-01-05

My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitimeWed Feb 06, 2008 11:07 pm

here is how you made the models in your engine. right? you made a loop and made a model from it.

Code:
d3d_model_primitive_begin(obj_Controller.model_Terrain01,pr_trianglelist);
with (obj_Terrain01_s01)
{
//vertex code
}
d3d_model_primitive_end(obj_Controller.model_Terrain01);

you started a primitive, then added all the vertex's and ended it. makes perfect sense, i did the same thing, but...
the model can only be so big.

I tried this and now i can make a model as big as i want.

Code:
with (obj_Terrain01_s01)
{
      d3d_model_primitive_begin(obj_Controller.model_Terrain01,pr_trianglelist);
      //vertex code
      d3d_model_primitive_end(obj_Controller.model_Terrain01);
}

this code allows the model to be as LARGE as i want. i think you can make a LARGE model in gm6 also.
this was the problem i was having. you apparently did the same thing. lol.
Very Happy

so now we can all make really big models.

to answer your 2nd question, no. i dont think gm7 has more d3d functions than gm6. if you ask me gm7 is basically the same except for the extensions one can install to improve gm7. but nothing can be done in gm7 that cant be done in gm6.

except gm7 can work on Windows Vista. Wink
Back to top Go down
Phantom107
Admin
Phantom107


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

My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitimeThu Feb 07, 2008 12:21 am

Ooooh ofcourse! I can't believe I didn't realise this earlier! Models can hold an unlimited amount of polys, but each primitive can hold a fixed number of polys. (well actually models hold primitives but in theory that doesn't matter really)
I still recommend using a single primitive in the loop
, since that single primitive is WAY faster to draw (and thus more efficient) than a big bunch of primitives. The only problem is to keep the number of polys generated in the loop under the max number a primitive can hold.
Back to top Go down
https://phantom107.actieforum.com
Sponsored content





My model is only half done. Empty
PostSubject: Re: My model is only half done.   My model is only half done. Icon_minitime

Back to top Go down
 
My model is only half done.
Back to top 
Page 1 of 1
 Similar topics
-
» 3d Character Model
» 3d model editor's
» model making
» Splitting up a model in different models
» Model ReQuest: Clone Trooper

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