Re: [osg-users] OSGAnimationPath.

2009-08-31 Thread Danny Lesnik
Hi, When I change rPath-setLoopMode(osg::AnimationPath::NO_LOOPING); with rPath-setLoopMode(osg::AnimationPath::LOOP) or SWING. This code works perfect. I just wonder what might be the problem. Thank you! Cheers, Danny -- Read this topic online here:

Re: [osg-users] Rethinking 3rd party dependencies?

2009-08-31 Thread Robert Osfield
Hi Philip, I'm all for integrating CMakePorts support into OSG build. I'm I correct in reading the cmakeports_osg.path that one would build the OSG and have the external libs build automatically when required? Currently .patch only lists jpeg, zlib and png. Is this just a preliminary lists? Are

Re: [osg-users] PositionAttitudeTransform, geometrical trnasformation issues

2009-08-31 Thread Robert Osfield
Hi Andrei, From your post I can't really determine exactly what is up. The best I can do is explain how the pivot and position point work. The PivotPoint is the position in local coordinate frame of the subgraph that want to position that you'll scale, and rotate around, and the Position is the

Re: [osg-users] [osgPlugins] Using Plugins Statically Linker Problem

2009-08-31 Thread Robert Osfield
Hi Stefan, I don't use Windows so can't comment on the platform specifics issues. The macro's used to get things to work under the static build essentially just create C entry points that are exported in the plugin, and then used in your application when you add a USE_OSGPLUGIN(png). Go have a

Re: [osg-users] OSGAnimationPath.

2009-08-31 Thread Cedric Pinson
Hi, I think you record key in global space and replaying in a a sub tree node that is not in the same space. I can't help more without a sample code ready to build and data that produce the problem. Just some remarks. I am not sure you need skinning, then use only an UpdateTransform callback you

Re: [osg-users] PositionAttitudeTransform, geometrical trnasformation issues

2009-08-31 Thread Андрей Чобану
Thanks for your reply Robert! Actually, a coworker gave me a hand in this and i found out i was using setProjectionMatrixAsPerspective with a bad argument and from that came all my troubles. Told i'm a newbie. Andrei -- Read this topic online here:

Re: [osg-users] OSGAnimationPath.

2009-08-31 Thread Danny Lesnik
Hi Cedric, This is sample code that reproduces this problem: #include osgViewer/Viewer #include osg/animationpath #include osg/matrixtransform #include osg/ShapeDrawable #include osg/PositionAttitudeTransform #include osg/Node #include osgDB/ReadFile #include osgGA/TrackballManipulator #include

Re: [osg-users] OSGAnimationPath.

2009-08-31 Thread Cedric Pinson
Sorry i answer to another thread discard this post - +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Mon, 2009-08-31 at 08:06 +, Danny Lesnik wrote: Hi, When I change rPath-setLoopMode(osg::AnimationPath::NO_LOOPING); with

Re: [osg-users] Problem with osgAnimation.

2009-08-31 Thread Cedric Pinson
Hi, I think you record key in global space and replaying in a a sub tree node that is not in the same space. I can't help more without a sample code ready to build and data that produce the problem. Just some remarks. I am not sure you need skinning, then use only an UpdateTransform callback you

Re: [osg-users] Inverting X Axis and possible Multithreading Problem

2009-08-31 Thread David Goering
Hey, thanks for your reply. I will try and find out what is going on there on my own, but I will have to do that later, let me break down my first problem into single questions, maybe it will be easier for me to work it out then. I have: osg::ref_ptrosg::MatrixTransform arTransform = new

Re: [osg-users] Inverting X Axis and possible Multithreading Problem

2009-08-31 Thread Ulrich Hertlein
Hi David, On 31/08/09 12:16 PM, David Goering wrote: I have: osg::ref_ptrosg::MatrixTransform arTransform = new osg::MatrixTransform(); and if I understand it all correctly, that is constantly updated by the cameras marker coordinates. Is there an easy way to access the x,y,z values and

Re: [osg-users] Inverting X Axis and possible Multithreading Problem

2009-08-31 Thread David Goering
Hey, thanks for the quick reply, that already helped me a lot, I will keep on playing arround and will bug you when I hit the next problem :P Thanks a bunch! David -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16869#16869

Re: [osg-users] Inverting X Axis and possible Multithreading Problem

2009-08-31 Thread David Goering
Well this was faster than I hoped, but maybe someone can cure my confusion :-* I have successfully updated the arTransform Matrix now. So when I move the marker to the left, the model moves to the left (although in the video the marker moves to the right and vice versa). That works now, the

Re: [osg-users] Rethinking 3rd party dependencies?

2009-08-31 Thread Philip Lowman
On Mon, Aug 31, 2009 at 4:43 AM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Philip, I'm all for integrating CMakePorts support into OSG build. I'm I correct in reading the cmakeports_osg.path that one would build the OSG and have the external libs build automatically when required?

Re: [osg-users] Rethinking 3rd party dependencies?

2009-08-31 Thread Sukender
Hi Philip, Robert, and all FYI, some devs and I started to add a CMake script to libcurl ; and the libcurl community seemed quite interested, yet not waiting for it. Unfortunately I didn't had time to finish the job for now. If you intend to work on it, you may have a look to what has been

Re: [osg-users] Semi-OT: Linux OpenGL driver job opening

2009-08-31 Thread John B. Turpish
I'm definitely interested in learning more, but I'm not sure I'm a perfect fit. Is there a posting I can see somewhere? I'm looking specifically for a more in-depth description of what they're looking for. Thanks! John On Fri, Aug 28, 2009 at 1:45 PM, Chris 'Xenon' Hansonxe...@alphapixel.com

Re: [osg-users] Semi-OT: Linux OpenGL driver job opening

2009-08-31 Thread John B. Turpish
I apologize. I meant to do this off-list. On Mon, Aug 31, 2009 at 9:07 AM, John B. Turpishjbt...@gmail.com wrote: On Fri, Aug 28, 2009 at 1:45 PM, Chris 'Xenon' Hansonxe...@alphapixel.com wrote: ___ osg-users mailing list

Re: [osg-users] Problem with osgAnimation.

2009-08-31 Thread Bao-Anh Dang-Vu
I think you record key in global space and replaying in a a sub tree node that is not in the same space. I can't help more without a sample code ready to build and data that produce the problem. Just some remarks. I am not sure you need skinning, then use only an UpdateTransform callback

[osg-users] Far Nodes - geometry as background

2009-08-31 Thread Eric Pouliquen
Hi all, I've read a lot on this forum about rendering geometry on top of a scene (HUD style), but I would like some details on how to render geometry in the background. I'm writing a small nodekit which is a Far Object and I have some problems with zbuffer and Near/Far planes calculations to

Re: [osg-users] Rotate camera

2009-08-31 Thread Alex Malhao
Thanks for your reply! Now that I have a code that will allow me to move how can I use it inside the osgviewer.cpp? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16878#16878 ___ osg-users mailing

Re: [osg-users] [osgPlugins] Using Plugins Statically Linker Problem

2009-08-31 Thread stefan nortd
Thanks Robert, It turns out that USE_OSGPLUGIN is working fine for osgdb_png and osgdb_jpeg. I was simply not aware that I had to link againg libpng.lib ang libjpeg.lib. I though since I compiled osg statically all the support lib symbols are therefore in the osgdb_png/jpeg files. On linux I

Re: [osg-users] Far Nodes - geometry as background

2009-08-31 Thread Chris 'Xenon' Hanson
Eric Pouliquen wrote: I've read a lot on this forum about rendering geometry on top of a scene (HUD style), but I would like some details on how to render geometry in the background. I'm writing a small nodekit which is a Far Object and I have some problems with zbuffer and Near/Far planes

[osg-users] [build] Inconsistent dll linkage

2009-08-31 Thread Alex Malhao
Hi, I'm trying to build my first osg project. I used the link (http://dwightdesign.com/2009/05/installing-openscenegraph-280/) to configure my system, everything went well, but I'm having some problems: [code] Compiling... Main.cpp DoomLikeManipulator.cpp .\DoomLikeManipulator.cpp(28) :

[osg-users] Easy Question? - returning points after PositionAttitudeTransform applied

2009-08-31 Thread Mike Greene
I have a linesegment defined by two points, say X1Y1 and X2Y2. If I then place this linesegment under a PositionAttitudeTransform in the tree and do a rotate (setAttitude) and translate (setPosition), how do I then get these new values of the points that have been transformed (X1nY1n and

Re: [osg-users] [build] Inconsistent dll linkage

2009-08-31 Thread Paul Martz
Hi -- These look like compile errors in your code, not OSG, is that correct? ("DoomLikeManipulator.cpp" isn't an OSG file as far as I know...) Are you including a header multiple times, without it being protected by #ifndef/#define/#endif? Do the OSG examples build OK? If so, compare a

[osg-users] tutorial Problem

2009-08-31 Thread Alex Gutheil
Hi, iam new in that Community... Have a Q to this Tutorial: http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/FileLoadingAndTransforms Where can I get the file called t72-tank_des.flt... I cant find it in the Data Dir or sth... Thank you! Cheers, Alex -- Read

Re: [osg-users] [build] Inconsistent dll linkage

2009-08-31 Thread Alex Malhao
Hi thaks for your reply, You are right, it's a compile error. I tried to compile the osgviewer.cpp and I got these errors: Code: -- Build started: Project: OSGDefaultProject, Configuration: Debug Win32 -- Compiling... Main.cpp Linking... LINK : warning LNK4098: defaultlib 'LIBCMT'

Re: [osg-users] Easy Question? - returning points after PositionAttitudeTransform applied

2009-08-31 Thread Martin Beckett
You need osg::computeLocalToWorld() to get the coordinate transform matrix, then multiply each point by this matrix to get real world coords. eg: osg::Matrix matrix = osg::computeLocalToWorld(nv-getNodePath()); osg::Vec3 point = data-at(ii) * matrix; Cheers, Martin (at least that's what i did

Re: [osg-users] [build] Inconsistent dll linkage

2009-08-31 Thread Paul Martz
That looks like you're using different C runtime libraries than OSG was built with. You should probably use "Debug Multithreaded DLL" for debug builds, and "Multithreaded DLL" for release builds. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466

[osg-users] Editing the Community/Contractors page

2009-08-31 Thread Glenn Waldron
Hi, The Community/Contractors wiki page does not seem to be editable, even with a login. I was hoping to update my entry. I don't know who the maintainer is but I'm hoping he or she can re-enable access. Thanks in advance. Glenn ___ osg-users mailing

Re: [osg-users] [build] Inconsistent dll linkage

2009-08-31 Thread Alex Malhao
Hi, Now my osgviewer.cpp is working fine. However when I add one other code the following error is: [code] -- Rebuild All started: Project: OSGDefaultProject, Configuration: Release Win32 -- Deleting intermediate and output files for project 'OSGDefaultProject', configuration

[osg-users] possible bug in osg reader/writer for PagedLOD nodes

2009-08-31 Thread Pecoraro, Alexander N
I think there is a bug in the osg reader/writer for PagedLOD nodes. If you set the LOD::CenterMode to USE_BOUNDING_SPHERE_CENTER then it doesn't get written to the output .osg file because the writer ignores its value unless it is set to USER_DEFINED_CENTER, in which case it just writes out the

Re: [osg-users] [build] Inconsistent dll linkage

2009-08-31 Thread Philip Lowman
On Mon, Aug 31, 2009 at 8:14 PM, Alex Malhao franciskovi...@gmail.comwrote: Hi, Now my osgviewer.cpp is working fine. However when I add one other code the following error is: [code] -- Rebuild All started: Project: OSGDefaultProject, Configuration: Release Win32 -- Deleting

Re: [osg-users] tutorial Problem

2009-08-31 Thread Ümit Uzun
Hi Alex; You can find all source code and resource file from http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/NPS_Tutorials_src.rar Regards. Ümit Uzun 2009/9/1 Charles Cossé cco...@gmail.com Alex, perhaps it's bad etiquette to send this as attachment, but oh