Jump to content
  • Advertisement
Sign in to follow this  
thedodgeruk

matrix instancing , can it be done ?

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

i did some testing and found some horrible stuff and loss of fps in my engine.
did a text of 1000 model cubes with a texture on , all the same just differnt matrix
so i only send texture details and camera , once per render cycle , but still have to send the right matrix over, this gets me 40 fps

now if i only send the one it once like every thing else , i get 52 fps

thats not a practical soloution,

can a matrix be sent over via instancing , so i only use one draw call but send over 1000 matrix's in a call, ie instanceing

or can you not send over matrixs. if you can can you point me in the right direction please

Share this post


Link to post
Share on other sites
Advertisement
You should be able to use instancing, but without knowing what graphics API you're using, no one can give you specifics. Also, if your cubes are all sized and oriented the same way, you only need to send a position per instance, which would save you some bandwidth.

Share this post


Link to post
Share on other sites
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!