"Animations" with Static Geometry?
Posted: Mon Feb 03, 2014 1:06 pm
Heyho,
I searched for "waving grass" and found this:
So, is there a possibility to "animate" Entities in a Static Geometry?
EDIT: I downloaded the Demos, but grass isn“t waving ?!
EDIT2: Here is some code: http://ogre3d.org/forums/viewtopic.php?f=2&t=29987. I hope some OGRE cracks can find a solution
I searched for "waving grass" and found this:
http://www.ogre3d.org/tikiwiki/tiki-ind ... Ogre+DemosGrass Demo
Specialisation of OGRE's framework application to show the use of the StaticGeometry class to create 'baked' instances of many meshes, to create effects like grass efficiently.
This demo draws a series of static billboards (in the configuration of an asterisk (*)) representing grass. These billboards sway gently back and forth in a sinusoidal pattern to simulate a gentle breeze.
A non-static billboarded light source moves through the scene to show off dynamic lighting.
So, is there a possibility to "animate" Entities in a Static Geometry?
EDIT: I downloaded the Demos, but grass isn“t waving ?!
EDIT2: Here is some code: http://ogre3d.org/forums/viewtopic.php?f=2&t=29987. I hope some OGRE cracks can find a solution