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:
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
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
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
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
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:
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
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
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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) :
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
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
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
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'
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
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
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
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
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
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
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
34 matches
Mail list logo