Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Tree Generator

Author
Message
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 3rd Sep 2005 03:34 Edited at: 4th Sep 2005 04:00
Generates various animated trees with up to 40,000 flexible branches. Enjoy.



Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 3rd Sep 2005 03:55
BTW this is DBPRO... I can tell by the "Global" Commands
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 3rd Sep 2005 05:03 Edited at: 3rd Sep 2005 05:03
Wow. Ace code Ric. i'm impressed. If only i could code aswell as you. Not long now till your back teaching is it.


SSDD
Same Sh** Different Day
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd Sep 2005 06:32
It makes some nice trees. And the background from blue island is a nice touch too. You might want to look into reducing the poly count a tad, and saving the trees for use in games. Then it would be a handy tool aswell.


You are not alone.
Drew Cameron
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 3rd Sep 2005 10:40
Yep: impressive.

Katie Holmes is back!
Torrey
20
Years of Service
User Offline
Joined: 20th Aug 2004
Location: New Jersey
Posted: 3rd Sep 2005 12:02
This is really cool. How many trees can a map/level handle before it starts to make the frame rate choppy?

Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 3rd Sep 2005 16:26
It would definitely need some serious optimising before you could start thinking about a whole forest - if I do get round to making it more usable within a game, then I may incorporate a save routine and give full controll of the variables to the user, but at the moment it's better to think of this as a tech demo.

The branches are produced using what I'm calling 'Onion skin texturing', where you texture multiple concentric spheres with a cross sectional image of the branches. The advantage being that increasing the number of branches has no effect on the poly count because it's all done within the texture, and also lends itself to the bending effect of the branches when the layers are rotated by different amounts. There may be a potential here for creating hair, other kinds of foliage, and possibly fabric, which move realistically.

@BigAdd - yes, please don't remind me!

BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 4th Sep 2005 19:08 Edited at: 4th Sep 2005 19:09
hohohoho!!!! Sorry. Hey i have A levels coming up so... i cant laugh.


SSDD
Same Sh** Different Day
Narf The Mouse
20
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 6th Sep 2005 18:45
Looked good.

Now you just have to make it walkable.

Cheese!

Expert Bug-Finder, Horrible at Identifying Them.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 6th Sep 2005 18:51
Why would I want to make the trees walk?

Narf The Mouse
20
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 10th Sep 2005 01:40
I meant make the camera walkable in the demo - Not the trees.

Although walking trees would be kinda neat.

Cheese!

Expert Bug-Finder, Horrible at Identifying Them.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 11th Sep 2005 01:43
Lol! Don't know how to make walking trees, and I figured that most people would be able to make their own walking code - something along the lines of:



Should do the trick.

Login to post a reply

Server time is: 2024-11-22 14:39:28
Your offset time is: 2024-11-22 14:39:28