• Advertisement
Sign in to follow this  

geo-mipmapping

This topic is 3592 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Locking index buffer or creating all maps before hand? If I dont create maps initially I have to recreate them each frame by locking an index buffer, is this good?

Share this post


Link to post
Share on other sites
Advertisement
How much data are you talking about if you create them at at once?

Locking an index buffer every frame is fine, so long as it's a dynamic index buffer and you use the correct lock flags.

Share this post


Link to post
Share on other sites
The more I think about it generating before hand seems pointless, because it would make loading times and since everything needs to be dynamic,
I want to mip-map entire planets.

What do you mean by dynamic buffer and 'flags'? I didnt know about this.
The same buffer will get filled every frame, is that it?

Share this post


Link to post
Share on other sites
Quote:
Original post by VprMatrix89
The more I think about it generating before hand seems pointless, because it would make loading times and since everything needs to be dynamic,
I want to mip-map entire planets.

What do you mean by dynamic buffer and 'flags'? I didnt know about this.
The same buffer will get filled every frame, is that it?
Read This

Share this post


Link to post
Share on other sites
Ahh of course, I should have known.
But for some reason when using the dynamic flag the program bugs on launch.
I think it may have something to do with DrawIndexedPrimitives.

For some reason I have been able to render an indexed primitive without even changing the paremeters of vertices to use, or primitives to render, as it is, its set way too high, yet it still works. Im thinking this might have something to do with why dynamic isnt working.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement