[osg-users] intersections

2010-07-19 Thread lucie lemonnier
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());

Re: [osg-users] StateSet and changes

2010-07-19 Thread Mathieu Scorpionis
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. --

Re: [osg-users] Select node on screen

2010-07-19 Thread Martin Naylor
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:

Re: [osg-users] intersections

2010-07-19 Thread Riccardo Corsi
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

Re: [osg-users] osgVolume volume rendering ?

2010-07-19 Thread Robert Osfield
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

Re: [osg-users] Event Handling from outside a Viewer

2010-07-19 Thread Robert Osfield
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

Re: [osg-users] osgVolume volume rendering ?

2010-07-19 Thread Robert Osfield
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

Re: [osg-users] osgVolume volume rendering ?

2010-07-19 Thread Dženan Zukić
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

[osg-users] change of email on Submissions list

2010-07-19 Thread Martin Naylor
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. ___

[osg-users] Some basic questions about OSG before integrating

2010-07-19 Thread Igor Lebedev
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

Re: [osg-users] OSG on IPhone

2010-07-19 Thread Stephan Maximilian Huber
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

Re: [osg-users] Some basic questions about OSG before integrating

2010-07-19 Thread Jean-Sébastien Guay
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

Re: [osg-users] Point in Polygon problem

2010-07-19 Thread Benoît Bayol
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:

[osg-users] Curve tangent

2010-07-19 Thread daniele argiolas
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

Re: [osg-users] I'm lost the UpdateCallbacks

2010-07-19 Thread Mathieu Scorpionis
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 {

Re: [osg-users] I'm lost the UpdateCallbacks

2010-07-19 Thread Mathieu Scorpionis
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

[osg-users] getting collada support in debian

2010-07-19 Thread Sébastien Barthélemy
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

Re: [osg-users] Event Handling from outside a Viewer

2010-07-19 Thread Tom Pearce
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

[osg-users] osgViewer FullScreen on Horizontal Span

2010-07-19 Thread Thomas Klemmer
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

Re: [osg-users] Event Handling from outside a Viewer

2010-07-19 Thread Robert Osfield
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

[osg-users] RTT single frame

2010-07-19 Thread Keith Parkins
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

Re: [osg-users] RTT single frame

2010-07-19 Thread Robert Osfield
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

[osg-users] Understanding osgShadow::ShadowMap

2010-07-19 Thread Jason Segarra
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

[osg-users] Nine days until the OpenSceneGraph BOF at SIGGRAPH 2010

2010-07-19 Thread John F. Richardson
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

[osg-users] question about use wgs84 coordination in osggis

2010-07-19 Thread tang312
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