[osg-users] mapping to video koordinate system

2013-01-07 Thread DavidHornung
Hello, how can I map a rectangle in my osg world on a rectangle with the same size in a Video? The Video is behind the OSG Scene. Cheers, David ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Problems building OSC plugin on VS2008

2013-01-07 Thread Stephan Maximilian Huber
Hi Chris, the osc-plugin compiles fine on my end with VS 2005. Is this a 64bit build? cheers, Stephan Am 05.01.13 20:35, schrieb Chris Hanson: Anyone else encountering this? I have no clue, we're just trying to batch-build.

Re: [osg-users] Happy New Year.

2013-01-07 Thread Robert Osfield
On 1 January 2013 19:48, Chris Hanson xe...@alphapixel.com wrote: I'm sure everyone, like myself is recovering, and playing, and spending non-work time, but I wanted to give a shout-out to everyone for a great and prosperous 2013. My I pass on my new years greetings to yourself and everyone

Re: [osg-users] Mask projective texture

2013-01-07 Thread Robert Osfield
Hi Mateo, I'm a bit confused as to what you are actually doing, my best guess is that it's something like shadow mapping. The best place to start is to have a look at the osgprerender example and others similar to it. Have a look at all examples that use osg::Camera when doing render to texture,

[osg-users] transparent objects in front of video in camera node with POST RENDER

2013-01-07 Thread DavidHornung
Hello, I implemented the example from the book OSG3 Cookbook where is described how to play a Video in background of a 3D Scene. There they used POST_RENDER to achieve the behind effekt. Is it so possible to use BLEND in this setup, so that a 3D Object is semitransparent to the Video ?

Re: [osg-users] [build] osgAndroidExampleGLES1 not loading model ( Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..) )

2013-01-07 Thread Robert Osfield
Hi Sameer, Issue like this are typically down to the scene graph being used contain OpenGL state that simply isn't supported on your target OpenGL ES version, with a quick look at the .osg file I can see an osg::Program object which isn't supported by GLES 1, this should be a implemented as non

Re: [osg-users] osg::Smoothingvisitor and opengles2.0

2013-01-07 Thread Robert Osfield
Hi Raphael, On 21 December 2012 14:10, raphael cano raphael.ca...@de.bosch.com wrote: After a quick look on the osgUtil::Smoothingvisitor class, it seems to be that it uses the normal openGL pipeline, i.e. the nomals are pushed into the drawable with setNormalArray. Is there a possibility

Re: [osg-users] how to delete the reference pointers

2013-01-07 Thread Robert Osfield
Hi Rishabh, The ref_ptr is smart pointer that will automatically manage the ref and unref of OSG objects, and when the ref() count of these objects goes to 0 they will be automatically deleted. If an object is shared then it's ref count will be 2 or more (one per reference) and will not be

Re: [osg-users] [build] [solved][OSX Lion] [trunk] ZeroConf folder missing

2013-01-07 Thread Robert Osfield
Hi Simon, I'm just adding a reply for completeness as I believe the build issue was just a temporary glitch should have been resolved already (back last year :-). Could you test out the latest svn/trunk just to confirm that it's now OK? Thanks, Robert. On 14 December 2012 12:56, Simon Lemaitre

Re: [osg-users] Z Buffer Problems

2013-01-07 Thread Robert Osfield
Hi Kevin, From the scant details provided I don't see how others can guess at what the issue might be. The type of difference between the two images could one of many different things, the code segment or description doesn't provide any clues to which of these it might be. Have you got further

Re: [osg-users] [osgPlugins] stl plugin and BIND_PER_PRIMITIVE

2013-01-07 Thread Robert Osfield
Hi Michael, BIND_PER_PRIMITIVE is indeed a really poor way to drive the OSG/OpenGL as modern OpenGL doesn't support this binding directly to the OSG has to jump through hoops to recreate this feature. Moving to BIND_PER_PRIMITIVE would be provide better peformance so you have my blessing if you

Re: [osg-users] osgManipulator serializers not working

2013-01-07 Thread Robert Osfield
HI Michael, The old .osg format won't support osgManipulator NodeKit, have you tried the modern replacement .osgt that leverages the new serializer support? Robert. On 27 December 2012 02:03, Michael Schanne michael.scha...@gmail.com wrote: Sorry for the thread bump, but has anybody ever

Re: [osg-users] osg coordinate system

2013-01-07 Thread Robert Osfield
Hi Peterakos, The bulk of the OSG loaders assume that world coordinates have +ve Z upwards, +ve Y north and +ve X to the east. The majority Camera Manipulators assume the world has Z up as well, then set up Camera's view matrix so the Z up aligns with vertical access of the screen, +ve Y into

Re: [osg-users] Image::computeImageSizeInBytes bug

2013-01-07 Thread Robert Osfield
HI Marcin, Have you come up with a fix? I have plenty of stuff to get through so any assistance on resolving this bug would be appreciated. Thanks, Robert. On 28 December 2012 12:57, Marcin Prus p...@ai.com.pl wrote: Hi all, there's a bug in Image::computeImageSizeInBytes(int width,int

Re: [osg-users] Custom culling that works with shaders

2013-01-07 Thread Robert Osfield
Hi Glenn, Just a quick reply as I'm just back from holiday season and rather cold on techy topics. Currently the OSG's culling is based around testing a internal nodes bounding sphere against the view frustum polytope and the geometry leaves bounding boxes. With shaders having the ability to

Re: [osg-users] OSG COLLADA build problem, Windows, vs2008

2013-01-07 Thread Robert Osfield
On 6 January 2013 09:37, Aurelien Albert aurelien.alb...@alyotech.fr wrote: Hi, I've sent a fix for that : http://forum.openscenegraph.org/viewtopic.php?t=11204 The fix is not yet merged into trunk. It is now :-) ___ osg-users mailing list

Re: [osg-users] Problems building OSC plugin on VS2008

2013-01-07 Thread Robert Osfield
Hi Chris, I merged some changes to the OSC plugin from Stephan this morning, and Aurlien's fix to the dae plugin so could you try out the latest svn/trunk and see what the status is? Thanks, Robert. On 5 January 2013 19:35, Chris Hanson xe...@alphapixel.com wrote: Anyone else encountering

Re: [osg-users] mapping to video koordinate system

2013-01-07 Thread Robert Osfield
Hi David, On 7 January 2013 11:21, DavidHornung horn...@googlemail.com wrote: how can I map a rectangle in my osg world on a rectangle with the same size in a Video? The Video is behind the OSG Scene. Probably solve this in a similar way to one would answer the generic question how long is a

Re: [osg-users] transparent objects in front of video in camera node with POST RENDER

2013-01-07 Thread Robert Osfield
Hi David, If you want to blend the 3D objects ontop of a background image/video then the best way would be to change the background Camera RenderOrder to PRE_RENDER and disable the clear of the colour buffer for the main Camera so that is doesn't overwrite the background. Robert. On 7 January

Re: [osg-users] mapping to video koordinate system

2013-01-07 Thread DavidHornung
Hi, for example: I have a video of a football game, the teal camera always stays in its place and force the same point. Now I want to add a virtual football field on the one in the video. So how can i get the camera parameters the real camera had(unknown) for my virtual camera so that their

Re: [osg-users] transparent objects in front of video in camera node with POST RENDER

2013-01-07 Thread DavidHornung
Hi, thank you for the tip, but now I have the Effekt that my transparent object is first transparent to the video and then gets its full color, like the color gets added each time David. Hi David, If you want to blend the 3D objects ontop of a background image/video then the best way would

Re: [osg-users] Which GPGPU postprocessing method is best for me?

2013-01-07 Thread Ethan Fahy
Thank you Jeremy I'll have a look at that implementation (I was actually just reading through Rui Wang's cookbook when you posted this). In the meantime I'll also try compiling osgPPU and osgCompute and go through some examples to assess which of these can accomplish what I am looking to do.

[osg-users] [osgPPU] Visual Studio compilation error

2013-01-07 Thread Ethan Fahy
Hello all, I am attempting to build the trunk version of osgPPU against the trunk version of osg and cuda 5.0 using Visual Studio 2010 SP1 on Windows 7 x64. I am trying to build in 32-bit mode and so I'm pointing to the 32-bit versions of the CUDA libraries that come with CUDA 5.0. I also

Re: [osg-users] Happy New Year.

2013-01-07 Thread Chris Hanson
Well, my New Years resolution of publishing more stuff so far has fallen flat on its face. :( I have a whitepaper detailing how (I think) VPB/OSG/PagedLOD structures, build and uses data which I think many people would find useful, but I haven't polished it up and published it yet. Soon... Also,

Re: [osg-users] Build Install OpenSceneGraph-3.1.3 give me a No WindowSystemInterface error ?

2013-01-07 Thread Chris Hanson
We're working on updating our builds as well, which will include the COLLADA loader, if we can ever get it to compile. ;) On Sun, Jan 6, 2013 at 6:49 AM, Mohamed Alji osgfo...@tevs.eu wrote: ** Excellent Philip your solution worked ! -- Mohamed ALJI Blog

[osg-users] Building OSG/Producer/OT 1.2 w/gcc 4.4.5

2013-01-07 Thread Conan Doyle
Hi, I find myself in need of building OSG/Producer/OT 1.2 to support a legacy project. I am using gcc 4.4.5. I am getting numerous compile errors regarding undeclared functions such as memset, memcpy, getenv and so on. These seem easy enough to correct by adding the proper includes to the

Re: [osg-users] Building OSG/Producer/OT 1.2 w/gcc 4.4.5

2013-01-07 Thread Jason Daly
On 01/07/2013 04:25 PM, Conan Doyle wrote: Hi, I find myself in need of building OSG/Producer/OT 1.2 to support a legacy project. I am using gcc 4.4.5. I am getting numerous compile errors regarding undeclared functions such as memset, memcpy, getenv and so on. These seem easy enough to

Re: [osg-users] Which GPGPU postprocessing method is best for me?

2013-01-07 Thread Wang Rui
Hi Ethan, You may found the osgeffectcompositor in osgRecipes project as Jeremy says. I'm currently working on a better version of ViewDependentShadowMap and will try to provide a complete pipeline using forward shadows and deferred shading work. It is always appreciated if you and others could

[osg-users] Can OSG be used as a tool to edit maps?

2013-01-07 Thread Nav Joseph
My question is as an offset to a discovery that osgEarth does not allow saving a map it generates, to the hard disk. So I was wondering that if osgEarth is only for displaying maps, and virtual planet builder was to split up a map into tiles and lod's, and osgEdit was meant only for minor