Drawing trees

Started by
1 comment, last by Captain P 17 years, 8 months ago
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.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky
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 :-)
____________________________________Spazuh- Because I've had too much coffee
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?
Create-ivity - a game development blog Mouseover for more information.

This topic is closed to new replies.

Advertisement