Hi Ruqin,
Which version of OSG are you building my example against?
It sounds like you may be having the 'subgraph relative camera problem' I 
hinted at below.
This problem can affect the location and picking of things below the subgraph 
camera, so you won't be able to use the example with an unmodified OSG2.6
I think Robert put in a fix to help with this after OSG 2.6 but I can't 
remember the detail. 
I could probably did out the OSG changes required if necessary, but best to 
avoid patching OSG if possible.
Cheers.
Chris.
  ----- Original Message ----- 
  From: Ruqin Zhang 
  To: Chris Denham ; OpenSceneGraph Users 
  Sent: Friday, February 13, 2009 10:56 PM
  Subject: Re: [osg-users] Dragger rendering issue


  Hi Chris,

  Thanks for the example code. It's really good that I can see the dragger 
rendered on top of the scene. While, seems I cannot move or even juct select 
the dragger.
  Is there any problem with it? Anyone know the problem? Thanks a lot!

  Ruqin


  On Wed, Jan 28, 2009 at 3:46 AM, Chris Denham <[email protected]> wrote:

    Hi Ruqin,
    I have attached an example VC2005 project that I put together whilst 
working on this.
    At some point I'd like to formally submit it as an example to OSG but it 
probably needs a bit more 'polishing' before Robby would be let in ;-).
    I built the example against a modified OSG 2.6 so you may need to build 
against the trunk to get the fix for subgraph relative camara problems.
    But in any case, I hope the source code gives you food for thought.
    Note that if you get my example to work, the translate, rotate and scale 
draggers are activated by pressing 'w' 'e' 'r' respectively, and view rotation 
is enabled by holding down alt key. My objective in the project was to create 
an interface similar to my favourite 3D modelling pakage... Maya.
    Chris.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to