[osg-users] moving a 3d object with the mouse?

2007-03-02 Thread elekis
hi all, I ty to move a object (x, y , z) with my mouse (x, y) and I don't know how to do that, the more simple is find the plane witch pass by the xyz point and parallel with the screen and after, move the object with the mousse on this plane? but how to get the screen plane?? thanks. a++

[osg-users] simulate f touch in osgProducer

2007-02-28 Thread elekis
hi all, I try to simulate the f touch in osgProducer. (what I mean is toogling in windows/fullscreen mode) but without press the f. like the key space , I call home(), what is the function to toogleling? thanks. a++ ___ osg-users mailing list

[osg-users] OSGViewer and computeIntersections

2007-02-27 Thread elekis
hi all, always trying to pass to OSGViewer, I try to use computeIntersections (as with osg::Producer) in Producer I made that osgUtil::IntersectVisitor::HitList hlist; if ( CGeneral::instance().viewer.computeIntersections(ea.getX(), ea.getY(), hlist))

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread elekis
(); } /*EOF*/ On 2/27/07, Robert Osfield [EMAIL PROTECTED] wrote: HI Elekis, The difference is simply in the data structure used to store the intersection hits. The osgViewer is based on the new IntersectionVisitor rather than the old IntersectVistor. For the new viewer you'll

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread elekis
osgProducer (exacly like that I used too) is it possible do get intersections with osgSimpleViewer?? there certainly something wrong with me but I don't know what thanks for all On 2/27/07, Robert Osfield [EMAIL PROTECTED] wrote: Hi Elekis, class SimpleViewerQT : public osgViewer::Viewer

Re: [osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-26 Thread elekis
../osgconv.cpp pipeto .depend/osgconv.cpp make[3]: quittant le répertoire « /home/elekis/SVN_OSG/trunk/applications/osgconv/Linux32.Opt » make[3]: entrant dans le répertoire « /home/elekis/SVN_OSG/trunk/applications/osgconv/Linux32.Opt » g++ -O2 -W -Wall -fPIC -pipe -I../../../include -I/usr/X11R6

Re: [osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-26 Thread elekis
that is there ant other package I have to remove . (excepting reinstalling all my system)??? thanks a lot for all. make[2]: entrant dans le répertoire « /home/elekis/SVN_OSG/OSG/src/osgProducer » make[3]: entrant dans le répertoire « /home/elekis/SVN_OSG/OSG/src/osgProducer/Linux32.Opt » g++ -O2 -W -Wall -fPIC

Re: [osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-26 Thread elekis
] wrote: On 2/26/07, Alberto Luaces [EMAIL PROTECTED] wrote: El Lunes, 26 de Febrero de 2007 15:28, elekis escribió: of caurse osgProducer going to desepeart in few time(it's the main goal of that installation) but now I try make work out my work. The SVN version of OSG doesn't require

Re: [osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-26 Thread elekis
On 2/26/07, Robert Osfield [EMAIL PROTECTED] wrote: On 2/26/07, elekis [EMAIL PROTECTED] wrote: everything work perfecly. thanks all for your help. for osgProducer. the fact is in a first time I used osgProducer cause he is in tutorial http://www.nps.navy.mil/cs/sullivan/osgtutorials/ (I

[osg-users] helping compiling QT4 example

2007-02-25 Thread elekis
hi all I try to compil the QT4 example like here http://openscenegraph.org/viewcvs/*checkout*/examples/osgsimpleviewerQT4/osgsimpleviewerQT4.cpp with g++ osgsimpleviewerQT4.cpp -losgViewer -losgText -losgGA -losgDB -losgUtil -losg -lQtOpenGL -lQtGui -lQtCore but the first error line are [EMAIL

Re: [osg-users] helping compiling QT4 example

2007-02-25 Thread elekis
../Viewer.cpp pipeto .depend/Viewer.cpp g++ -M -I../../../include ../GraphicsWindowX11.cpp pipeto .depend/GraphicsWindowX11.cpp make[3]: quittant le répertoire « /home/elekis/Desktop/OpenSceneGraph- 1.2.0-200702251107/src/osgViewer/Linux32.Opt » make[3]: entrant dans le répertoire « /home/elekis/Desktop

Re: [osg-users] helping compiling QT4 example

2007-02-25 Thread elekis
ok I understand he is in application directory is it possible to install only osg viewer?? thanks a lot for all On 2/25/07, elekis [EMAIL PROTECTED] wrote: thanks, but, the fact is I haven't osgViewer [EMAIL PROTECTED]:~$ ls /usr/include/osg osg/ osgFX

[osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-25 Thread elekis
/libOpenThreads.so. I try to compil osg and after 23 minuts , I have that make[2]: entrant dans le répertoire « /home/elekis/OSGSVN/trunk/applications/osgconv » make[3]: entrant dans le répertoire « /home/elekis/OSGSVN/trunk/applications/osgconv/Linux32.Opt » g++ -M -I../../../include -I/usr/X11R6

[osg-users] Re: pysosg trouble to install

2007-02-23 Thread elekis
/pointer_holder.hpp:130: error: no matching function for call to 'get_pointer(held_ptrProducer::Camera)' scons: *** [Producer/Camera.os] Error 1 scons: building terminated because of errors. [EMAIL PROTECTED]:~/Desktop/pyosg_devel$ any idea thanks a++ On 2/22/07, elekis [EMAIL PROTECTED

[osg-users] pysosg trouble to install

2007-02-22 Thread elekis
/python2.3 File /home/elekis/Desktop/pyosg_devel/SConstruct, line 78, in module [EMAIL PROTECTED]:~/Desktop/pyosg_devel$ I ve tried export PYTHON_INCLUDES /usr/include/python2.5 but nothing change and I don't no where OSG_ROOT is it. any idea ? thanks

Re: [osg-users] disable warning

2007-02-16 Thread elekis
thanks all On 2/16/07, Robert Osfield [EMAIL PROTECTED] wrote: Hi, export OSG_NOTFIY_LEVEL=ALWAYS Robert. On 2/16/07, elekis [EMAIL PROTECTED] wrote: hi all, I don't remember witch sell variable I have to export to disable WARNING like that Warning:: Picked up error

[osg-users] disable warning

2007-02-15 Thread elekis
hi all, I don't remember witch sell variable I have to export to disable WARNING like that Warning:: Picked up error in TriangleIntersect (-0.5 0.5 -0.5, 0.5 -0.5 -0.5, -0.5 -0.5 -0.5) (nan,nan,nan) is anybody can help me? thanks. and by the way where can I find the

Re: [osg-users] changing the node in viewer.setDataScene

2007-02-10 Thread elekis
On 2/8/07, Paul Speed [EMAIL PROTECTED] wrote: elekis wrote: hi all I have a little probleme, I have two node who represent two differents things, and I would like to render one, and afer pushing a touch, changing on other something like that //init osg::Group* root = new osg

[osg-users] changing the node in viewer.setDataScene

2007-02-08 Thread elekis
hi all I have a little probleme, I have two node who represent two differents things, and I would like to render one, and afer pushing a touch, changing on other something like that //init osg::Group* root = new osg::Group(); osg::Group* root2 = new osg::Group(); viewer.setSceneData( root

Re: [osg-users] changing the node in viewer.setDataScene

2007-02-08 Thread elekis
thnaks, thats works, except in my code it's setSingleChildOn(0); (he didn't recognize without On) a++ On 2/8/07, Rafa Gaitan [EMAIL PROTECTED] wrote: Hi elekis You can use an osg::Switch node on top of your two scenes: osg::Switch *switchRoot = new osg::Switch() ... your nodes

Re: [osg-users] changing the node in viewer.setDataScene

2007-02-08 Thread elekis
? a£++ Robert. On 2/8/07, elekis [EMAIL PROTECTED] wrote: hi all I have a little probleme, I have two node who represent two differents things, and I would like to render one, and afer pushing a touch, changing on other something like that //init osg::Group* root = new osg::Group

[osg-users] Re: My RemoveChild doesn't work

2007-02-07 Thread elekis
ok I found, I was a error in my code. thanks a all On 2/7/07, elekis [EMAIL PROTECTED] wrote: hi all, I made a class who have to draw a simple line (see below) but I don't know why when I delete CLine class, the line is always visible (but the class is well deleted) I put the code

[osg-users] My RemoveChild doesn't work

2007-02-06 Thread elekis
hi all, I made a class who have to draw a simple line (see below) but I don't know why when I delete CLine class, the line is always visible (but the class is well deleted) I put the code of the class. ++ class CLine{ private:

Re: [osg-users] drawing a simple segment

2007-02-02 Thread elekis
thanks, On 2/2/07, Robert Osfield [EMAIL PROTECTED] wrote: Hi Elekis, There isn't a convenience function for building a single line segment, you'll need to build it up yourself. See the osggeometry example for guidance. Robert. On 2/2/07, elekis [EMAIL PROTECTED] wrote: hi all, I have

Re: [osg-users] reload the viewer

2007-01-31 Thread elekis
thanks a lot thats work, but I would like to do automaticly after a call function how to simulate the space touch?? thanks On 1/30/07, Jeremy L. Moles [EMAIL PROTECTED] wrote: On Tue, 2007-01-30 at 23:32 +0100, elekis wrote: hi, for a project, I use the default osgProducer like

[osg-users] reload the viewer

2007-01-30 Thread elekis
hi, for a project, I use the default osgProducer like that: viewer.setUpViewer(osgProducer::Viewer::STANDARD_SETTINGS); viewer.setSceneData( root ); viewer.realize(); while( !viewer.done() ) { viewer.sync(); viewer.update(); viewer.frame(); } it's very perfect for

Re: [osg-users] How can I find objects in scene

2006-12-24 Thread elekis
http://www.nps.navy.mil/cs/sullivan/osgtutorials/osgDOF.html On 12/23/06, Drew Whitehouse [EMAIL PROTECTED] wrote: Take a look at examples/osgplanets/osgplanets.cpp. You use a Visitor to traverse the scene graph. In this case the FindNamedNodeVisitor is collecting the nodes that match a

[osg-users] number of side in cylinder and cone

2006-12-24 Thread elekis
hi all, I have to use cylinder and cone shape, but osg represent that spericaly (is it english??) is it possible to say to osg the number of side of cylinder and cone. and for example a cylinder with 4 side is a rectangle, and a cone with 4 sides is a pyramid. if I ask that, is cause I need a

[osg-users] [LONG] simple example about osg, gtkdrawingarea and glade

2006-12-21 Thread elekis
hi all, I have to do some simulations in c++, and for the first time, I have to use the gtk and osg. I have to use osg in a gtk window(drawingarea I suppose) and the inteface is creating with libglade. but I have lots of difficult. is there any tutorial example or anything other stuff who

[osg-users] where is the delete operator??

2006-12-06 Thread elekis
hi all, I have to use the osg for a work so I learn with http://www.nps.navy.mil/cs/sullivan/osgtutorials/osgGeometry.htm but I have some question about the code, there are a lot of new, where are the delete?? is osg take in charge that?? second thing after a thing like that

Fwd: [osg-users] where is the delete operator??

2006-12-06 Thread elekis
thanks a lot -- Forwarded message -- From: Robert Osfield [EMAIL PROTECTED] Date: Dec 6, 2006 4:00 PM Subject: Re: [osg-users] where is the delete operator?? To: osg users osg-users@openscenegraph.net On 12/6/06, elekis [EMAIL PROTECTED] wrote: hi all, I have to use the osg

[osg-users] [LONG]some questions about osg

2006-09-15 Thread elekis
hi all, I need a little help to understand osg and other thing who turn around(it's for a student work) 1) Studiing osg, I fallen on Colosseum3D. What's the link with osg ?? is it the same thing? must I use colo instead osg ??? 2) I have to use physic law like gravitation, repulstion force and

Re: [osg-users] [LONG]some questions about osg

2006-09-15 Thread elekis
thanks a lot On 9/15/06, Robert Osfield [EMAIL PROTECTED] wrote: Hi Elekis, On 9/15/06, elekis [EMAIL PROTECTED] wrote: hi all, I need a little help to understand osg and other thing who turn around(it's for a student work) 1) Studiing osg, I fallen on Colosseum3D. What's the link