Hi,
Thank you for your help.
It works well!
lucie
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30173#30173
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I want to obtain the latitude, longitude and height when I click with the
mouse. Here is my code :
osgGA::GUIEventAdapter ea;
osgUtil::LineSegmentIntersector::Intersections intersections;
std::string gdlist=;
float x = ea.getX();
float y = ea.getY();
osg::ref_ptr
Can you make 3D objects that don't rescale in OSG ? To clarify : if you move
the camera closer and further, they will still have the same size. Still, they
need to rotate and translate according to the movement of the camera. An
example of that is the
Hi,
I am trying to set new values for the position of my PAT node for every run of
while(!viewer.done())
Code:
while( !viewer.done() )
{
osg::Vec3d positionVector;
// fire off the cull and draw traversals of the scene.
viewer.frame();
viewer.updateTraversal();
Posting those binaries somewhere would be a fantastic help to me and others, it
sounds like! Thanks!!!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30177#30177
___
osg-users mailing list
probably if you post the whole code someone might help you better. My advice
is to use the updateCallback of the PAT node - you make sure then you are
working on the right node.
-Nick
On Thu, Jul 22, 2010 at 2:41 PM, Sanat Talmaki sanat.sch...@gmail.comwrote:
Hi,
I am trying to set new
Yes. You can use osg::AutoTransform I think
-Nick
On Thu, Jul 22, 2010 at 2:09 PM, benedikt naessens
benedikt.naess...@spaceapplications.com wrote:
Can you make 3D objects that don't rescale in OSG ? To clarify : if you
move the camera closer and further, they will still have the same size.
Thanks !
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30180#30180
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi folks
I'm sitting here trying to set up a head tracking...
I got an api that spits out a viewmatrix for the camera and now I have to get
this matrix in the write place.
I wrote an updateCallback for the Cameras (left/right) that looks like this.
class updateCameraPosCallback : public
Hi,
Maybe you already have a Matrix/Camera Manipulator that override your update
callback ?
-Fred
- Thomas Klemmer klem...@uni-weimar.de a écrit :
Hi folks
I'm sitting here trying to set up a head tracking...
I got an api that spits out a viewmatrix for the camera and now I have
to
Hey all,
I'm using osg 2.9.8 and trying to do intersection tests in a thread. The code
is real straightforwards and works well when not threaded:
Code:
osg::ref_ptrosgUtil::LineSegmentIntersector intersector = new
osgUtil::LineSegmentIntersector(start, end);
osgUtil::IntersectionVisitor
Hi Markus,
I'm using osg 2.9.8 and trying to do intersection tests in a thread. The code
is real straightforwards and works well when not threaded:
[...]
Is this a known issue?
Err, you say what you want to do, that it works when not threaded, but
not what happens when you try to do it
Hi,
Examples that come with the OSG source code?
Cheers,
Dženan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30186#30186
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I just compile-tested OSG 2.8.3 with VS2010, x64 target. It has build errors
(full log attached).
Furthermore, I cannot switch to VS2010 because Qt doesn't support it at the
moment.
Cheers,
Dženan
--
Read this topic online here:
From your log it looks like the only problem you are having, which I
encountered as well, is the new C++/stl problem. You need to add:
#include iterator
to the header file NodeCallBack. This should get rid of most of the
errors, but you may have to add the above include to other files as
well.
Hi,
Thanks for the tips, they may come in handy once Qt 4.7 is out and I start
migrating to VS2010, and new version of OSG which includes those includes is
not published.
Thank you!
Cheers,
Dženan
--
Read this topic online here:
Hi,
Can you help me please?
I am blocked on my project.
I just want to know how to obtain the latitude, longitude and height from the
local coordinates of the point of intersection.
Thank you!
Cheers,
lucie
--
Read this topic online here:
Hi Sanat,
Have a look at the osganimation example.
FYI, Viewer::frame() calls updateTraversal() for you, so you don't
need to call it yourself.
Robert.
On Thu, Jul 22, 2010 at 11:41 AM, Sanat Talmaki sanat.sch...@gmail.com wrote:
Hi,
I am trying to set new values for the position of my PAT
Hi Lucie,
The CoordinateSystemNode can map between Earth Center Earth Fixed
coordinate frame and lats/longs. If you have local coordinates then
you need to accumulate the model transforms to move the local coord
into world coords.
The LineSegmentInersector will accumulate the transforms for you
Hi,
Way back when I built a package of 3rdParty binaries for my OSG 2.4
installer w/ VS8, I tried to capture all the cookbook steps in
scripts. All that info is available at
http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/3rdParty/ With
general updating of version info, those scripts will
Hi,
osgVRPN uses VRPN as the interface to various VR devices, including
trackers. You could use that software stack, or you can extract the
OSG matrix manipulation code from
http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/osgvrpn/
cheers
-- mew
--
Mike Weiblen -- Black Hawk, Colorado USA --
Hi,
I also have wrong values when I use the world coordinates of the intersection
when I make a translation.
It's normal?
Thank you!
Cheers,
lucie
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30197#30197
Hi Robert,
I will definitely take a look at the osganimate example.
But this is a question I asked in the post above:
If I declare a PAT node in my main(), is the only way to access and modify it
through update callbacks ? The reason why I'm asking this is that tough I'm
passing the PAT node
Hi, I'm using OSG as part of a VR software package and I'm trying to implement
picking with a 6DOF tracking system.
I'm having trouble finding a way to convert the position of my tracking object
(right now just a sphere) from its world coordinates to screen coordinates so I
can use the xy
Hello,
I've updated my old OSGUIsh library, so that it works with newer
versions of OSG. This small library allows to register functions that
get called when GUI-like events (mouse click, mouse move, key
down...) happen on a specific OSG node.
It can be used more or less like this:
// First
I can think of at least 3 other options
Use Alpha value on vertex color attributes
Use Alpha value on a Material being applies
(See the OSG example in the source on how to use vertex colors and materials
And the other option would be to set the Alpha in shaders
Gordon Tomlinson
Product
Hi Nick,
I followed your advice and set up an update callback. But I still can't seem to
get rid of the problem that I was facing (i.e. positions getting set to (0,0,0)
during callback traversal.
I thought it might help if I attach the code for my callback functions instead
of copying it
Hi Sanat,
There's so much there, including functions that I have no idea what they do,
that it'll be hard to figure out. There is definitely some unnecessary bits
that make it even harder for people who aren't you to figure out what is going
on - for example,
Code:
backhoeGroundPosition =
Hi LMB,
Thanks for your intresting project!
I'll take a look on it at weekend :)
Cheers,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30206#30206
___
osg-users mailing list
29 matches
Mail list logo