[osg-users] Changing the loaded osg file with user interaction
maruti borker
slimshadymaruti at gmail.com
Tue Aug 7 09:07:07 PDT 2007
HI everyone
I am a n00b in OSG and i am using OSG 2.0 in linux . I
wam developing a system which will needs an option where the user can change
the loaded model by mouse clicks . The result of one mouse click shud
engrave a point at that point . That is , if i drag on the model and draw a
line then the line shud be engraved on the model .
So what i did was used osgUtil::LIneSegementIntersecto r::Intersection to
find the intersection and then get the points , and then move the points in
a direction negative to the direction of the plane normal . But i dont have
any idea to implement this any help ????
Thanx
-
Maruti Borker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070807/9e80ec37/attachment.htm
More information about the osg-users
mailing list