Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Pages: 1 [2] 3 4

Author Topic: Tree generator preview  (Read 84090 times)

razgriz 53992

  • Member
  • **
  • Posts: 57
Tree generator preview
« Reply #15 on: January 14, 2011, 02:31:09 pm »

Wow. That detail is amazing- if these are successfully integrated in a good LOD it will be stunning.

This project gets better and better. Will it be easy to apply this concept to all tree types, e.g the standard 2D trees being used now and more?
Logged

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Tree generator preview
« Reply #16 on: January 14, 2011, 04:14:54 pm »

Quote from: Edding3000
How about movement of wind?
And what about other ground features? bushes grass and rocks? Also experimenting with this?

The wind will come later it is not priority now, this is just a generator tool build directly to engine. This generator can be used for bushes too, we will show some examples later when we finish tree rendering pipeline. The grass rendering needs a different approach and rocks is question for cameni. :)
Logged

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Tree generator preview
« Reply #17 on: January 14, 2011, 04:43:14 pm »

Quote from: _michal
Cool! Since you've modeled each leaf separately, you can do your fractal magic and make autumn-colors version? Or slightly alter leaf colors like those pine trees? Or maybe even simulate shadowing and darken leaves inside?

We plan to develop procedural material system for leaves and bark that will be able to add irregularities and other effects like moss and etc. and a slight color toning to make leaves more unique.

Current implementation doesn't have shadows because I want to use lower LODs for shadow casting. Ambient occlusion is missing too there is only a darkening on branches that depends on density. Ambient occlusion is very important  for visual quality but currently there are more important parts that have to be finished first. I hope I will find some time for it soon.
Logged

Michal

  • Jr. Member
  • *
  • Posts: 35
    • http://blog.blockhouse-c.com
Tree generator preview
« Reply #18 on: January 14, 2011, 04:56:03 pm »

Thanks for answer. Looking forward to next updates. It's going to be really impressive system.

OGREMAN

  • Member
  • **
  • Posts: 62
Tree generator preview
« Reply #19 on: January 14, 2011, 05:06:51 pm »

Fantastic... that is absolutely Brilliant AngryPig love it.... I know its not a finished version yet but even so its a great structure, classic deciduous tree model .... I suppose that the only non eye candy element comes from the absence of collars where the lower (thick) branches join, its these collars that blend the contours of one branch into another, just great tree form though .... I think that this model (5 branching points) would be capable of accurately replicating the characteristics of a wide range of tree species if you could easily selectively alter some of the parameters.
For example.... the model in the screenshots is a dead ringer for the ACER genus, but if you could have the angle of branching decreased to 10-30deg from the vertical and add approx 40-50% to branch length then (with the correct leaf shape) you have a "BETULA genus" or silver birch which is very common and would be perfect to compliment the lower slopes of the existing Outerra conifers.
Keep it going, sooo coool.
Logged
`Twas brillig, and the slithy toves  Did gyre and gimble in the wabe:All mimsy were the borogoves,
  And the mome raths outgrabe.
\"Beware the Jabberwock, my son!  The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun;  The frumious Bandersnatch!\"

Matt6767

  • Full Member
  • ***
  • Posts: 120
Tree generator preview
« Reply #20 on: January 14, 2011, 05:52:42 pm »

Quote from: angrypig
Quote from: Edding3000
How about movement of wind?
And what about other ground features? bushes grass and rocks? Also experimenting with this?

The wind will come later it is not priority now, this is just a generator tool build directly to engine. This generator can be used for bushes too, we will show some examples later when we finish tree rendering pipeline. The grass rendering needs a different approach and rocks is question for cameni. :)
I look forward to seeing what the grass will look like.
Logged

Jagerbomber

  • Hero Member
  • *****
  • Posts: 1564
Tree generator preview
« Reply #21 on: January 14, 2011, 06:43:32 pm »

My computer is scared of grass...
Logged
"Perhaps this speaks to some larger trend within society today...  A prevailing desire on the part of indie developers to recreate the entire world into one where you can charge more than $15 for your game design degree coursework." - Yahtzee ;) :P

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Tree generator preview
« Reply #22 on: January 14, 2011, 10:23:49 pm »

Quote from: OGREMAN
Fantastic... that is absolutely Brilliant AngryPig love it.... I know its not a finished version yet but even so its a great structure, classic deciduous tree model .... I suppose that the only non eye candy element comes from the absence of collars where the lower (thick) branches join, its these collars that blend the contours of one branch into another, just great tree form though .... I think that this model (5 branching points) would be capable of accurately replicating the characteristics of a wide range of tree species if you could easily selectively alter some of the parameters.
For example.... the model in the screenshots is a dead ringer for the ACER genus, but if you could have the angle of branching decreased to 10-30deg from the vertical and add approx 40-50% to branch length then (with the correct leaf shape) you have a "BETULA genus" or silver birch which is very common and would be perfect to compliment the lower slopes of the existing Outerra conifers.
Keep it going, sooo coool.

I know someone that must get excited come Arbor Day!
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

Vicious713

  • Jr. Member
  • *
  • Posts: 29
Tree generator preview
« Reply #23 on: January 19, 2011, 04:38:30 am »

220K faces? Isn't that more polygons than Nathan Drake? *googles*

... ack, Nathan, one of the most detailed characters in games atm, is boasting only 37K polies.
 Lightning from FF13 is just about 30K.. Gears of wars characters are int he 20's..
Meanwhile, i think GT5 boasts 200K polies per car, and in Forza3, some cars hit 1 Million polies when in photomode, so i guess if systems from 2005 can handle that, then this tree shouldn't be a problem. But i'd like to mention that in GT5 you can have up to 16 cars on a track, and on Forza3 you can only have 8.

I guess i'm saying these trees are incredibly complex, i'm sure the engine can render them with the awesomeness that is Outerra's LOD, but how will something so abstract look from a distance?

Quote from: angrypig
We plan to develop procedural material system for leaves and bark that will be able to add irregularities and other effects like moss and etc. and a slight color toning to make leaves more unique.

Does this mean we can get multicolored trees? =D
Logged
3d Modeler, Sketch Artist and Level Designer

RaikoRaufoss

  • Blood may move the wheels of history, but only our cunning keeps the wheels oiled.
  • Sr. Member
  • ****
  • Posts: 374
    • http://www.sabaton.net/
Tree generator preview
« Reply #24 on: January 19, 2011, 10:55:00 am »

Yes, please give us multicolored trees!  They'll give us a fresh splash of color. :P
Logged
Far from the fame
Far away from the fame
But we still remember your name
Karel JanouĊĦek
We mourn the day that you died
So be our guide
CZECHOSLOVAKIA'S PRIDE!!!!!!

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Tree generator preview
« Reply #25 on: January 19, 2011, 02:16:23 pm »

the trees in OT are set currently to vary slightly in both color and size. Its just using one model.
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

necro

  • Sr. Member
  • ****
  • Posts: 451
    • google+ Blog
Tree generator preview
« Reply #26 on: January 20, 2011, 02:14:34 am »

Mhh is it right that i cannot see any specularity on the leafs?

Unfortunately the branches are too linear, because of its procedural nature. But i know that there is no other chance for that without using 2*pow(10,10) unique treemodels, or increasing the level of iteration  ;)
Will you calculate each tree on the gpu? (the rendering of course, but i meant the calculationpart of each branch). I would guess that you are using recursive algorithms for that - i would. But as i know GPU-shader doesnt support recursive algorithms. So please tell me something about the techniques which you used.
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Tree generator preview
« Reply #27 on: January 20, 2011, 02:36:46 am »

Angrypig wrote that the shaders are just simple ones at the moment, so no specular.
The linearity of the branches comes from rendering simplification, it's not a shortcoming of procedural system. Slightly curved branches would require more polygons.

The calculation algorithm doesn't have to be recursive, in fact recursive algorithms wouldn't be optimal even if they were possible on GPU. You could run the algorithm on separate branch levels, so that the currently computed level becomes the source of data for the next one.

Not that we are computing the tree model on the GPU :)
That would be too much hassle for practically no gain. Only the resulting tree data are uploaded to GPU to be rendered.
Logged

necro

  • Sr. Member
  • ****
  • Posts: 451
    • google+ Blog
Tree generator preview
« Reply #28 on: January 20, 2011, 02:56:58 am »

Thanks for the explanation.
I meant with shortcoming of procedural system, that a deeper iteration-level would result in more polygons - sorry for my bad expressions.


Btw. out of topic: It would be great if you would document your shader-work more. I'm very interested in this topic. And yeah i know - this would be very time-impressive so its just a please.
Logged

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Tree generator preview
« Reply #29 on: January 31, 2011, 11:37:37 am »

LOD testing on branches...

-there is 400 trees in view
-24 automatically generated LODs per tree
-LOD0 has 15000 branches and LOD23 has 100 branches.

Logged
Pages: 1 [2] 3 4