Hello Andy,

Andy Bartz wrote:
> is there an easier way to create a sphere at a certain given point, or 
> do I have to go the long way as described in the tutorials and create it 
> at the center and then transform it via Matrices to the wanted position?

the functions to create simple geometric objects (makeSphere, makeBox, 
...) all build the object at the origin. You can either write a version 
that constructs the geometry at a different position or (what I'd 
recommned) write a little helper function that creates a little piece of 
scene graph, i.e. the geometry with a Tranform above it.

        Cheers,
                Carsten

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to