Hi Mohammed,

On 26 February 2013 04:19, Mohammed Rashad
<[email protected]> wrote:
> Is it possible to have a 2D square looks like a cube?

You can do anything you want with your geometry, but you have to
create what you want, the OSG doesn't provide a means of automatically
converting a square/polygon to a object with sides and end caps like
your photo.   What you are asking for is very specific function and is
has to be implemented in user code.

Once you have you geometry you can animate it using an update callback
that updates the vertices on the geometry, or use a shader to do the
same.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to