Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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,

Posted

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 i'm just stupid :P

Menge

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...