[osg-users] Transparent but occluding phantom objects for AR application

2010-07-09 Thread Simon Julier
Dear All, I'm sure this has been answered before, and I'm merely missing the magic combination of keywords in my various searches. I'm developing a video-see-through AR application which will show the user the contents of holes in the ground. To get the correct depth cues, the user

Re: [osg-users] Transparent but occluding phantom objects for AR application

2010-07-09 Thread Farshid Lashkari
Hi Simon, On Thu, Jul 8, 2010 at 11:09 PM, Simon Julier s.jul...@cs.ucl.ac.uk wrote: I'm developing a video-see-through AR application which will show the user the contents of holes in the ground. To get the correct depth cues, the user should be able to see the contents of the hole only when

Re: [osg-users] [vpb] .tif and .tfw

2010-07-09 Thread lucie lemonnier
Hello Pierre, I send you in attachment what I get in my console with OSG_NOTIFY_LEVEL = INFO when I run osgdem --geocentric -d data.dem -t data.tif -l 3 -o data.osg and when I run osgviewer data.osg. Otherwise, I use osg-2.8.2, VPB 0.9.10 and gdal 1.5. I will try to use Boston data. Thank you!

Re: [osg-users] osganimationsolid example

2010-07-09 Thread Gianni Ambrosio
Thank you Jean-Sébastien for the detailed explanation. I need to move objects related to cars and their positions/rotations are already calculated by a solver. So I think I will try the callback approach. Thanks again, Gianni -- Read this topic online here:

Re: [osg-users] Texture problem on 64-bit PC

2010-07-09 Thread Andreas Ekstrand
Hi, I have similar problems with an ATI Radeon HD 5850 in Windows 7 64bit. Textures are corrupted, it seems like the MIP levels are mixed together somehow, so that different textures are shown and blended together depending on the viewing distance and angle. I have tried different versions

Re: [osg-users] [vpb] .tif and .tfw

2010-07-09 Thread lucie lemonnier
Hi, I tested the boston example but I'm not sure that the projection has worked well. I run osgdem.exe --geocentric -d boston-dem-downtown-5m-utm19n-meters.tif -t boston-10m-utm19n-meters.tif -l 5 -o test2.osg. I send what I obtain in attachment. Can you tell me if it worked well? Thank you!

[osg-users] osgVolume volume rendering ?

2010-07-09 Thread Emmanuel Roche
Hi everyone, I'm just starting to play with the osgVolume sample and I have a very beginner question about it: - Can you actually have any kind of volumetric rendering with this ??? I perform many tests with various arguments, but each time, all I get is a simple 2D image sequence of all the

Re: [osg-users] [vpb] .tif and .tfw

2010-07-09 Thread Pierre Bourdin (gmail)
Hello Lucie, When looking at your log I see that the tiff texture is reprojected... started DataSet::createDestination(3) reprojecting to file temporaryfile_013c07_0100_deme.tif reprojecting to file temporaryfile_S4_06032_5215_20061018_m20_1_utm20.tif Time for after_reproject 8.389910 as

Re: [osg-users] FBX Plugin: animation speed not as expected...

2010-07-09 Thread Alessandro Terenzi
I've downloaded the latest source code of the FBX plugin and osgAnimation from svn but, I'm still experiencing different playback speed with respect to QuickTime moreover I have also problems with the animations themselves. As I said I'm using the latest code for FBX plugin and osgAnimation, on

Re: [osg-users] osganimationsolid example

2010-07-09 Thread Gianni Ambrosio
One more question. The solver I have generates positions and rotations for the object to move at runtime. So I can not set all positions and rotations when the animation starts. In case of using the osgAnimation library, how could I append new positions and rotations at runtime? Regards Gianni

Re: [osg-users] Qt 4.6 context menus not repainting in osgViewerQT or osgViewerQtWidget

2010-07-09 Thread James Davis
I have just upgraded to qt 4.6.3, and it has corrected the problem. Thanks, Pan Liang, for the suggestion. James -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29870#29870 ___ osg-users mailing

Re: [osg-users] osganimationsolid example

2010-07-09 Thread Jean-Sébastien Guay
Hi gianni, The solver I have generates positions and rotations for the object to move at runtime. So I can not set all positions and rotations when the animation starts. In case of using the osgAnimation library, how could I append new positions and rotations at runtime? Err, I wonder, if

Re: [osg-users] DatabasePager Callback

2010-07-09 Thread Guy Volckaert
I am aware of the ReadFileCallback - but I guess the problem is how to distinguish between my paging terrain files from other database files loaded during runtime. All my files are FLTs (with the exception of a few TXP files for the terrain). I can't use the file extension as a filter since

Re: [osg-users] Transparent but occluding phantom objects for AR application

2010-07-09 Thread S . Julier
Dear Farshid, You can use the osg::ColorMask state attribute to prevent the object from writing to the color buffer. I've used this technique in my video-see-through apps. Thanks. I tried it, but it didn't seem to work for me. The way I did it is as follows (r is of type osg::Node*):

Re: [osg-users] osganimationsolid example

2010-07-09 Thread Gianni Ambrosio
Hi Jean-Sébastien, I would like to handle two slightly different scenarios. 1) Rotation orientation values are loaded from file (already generated by the solver). Those values are just like the channels of an animation, + one of them is the time channel (with fixed step). 2) The solver

Re: [osg-users] osganimationsolid example

2010-07-09 Thread Jean-Sébastien Guay
Hello Gianni, Maybe what you suggested is correct but it seems the callback method allows me to update the transform when the three is traversed by the update visitor. Moreover I need a way to show the animation in realtime so I need a way to synchronize the transform update to the time

Re: [osg-users] Transparent but occluding phantom objects for AR application

2010-07-09 Thread Farshid Lashkari
Hi Simon, On Fri, Jul 9, 2010 at 7:38 AM, s.jul...@cs.ucl.ac.uk wrote: It seems to work fine for masking the bits off for each colour channel separately. However, when I disable all the channels, the phantom object does not appear to occlude objects behind it. You will need to ensure that

Re: [osg-users] problem with osgUtil::IntersectVisitor and osg::LineSegment

2010-07-09 Thread Tim Larson
I stumbled on this thread when working on a similar problem that I had using IntersectionVisitor in Visual Studio projects. I just wanted to confirm that I have found that the OSG examples and OSGHelp examples that utilized IntersectionVisitor crashed under Windows when utilizing the latest

Re: [osg-users] problem with osgUtil::IntersectVisitor and osg::LineSegment

2010-07-09 Thread Jean-Sébastien Guay
Hello Tim, Based on the previous posters response it appears that recompiling the Source within Visual studio is the method to address this problem. Err, no, usually just making sure you don't mix debug and release and that you use binaries for the same version of Visual Studio should make

Re: [osg-users] problem with osgUtil::IntersectVisitor and osg::LineSegment

2010-07-09 Thread Jean-Sébastien Guay
Hi Tim, It just means you have to know what you're downloading. If you see binaries for Visual Studio 8 and you're using Visual Studio 9, don't assume it will still work and then wonder why it crashes... In fact, the download page even states it in underlined text... - Quote