[2.1] Support for waving Grass

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Lax
Orc Shaman
Posts: 710
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 75

[2.1] Support for waving Grass

Post by Lax »

Hi,

has somebody experimented on waving grass with Ogre2.1?
There is an example how to do it with Ogre 1.9, but since then a lot has changed.

Best Regards
Lax

http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62

xrgo
OGRE Expert User
OGRE Expert User
Posts: 1148
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 169

Re: [2.1] Support for waving Grass

Post by xrgo »

I have wind implemented, where I paint vertex color influence and a 3d noise texture makes the waving effect... But If I fill the scene with grass models performance is not so good, I think the ideal would be some kind of shader generated grass, maybe using a code like terra
Lax
Orc Shaman
Posts: 710
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 75

Re: [2.1] Support for waving Grass

Post by Lax »

Wind effects, sounds great :)

Oh ok, I thought with Ogre's new static flag for Items, SceneNodes, Entities, performance should be no issue.
Implementation like terra sound complicated.

http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62