Hi Tirumalesh,

The best you can do is do the cutting visually down on the GPU using
osg::ClipPlane/osg::ClipNode, see the osgclip example.

The OSG itself its a geometry toolkit, it just has a few basic
geometry operations, but its primarily a scene graph for rendering.
I'd recommend looking for other toolkits for geometry work.

Robert.

On 10/19/06, TIRUMALESH CHINTAMANI <[EMAIL PROTECTED]> wrote:
Hi all,

 I am working on to generate some Geometry shapes by cutting a Object for
 example a cube to get rectangle,triangle etc..

And there is no way i can construct geometry shapes using osg and also told
by Mr.Robert

Message: 23
Date: Tue, 17 Oct 2006 09:53:36 +0100
From: "Robert Osfield" <[EMAIL PROTECTED] >
Subject: Re: [osg-users] regarding generating geometry shapes
 To: "osg users" <[email protected] >
 Message-ID:
       <
[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Tirumalesh,

It sounds like  you after constructive solid geometry operations.  The
 OSG doesn't have these, with its focus being rendering rather than
 modelling.

Robert


But is it possible, when i use a plane to cut...i mean not physically
cutting..just when it passes thru
a solid object..i can grab the intersection points of a plane with
solid(Ex.Cube) and then using these intersection points,
draw a subgraph object on to the scene?

Plese pass on some suggestions/ideas regarding this problem.
Thank you

regards
Tirumalesh Chintamani



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to