[osg-users] Need some suggestion about ball movement in a tunnel drawings

2014-12-16 Thread Jim Feng
Hi, I want to draw a curved tunnel and restrict a ball movement inside the tunnel like the image below: [/img] So, in order to do this, I have to create a tunnel model and load it by using openscenegraph plugins? or I could use some program lines to draw this kind of geometry directly? And

[osg-users] If it is easy to set the transparency of the plane area only inside the cut area

2015-02-03 Thread Jim Feng
Hi, I followed the example and used ClipPlane of the osg::ClipNode to cut the cow model as in figure 1. What I want to do is: only make the plane area which is inside the cut bound of the model to be transparent but the rest plane area remains translucent. As indicated with red curve in

[osg-users] Inquiry about selecting the bars of TranslateAxisDragger enclosed by the box

2015-01-08 Thread Jim Feng
Hi, I tried to use TranslateAxisDragger to translate the box in 3D environment. However, the mouse cursor can only select and drag the part of bar outside the box. However, I would like to enable the selection of the bar part inside the box to allow more convenient dragging. Not sure how to do

Re: [osg-users] Problem with the _yDragger in the TrackballDragger

2015-01-06 Thread Jim Feng
the TrackballManipulator work there?  I have just tried OSG svn/trunk's osgmanipulator and the TrackballManipulator is working fine. Robert. On 6 January 2015 at 18:03, Jim Feng () wrote: Hi, For the two black circles, use the cursor to drag them, the rotation is right

[osg-users] Problem with the _yDragger in the TrackballDragger

2015-01-06 Thread Jim Feng
Hi, For the two black circles, use the cursor to drag them, the rotation is right. But for the green circle, it had to click and attach the cursor movement to it. Moreover, in most of the time, the green circle rotate in a direction different from the cursor movement direction and rotate very