[osg-users] TrackBall Rotation

2009-03-31 Thread Rajesh.R
Hi,


How does OSG uses the  Rotation matrix computed by TrackBall functionality?.

Whether setviewbyMatrix functionality can  use  rotation matrix for viewing the 
rotation.


Thank you.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9480#9480





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] TrackBall Rotation

2009-03-31 Thread Rajesh.R

robertosfield wrote:
 The osgViewer::Viewer updateTraversal() copies the trackball matrix across to 
 the viewers camera on each frame.  Go look at the code.  It doesn't use the 
 Rotation matrix as there is no rotation matrix in the TrackballManipulator, 
 just a complete 4x4 matrix.
 
 Robert.
 
  --
 Post generated by Mail2Forum



Thanks Robert.  My problem is that I have to work only on OSG 1.1 version. So  
the query  posted was related to  1.1 verrsion.
Hence I could not find  UpdateTraversal call in 1.1.   

Can anyone help me  figuring out the way Viewer updates the input from 
trackball rotation.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9484#9484





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgCameragroup sample

2009-03-26 Thread Rajesh.R
Hi,


To run osgCameraGroup, a camera config file is required. Where can I get this 
config file. 

Thank you.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9292#9292





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Mouse events are default in OpenScenegraph

2009-03-15 Thread Rajesh.R
I have downloaded, the  latest version. Before getting into the new version. 
One final question,  Does  this  latest version of osg, has built-in arc-ball 
rotation support? 

If not  Should I implement  it of my own?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8502#8502





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Mouse events are default in OpenScenegraph

2009-03-14 Thread Rajesh.R
Sorry, if my language was hard to understand.  

I Just want to know two basic things in OSG.

( 1 ) When we define use osg::ref_ptrMyKeyboardMouseCallback kbmcb = new 
MyKeyboardMouseCallback;  Does OSG invokes Mouse Action caller ( just like 
glutMouseFunc and glutMouseMotion does).
or Do we need to write our own  handler? 

( 2 ) Do we need to implement ArcBall rotation explicitly for an OSG App Or  
Does it happen, When you invoke  use osg::ref_ptrMyKeyboardMouseCallback 
kbmcb = new MyKeyboardMouseCallback.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8474#8474





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] ArcBall Rotation

2009-03-12 Thread Rajesh.R
Where can I find ArcBall rotation implementation. I tried to find in Web. But 
could not succed. Even samples in SDK do not have any arc ball sample.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8305#8305





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Mesh generation using Vertex Buffer and Index Buffer in OpenSceneGraph

2009-03-12 Thread Rajesh.R
Assume that I have a Vertex Buffer and Index Buffer, Using OpenSceneGraph, Can 
I render a mesh, Similar to the way, we use 
glVertexBuffer and glIndexBuffer and glDrawElements in OpenGL,  to render a  
mesh.  

or Using glVertex3fv in the following way


Code:


glBegin(GL_TRIANGLES);
for (i = 0; i  20; i++) {
/* color information here */
glVertex3fv(vdata[tindices[i][0]][0]);
glVertex3fv(vdata[tindices[i][1]][0]);
glVertex3fv(vdata[tindices[i][2]][0]);
}
glEnd();




Are there any commands, similar to glVertexBuffer,  glIndexBuffer 
glDrawElements and  glVertex3fv.

I tried with osgDeluanay, but not getting the correct output. 

Please consider this a newbie question.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8357#8357





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Mouse events are default in OpenScenegraph

2009-03-12 Thread Rajesh.R
Does openscenegraph handles mouse motion events by default? Even when I am 
commenting  the mouse handlers in the OpenSceneGraph samples, scene is still 
accepting the mouse events.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8373#8373





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Wrong output with osgdelaunay sample

2009-02-01 Thread Rajesh.R
So you mean to say osg cannot triangulate closed meshes.
Is this the  limitation of  osgdelaunay or deluanay algorithm itself?


Are there any alternative way to triangulate closed meshes using osg?

--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=5611#5611





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Wrong output with osgdelaunay sample

2009-01-28 Thread Rajesh.R
Anybody out there to help me.

--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=5381#5381





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org