| 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: |
| Fast tree rendering | |
|---|---|
| Tweet Topic Started: Feb 25 2009, 08:08 PM (580 Views) | |
| Phantom107 | Feb 25 2009, 08:08 PM Post #1 |
|
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. | |
![]() |
|
| Despellanion | Feb 25 2009, 09:07 PM Post #2 |
|
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.
|
![]() |
|
| Phantom107 | Feb 25 2009, 10:12 PM Post #3 |
|
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. | |
![]() |
|
| Despellanion | Feb 25 2009, 10:21 PM Post #4 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Of course there is, you just need to write a script which replaces models with billboards depending on the distance from the camera. |
![]() |
|
| Gandalf20000 | Feb 28 2009, 09:45 PM Post #5 |
![]()
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. |
![]() |
|
| Phantom107 | Mar 1 2009, 01:00 PM Post #6 |
|
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. | |
![]() |
|
| noone | Mar 1 2009, 08:35 PM Post #7 |
|
Member
![]() ![]() ![]() ![]()
|
I think its more flexible, and you can delete lists when you want. |
![]() |
|
| Gandalf20000 | Mar 4 2009, 12:15 AM Post #8 |
![]()
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. |
![]() |
|
| skarik | Mar 4 2009, 01:46 AM Post #9 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You actually can, but it freezes GM half the time. |
| Blog|EHS | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)




4:40 PM Jul 11