DrawPrimitives max count newbie question

gooky

New member
Joined
Feb 20, 2004
Messages
3
I have made a small application using managed directX. The purpose of this is to show 3d files. The biggest files contains like 200000 faces, which is not able to be processed using DrawPrimitives. The maximum is Caps.MaxPrimitiveCount which on my GC is 65535.

I tried to do multiple DrawPrimitives, but when drawing a new round, the old ones seems to dissapear. To me it looks like that DrawPrimitives draws to a buffer, which in the end is drawn to GC.

How can I get around this problem?

Thanks in advance,
 
hmm... being a little stupid here (but the best solution i could think of first hand), you could draw to various surfaces and then compose it.
as in each block of polys would end up being atexture that you would compose afterwards... this would force you to render back->front tho

maybe im just stupid :P
 
No, it is because I am a total newbie. I am going to look into your suggestion, and return after the weekend.
 
Back
Top