Jump to content
  • Advertisement
Sign in to follow this  
dave

A Concept of the Rasteriser i am writing? Does it seem good to you?

This topic is 5038 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

Hi everyone, i would just like to run something past you. A brief concept i plan to use in my next rasteriser is as so: 1. A rasteriser is an object in itself. 2. It carries an internal list of the vertices to be rendered in batches. 3. Each batch is basically a wrapped vertex buffer. 4. Each batch will also contain a pointer to an effect from an effect list. 5. The effect list contains all the different possible looks for any set of vertices. 6. Each effect is an object that becomes full of the 'effect' when the effects are loaded from a scripted file. 7. The rasteriser will initially just run through the list applying the necessary effect then render the vertices from the wrapped vertex buffer. A couple of questions i would like to ask: 1) Obviously with this design, in theory you could have a zillion wrapped vertex buffers, which is bad. Is there an easy way, other than memcpy()'ing of concatenating two VBs together, so that once the list is sorted, u can reduce the number of VBs used. any help is appreciated, thanks ace

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!