• Advertisement
Sign in to follow this  

Drawing trees

This topic is 4228 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'm making a RTS game were there are a lot of trees, currently I'm drawing them one by one with billboarded textures, is there a faster way? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I always thought that billboarding was one of the quicker ways. What kind of rts, 2D or 3D? (I'm assuming 3D)
How does your game recognize the trees, as a seperate class or just regular textured plains? And how exactly are you rendering them, and how many at a time?
(Sorry for answering a question with several, but I just made coffee :-)

Share this post


Link to post
Share on other sites
Plain billboarding is one of the fastest ways. I don't know if you do much processing on it, like lighting and such, nor do I know the design of your renderer, but I think you'll have to look at other ways to optimize performance. Which may include using less trees.
Have you tried profiling your code to see what exactly is costing most time?

Share this post


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

  • Advertisement