Re: [osg-users] Custom mouse hanlder interferes with TrackballManipulator

2013-03-18 Thread Daniel Peraza
Here is it: http://forum.openscenegraph.org/viewtopic.php?t=11874 -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53149#53149 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Custom mouse hanlder interferes with TrackballManipulator

2013-03-14 Thread Daniel Peraza
I'd really appreciate somehelp on this because I'm working on my degree thesis and this is the last thing I need to solve. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53113#53113 ___ osg-users

Re: [osg-users] Custom mouse hanlder interferes with TrackballManipulator

2013-03-14 Thread Daniel Peraza
I described the problem in a previous post under the same thread, maybe you are reading this through the email list system, please just locate the thread at the forums. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53115#53115

[osg-users] Custom mouse hanlder interferes with TrackballManipulator

2013-03-03 Thread Daniel Peraza
Hi, I'm trying to display a context menu on mouse's right button click. At the same time, I have a TrackballManipulator attached to my main camera. When I click the right button, the mouse keep triggering DRAG events, even when no button is pressed, thus scaling the scene to perform zooming. I

[osg-users] Custom Serializers

2013-03-03 Thread Daniel Peraza
Hi, please provide more specific directions on how to build custom serializers. I have created a custom node class and its serializer, but I'm still wondering how should I debug it?, how do I know osgDB is loading my serializer right? Thank you! Cheers, Daniel -- Read this

Re: [osg-users] osgManipulator::TrackballDragger geometry of size of bounding sphere

2013-02-15 Thread Daniel Peraza
Thanks for answering Robert. I understand your position but I have already taken a look to the source code. The problem is that I very new to OSG OpenGL programming, so it is difficult to me to understand it. Nevertheless, I can see on line 127 of TrackballDragger.cpp, this line of code:

[osg-users] osgManipulator::TrackballDragger geometry of size of bounding sphere

2013-02-13 Thread Daniel Peraza
Hi, I have realized the osgManipulator::TrackballDragger source code creates a sphere of radius 1.0. My question is if there's any way to make the dragger's geometry scales up to the bounding sphere of the model being dragged, since to my point of view, there is no such way of doing this with

[osg-users] Implementing a custom dragger

2013-02-10 Thread Daniel Peraza
Hi, I need to implement a Dragger very similar to TabBoxTrackballDragger, but with the following characteristics: * It must be able to toggle its geometries, i.e. displaying the TabBoxDragger's geometry, the TrackballDragger's geometry, both geometries at the same time, or no geometries at

Re: [osg-users] Fitting my world into the viewport

2013-01-24 Thread Daniel Peraza
Hi, thank you for your reply. I solved the problem by computing the world's bounding sphere and then computing the minimum distance from the eye to the near clipping plane by using a formula I found in OpenGL forums: Code: boundingSphere.radius() / sin( osg::DegreesToRadians( FIELD_OF_VIEW *

Re: [osg-users] Fitting my world into the viewport

2012-12-24 Thread Daniel Peraza
I'm not using any custom Qt manipulator, I'm using OSG ones, i.e. osgGA::TrackballManipulator. I'm using Qt only for my application GUI, and my code is based on the OSG Cookbok recipe, where I define an osgWidget class and pass a camera pointer. Besides that, my intention is not using the

[osg-users] Fitting my world into the viewport

2012-12-23 Thread Daniel Peraza
Hi, I'm very new to OSG and OpenGL programming in general, but right now I'm working on my thesis and my application requires to load several models on the same scene. Once every model is done loading, I must adjust the viewer's settings so that an user is able to see the entire scene. I know

[osg-users] Boundary Representations

2011-07-02 Thread Daniel Peraza
Hi, I'd like to know if OSG has any class for handling Boundary Representations before writing one by myself. I'm working with orthogonal pseudo polyhedra. ... Thank you! Cheers, Daniel -- Read this topic online here:

Re: [osg-users] How to get the listof supported file formats

2011-06-30 Thread Daniel Peraza
No, sorry. Quick Start Guide is great, but it was too dense for me given that I'm a newbie looking for a way to make progress quickly. So I preferred to look at the new OSG 3.0 book and the doxygen docs. (The doxygen docs has much classes/methods documentation missing). Anyway, thanks a lot

Re: [osg-users] How to get the listof supported file formats

2011-06-29 Thread Daniel Peraza
I thought that ReaderWriters were registered at startup. If you had not told me, I'd never noticed because documentation about it's very reduced. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41053#41053

Re: [osg-users] How to get the listof supported file formats

2011-06-29 Thread Daniel Peraza
Please give me one last hint. I have taken a look to to osgconv.cpp as you told me and I found this: Code: if (arguments.read(--formats) { osgDB::FileNameList plugins = osgDB::listAllAvailablePlugins(); for(osgDB::FileNameList::iterator itr = plugins.begin();

[osg-users] How to get the listof supported file formats

2011-06-28 Thread Daniel Peraza
Hi, I'm using OSG Qt to build a visualizer for my thesis. I'm completely new to OSG and almost as new to Computer Graphics Programming too, so please don't mad on me and be patient ;-) I need to know how to get the list of supported file formats in order to use QFileDialog with the proper