Hello,
I use osg:: LineSegment to perform an intersection between a ray starting from
a wand and the objects in my scene. Here is my code:
osg::Vec3 wandpt1;
osg::Vec3 wandpt2;
line = new osg::LineSegment(wandpt1,wandpt2);
osg::BoundingBox modelbox;
modelbox.expandBy(modelTransf-getBound());
Hello
Yes, great job !
There was an other problem : I did an optimize() of my model ; at that moment,
all stateSet lost their geode parent... and all of them were suddenly linked to
the same and main parent (the cabine of the aircraft).
Now is much better !
Thanks again.
--
Hi,
Take a look at the example osgPick, should be what you are after...
Martin Naylor.
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tufan TaÅŸ
Sent: 15 July 2010 13:53
To:
Hi Lucie,
take a look to osgPick example to see the correct way of using intersection
visitors and routines.
Ricky
On Mon, Jul 19, 2010 at 09:56, lucie lemonnier lucielemonn...@hotmail.frwrote:
Hello,
I use osg:: LineSegment to perform an intersection between a ray starting
from a wand and
Hi Emmanuel,
If you are trying to create a stack of images as a single volume then
use the --images filenames command line option.
Robert.
On Sat, Jul 17, 2010 at 1:50 PM, Emmanuel Roche
roche.emman...@gmail.com wrote:
One very interesting detail concerning those osgVolume tests (still on
Hi Tom,
On Mon, Jul 19, 2010 at 4:00 AM, Tom Pearce tmpea...@gmail.com wrote:
Thanks for the info, Robert. I tried what you suggested, but I don't seem to
be getting any events back at all: copyEvents(Events) returns false, and
events.size() is zero. When I used getCurrentEventState() I
Hi Manu,
You data DICOM data rendering suggests that the air around the subject
is returning a high intensity value rather than a low one. This is
not something I've seen with the DICOM datasets I've tested, so try
other data. A transfer function would certainly be one way to pick
out the data
Hi,
Hehe, now that you have succeeded at getting something, you start to get into
the problematics of volume rendering. Namely, to get a nice visual
representation, you have to provide a suitable transfer function. The example
uses some hard-coded transfer function (osgVolume supports only 1D
HI all,
I have tried to change my email address for the submissions list, it never
sends me an email for my password to change it.
Can anyone help?
I have managed to change osg-users, if this comes through!
Cheers
Martin Naylor.
___
Hi,
I'm thinking about using OSG functions in my engine, but some things about OSG
aren't obvious for me, so, i want to ask advanced users for exact info:
1) Is it hard to change components of OSG, to meet my requirments and use my
own version within scene graph integrated? For example, i'm
Hi all,
just a short heads-up. As suggested by Mathieu Marache I am using now
the semi-official osg-git-repository and a custom branch called iphone
for further development.
You'll find it here:
http://github.com/stmh/osg/tree/iphone
I'll abandon the old github project at
Hello Igor,
1) Is it hard to change components of OSG, to meet my requirments and use my
own version within scene graph integrated? For example, i'm not very satisfied
with render code and shadows\other FX, can i do a pure opengl replacement in my
engine and replace component without any
Hi,
Reply to myself : Using osgUtil::DelaunayConstraint and after using the
contains() method.
Thank you!
Cheers,
Benoît
--
Benoît Bayol
benoit.ba...@gmail.com
--
Read this topic online here:
Hi, I notice that in bezier curves with method getValueAt() I can get the
coordinates of a specified point in a time t. Is there a way to get the angle
of curve tangent?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30119#30119
I update thattopic, because I have the same problem as LittleG () : one OSG
file with an AnimationPathCallback:
num_children 1
MatrixTransform {
DataVariance DYNAMIC
name bugklappe01
nodeMask 0x
cullingActive TRUE
UpdateCallbacks {
AnimationPathCallback {
Oops sorry, I found the reason, just after written the post.
Please don't take into account
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30121#30121
___
osg-users mailing list
Hello,
I'd like to get OSG support collada files out of the box in debian.
I created a debian package for collada-dom, and I'm currently waiting
for a reviewer/sponsor. It is my first package, there might be some
work left. If somebody here with debian knowledge/powers is willing
to help, he
Hi Robert,
I think the solution of having a GUIEventHandler through Viewer to capture and
pass along all events will be the way I go.
I was trying to have various users on our end write their own event handlers
based on their needs, and be able to swap from one to the other on the fly
Hi,
I'm trying to get a stereo setup to work with osg.
I have Horzontal Span (Nvidia,Linux) Desktop over two screens and I start the
viewer with
osg::DisplaySettings::instance()-setStereo(true);
osg::DisplaySettings::instance()-setStereoMode(osg::DisplaySettings::HORIZONTAL_SPLIT);
but the
Hi Tom,
Another solution would be to subclass from osgViewer::Viewer and add
your own removeEventHandler method, then once you move to 3.0 you'll
just be able to drop your own Viewer class or just remove the method,
and optional compile would even let you build against 2.9.x/3.0 and
2.8.x without
Hi,
I am trying to dynamically make a smaller LOD for a street block
populated with buildings. To do this, I am trying to render different
views into texture memory to apply onto a simple cube during the
scene building section of code before entering the main loop. These are
static images, so I
HI Keith,
The easiest way to do what you want is place your six RTT Camera's as
nodes in the scene graph and have a callback in on them that switches
them off either via a NodeMask or via an osg::Switch node so that they
only render for one frame, or one nominated frame, or whatever metric
you
Hi,
I'm trying to understand how the OSG ShadowMap class works on a frame by frame
basis. I understand that the shadow is computed when the Cull Visitor hits the
ShadowedScene node, which has the ShadowMap technique set to it.
Right now, adding the Shadow technique and supplying it with the
Hello,
9 days till Siggraph OSG BOF.
RobertI need some slides on OSG-3.0/OpenGL ES. I sent an email to your
gmail account. Is that the correct one for off list communications?
Also, anyone else with material who will not be at the BOF, send it so I can
be a talking head on your topic. Best
hello!
I try osggis_mapper example, and find that when terrain and shapefiles are
all in UTM Zone 19,It run well. building are in the right position and I can
select buildings and change the color of selected building with
osgSim::overlayNode.
But ,if I change the terrain's
25 matches
Mail list logo