Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Fast tree rendering
Topic Started: Feb 25 2009, 08:08 PM (580 Views)
Phantom107
Member Avatar
Newbie
[ * ]
Hey guys,

I've just joined this forum, and have a couple of questions. I'm looking for the fastest way to render 3d trees.
Any ideas?

Different LoD's for the trees will provide a good speed boost, but I think billboarding will play a very important role.
1) Is is possible to put a U3D billboard in the LoD chain?
2) Is is possible to combine areas of trees into single models, reducing the amount of draw calls?
3) How much does alpha blending affect the performance of the trees?

Thanks!

Phantom107

Edited by Phantom107, Feb 25 2009, 08:08 PM.
You just keep on trying 'till you run out of cake.
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
You would probably find this interesting: http://forum.ultimate3d.org/topic/173042/4/
Rendering many trees won't be slow by the fault of U3D but of Game Maker, because Game Maker is very terrible at handling many objects.
Edited by Despellanion, Feb 25 2009, 09:07 PM.
Offline Profile Quote Post Goto Top
 
Phantom107
Member Avatar
Newbie
[ * ]
Thanks for the reply,

I'm doing that technique already. (Infact, I'm running the models, lights, terrain, etc. from 1 object)
So there is no way to combine models and billboards in a fast way?
You just keep on trying 'till you run out of cake.
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Phantom107
Feb 25 2009, 10:12 PM

So there is no way to combine models and billboards in a fast way?
Of course there is, you just need to write a script which replaces models with billboards depending on the distance from the camera.
Offline Profile Quote Post Goto Top
 
Gandalf20000
Member Avatar
Geek
[ *  *  *  *  *  * ]
If you need to know how to do that, the Tech Demo does this. Also, if I were you, I would make sure that you load them in a list, not an array.
Offline Profile Quote Post Goto Top
 
Phantom107
Member Avatar
Newbie
[ * ]
It's easy to let them replace by billboards, that's not the problem for me. I was just exploring the possibilities here.

Why would you load them into a list instead of an array? What are the benefits there?
You just keep on trying 'till you run out of cake.
Offline Profile Quote Post Goto Top
 
noone
Member
[ *  * ]
I think its more flexible, and you can delete lists when you want.
Offline Profile Quote Post Goto Top
 
Gandalf20000
Member Avatar
Geek
[ *  *  *  *  *  * ]
Lists are also much faster than arrays. Besides, you can free the memory from a list when you're done with it. Such is not the case with an array.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Gandalf20000
Mar 4 2009, 12:15 AM
Such is not the case with an array.
You actually can, but it freezes GM half the time.
Blog|EHS
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply