Outerra forum

Outerra Engine => Technology => Topic started by: Jagerbomber on March 08, 2012, 03:08:29 pm

Title: SpeedTree
Post by: Jagerbomber on March 08, 2012, 03:08:29 pm
http://kotaku.com/5891620/how-to-make-terrific-video-game-tree-a-video-demonstration (http://kotaku.com/5891620/how-to-make-terrific-video-game-tree-a-video-demonstration)

www.speedtree.com (http://www.speedtree.com)
Title: Re: SpeedTree
Post by: ZeosPantera on March 08, 2012, 03:11:43 pm
End of the video .. If you need trees, you need speedtree.

Get speed tree.. (*$#()Speedtree.. It can suck my root system!

Procedural trees ftw. And better animations too.
Title: Re: SpeedTree
Post by: angrypig on March 08, 2012, 03:53:28 pm
Hmmm, if you need forest, you need Outerra. :)

(http://outerra.com/shots/trees/screen_1316724868.jpg)
(http://outerra.com/shots/trees/screen_1316975498.jpg)
(http://outerra.com/shots/trees/screen_1316978258.jpg)
Title: Re: SpeedTree
Post by: ZeosPantera on March 08, 2012, 03:57:54 pm
Not impressive enough.. MORE TREES!

Not sure what is missing in those shots.. Maybe some distinction between individual leaves. Looks like a Bob Ross painting.

Also have to ask. Why did you choose a completely different tree than the millions of pine trees you already have?
Title: Re: SpeedTree
Post by: angrypig on March 08, 2012, 04:16:40 pm
Yes it is WIP and what is missing there is ambient occlusion. The AO is not so important inside the forest but if you look at the forest from the top the lighting is too uniform.

I have chose the maple tree because in my opinion it is harder to render this kind of tree in such numbers. And personaly i wanted some change, because spruce trees are in Outerra for 3 years without any change.
Title: Re: SpeedTree
Post by: ZeosPantera on March 08, 2012, 04:31:11 pm
Redwood.
Title: Re: SpeedTree
Post by: Luishi5k0 on March 08, 2012, 04:38:06 pm
Are you talking about SSAO in real time in Outerra?
Also, I'm not sure how your shadow system works exactly, and if it is meant for handling a lot of shadows, but do you plan on having tree shadows eventually? I think that would look fantastic! Here is a screenshot of Crysis with dynamic tree shadows:
(http://i.cubeupload.com/2MYj1W.png)

Or I suppose you could do non-dynamic ones like Oblivion did for their tree shadows. Still looked a whole lot better than none:

(http://i.cubeupload.com/HMNfDT.png)


EDIT: Though after thinking about it, even if you JUST went with SSAO it would still look pretty darn good since you are just using ambient lighting in the forests right now.

Although SSAO is hard on graphics cards... depending on which system of it you use. I'd still prefer direct shadows.

EDIT2: And because I just KNOW you all want to read more on SSAO and HBAO, I will give you this: http://www.nvidia.com/object/siggraph-2008-HBAO.html (http://www.nvidia.com/object/siggraph-2008-HBAO.html)
Title: Re: SpeedTree
Post by: angrypig on March 08, 2012, 04:48:27 pm
Redwood.

Redwood is not much different from other trees it is just bigger. :)
Title: Re: SpeedTree
Post by: angrypig on March 08, 2012, 05:11:07 pm
Are you talking about SSAO in real time in Outerra?

The SSAO is not the best ambient occlusion method for trees and as you pointed out it is expensive but we will probably use it later in some form because it is good for other kind of objects.

The tree AO will be combination of pre-computed values and clever approximation. In the first picture I posted here there is AO on branches but not on leaves.
Title: Re: SpeedTree
Post by: Luishi5k0 on March 08, 2012, 05:19:48 pm
Pre-computed sounds great. I can't wait to see some of those 3d trees in action. Would you say that getting 3d trees in is a high priority and we should expect it soon, or rather something that we'll see more of in the future?
Title: Re: SpeedTree
Post by: angrypig on March 08, 2012, 05:40:54 pm
The first version of 3D trees is almost ready as you can see on screenshots. But we want to add support for more tree types and do a few performance optimization before release.
Title: Re: SpeedTree
Post by: ZeosPantera on March 08, 2012, 08:45:25 pm
Will the trees be more dense then the current billboards?
Title: Re: SpeedTree
Post by: Jagerbomber on March 08, 2012, 10:40:40 pm
I'd say the new trees look decent from the top, but the trunks are way too skinny and boring looking.
Title: Re: SpeedTree
Post by: ZeosPantera on March 09, 2012, 12:31:48 am
We want more fatties! FAT TREES  FAT TREES  !!
Title: Re: SpeedTree
Post by: angrypig on March 09, 2012, 04:45:05 am
I'd say the new trees look decent from the top, but the trunks are way too skinny and boring looking.

Yes, the reality is sometimes boring.

(http://www.nhdfl.org/library/images/photos/DSCN1206.JPG)
Title: Re: SpeedTree
Post by: ZeosPantera on March 09, 2012, 04:57:40 am
Fine.. Use your "logic" and "evidence" to make your point.

(http://i.imgur.com/QghKc.jpg)

More lower baby branches and tighter more random groupings.
Title: Re: SpeedTree
Post by: angrypig on March 09, 2012, 05:14:32 am
Will the trees be more dense then the current billboards?

We plan to modify the density but the tree count will remain the same. It will make trees clumping together in some places. In our current implementation the average distance between trees is 9 meters. But there are missing layers like grass, bushes and small trees which make the real forest much denser., as it can be seen on the last images.
Title: Re: SpeedTree
Post by: Jagerbomber on March 09, 2012, 07:56:11 am
Oh yeah, I forgot!  Looks like we're gonna have to have ferns!  FERNS EVERYWHERE!  Now that I remembered what outside looks like, you can't not add them.
Title: Re: SpeedTree
Post by: Luishi5k0 on March 09, 2012, 11:34:07 am
 My graphics cards is not ready for that, I can imagine all of those added things are going to be taxing. I'm saving up to upgrade though.
Title: Re: SpeedTree
Post by: ZeosPantera on March 10, 2012, 02:26:23 am
Once Fern Occlusion is implemented everything will be fine.

FERN OCCLUSION!
Title: Re: SpeedTree
Post by: rubbish on March 10, 2012, 08:18:06 pm
What are the implications for implementing colliders for that many trees??  Or do you have a clever way round that too? :)
Title: Re: SpeedTree
Post by: whyman on March 14, 2012, 06:51:45 pm
So if i understand things right we will soon get 3d trees? :D Is that also true for things like leaves or will they be sprites on a 3d model? (i understand that you wont model every leave but i think you understand what im asking) Its kinda hard to tell from the screens.
Title: Re: SpeedTree
Post by: MiB on March 14, 2012, 07:54:16 pm
So if i understand things right we will soon get 3d trees? :D Is that also true for things like leaves or will they be sprites on a 3d model? (i understand that you wont model every leave but i think you understand what im asking) Its kinda hard to tell from the screens.

3D trees have been promised for the alpha ... if you look for that at the forums ... you can find few pictures from angrypig showing them in action ... e.g. : http://www.outerra.com/forum/index.php?topic=348.0 (http://www.outerra.com/forum/index.php?topic=348.0) ... and there's more ... if you look for ... ;-)
Title: Re: SpeedTree
Post by: DuxDucisHodiernus on March 15, 2012, 01:54:51 pm
My graphics cards is not ready for that, I can imagine all of those added things are going to be taxing. I'm saving up to upgrade though.

How about your body... is it ready?

...mine is...
Title: Re: SpeedTree
Post by: Jagerbomber on March 15, 2012, 02:09:14 pm
 ::)
Title: Re: SpeedTree
Post by: Luishi5k0 on March 15, 2012, 04:16:10 pm
My graphics cards is not ready for that, I can imagine all of those added things are going to be taxing. I'm saving up to upgrade though.

How about your body... is it ready?

...mine is...

Why yes, yes it is. I just sold one of my graphics card's bodies to a friend that wanted to "try her out". And he did. Now I have to sell the other twin, and I will go to the local brothel and look for a new, more faithful, and more muscular GPU.
Title: Re: SpeedTree
Post by: C. Shawn Smith on March 15, 2012, 04:19:54 pm
Now I have to sell the other twin, and I will go to the local brothel and look for a new, more faithful, and more muscular GPU.

Can't.  Unread.