Re: [osg-users] Sharing culling results among multiple cameras

2012-12-07 Thread Aurelien Albert
Hi, Thanks a lot for this idea ! I'll try to do something based on it. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51457#51457 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] timestamp in movie

2012-12-07 Thread Stephan Maximilian Huber
Hi David, Am 07.12.12 09:53, schrieb DavidHornung: Currently I am playing around with example osgmovie how is it possible to get the timevalue of a video from the start of the video to now ? what about osg::ImageStream::getCurrentTime() ? May not be implemented by all movie-plugins. cheers,

[osg-users] lighting of pointsprites

2012-12-07 Thread Daniel Schmid
Hi all I implemented a particle system using pointsprites, using fixed function pipeline. Now I have the requirement that the particles must react to lighting. I tried everything, but somehow my points don't care. I know I can do my own thing by implementing a shader program, but first I

Re: [osg-users] [forum] Why I keep getting the crash

2012-12-07 Thread Robert Osfield
Hi Zhou, This isn't likely to be something a 3rd party will be able to easily debug as they don't have your code, your data or a debugger to report what is going. Might I suggest you use a debugger and get a stack trace, and have a look at the contents of the data structures that are crashing.

Re: [osg-users] timestamp in movie

2012-12-07 Thread DavidHornung
Thank you, i use ffmpeg, it is implemented. How to set the Video to this position? cheers, David Hi David, Am 07.12.12 09:53, schrieb DavidHornung: Currently I am playing around with example osgmovie how is it possible to get the timevalue of a video from the start of the video to now ?

Re: [osg-users] Example request: render to renderbuffer attachments of FBO of main camera.

2012-12-07 Thread Edwin Rijpkema
Hi, Thank you for your answer. However, I am looking particularly for an example that uses renderbuffers (attached to an FBO), not textures. The problem with textures is that there are many issues with pixel formats and compatibility with OpenCL. Thank you! Cheers, Edwin --

Re: [osg-users] timestamp in movie

2012-12-07 Thread Robert Osfield
On 7 December 2012 10:40, DavidHornung horn...@googlemail.com wrote: i use ffmpeg, it is implemented. How to set the Video to this position? ImageStream::seek(double) ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Rotating a Subnode in 3D Model

2012-12-07 Thread Onur Akkaya
Hi, I used the PositionAttitudeTransform's setPivotPoint() function and the problem is fixed :) Onur -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51464#51464 ___ osg-users mailing list

Re: [osg-users] GLES2/Trigonometry Question

2012-12-07 Thread Paul Martz
(Sorry if this shows up twice; I originally posted it Tuesday but it has not echoed back to the list. Test emails seem to work, so trying again...) Hi Jeremy -- Since you know the FOV in y (it's 45.0 degrees), you can compute the distance to fit a bounding sphere with the following code:

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Chris Hanson
Have you examined the image files (.PNG or .JPG) that it exported along with the .OSG file? Are they damaged? On Fri, Dec 7, 2012 at 10:09 AM, Maia Randria veneree.randrianari...@crulrg.ulaval.ca wrote: Hi, I have a strange color change when exporting an object from 3DS Max 2013 to OSG.

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Farshid Lashkari
Hi Maia, Are you using the latest version of the max exporter plugin? This sounds similar to an issue where texture colors would export incorrectly when gamma correction was enabled in max. The latest version of the exporter should have resolved this, but maybe it's not fully resolved. Can you

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Maia Randria
Hi Farshid, I will re-install then and check this. BTW, when I launch the .exe file, I have a message No installation of 3Ds max found, though I have 3DS on my computer (2012 and 2013). Last time, I choose to install anyway and it worked. Is this a bug ? Farshid Lashkari wrote: Hi Maia,

[osg-users] [osgPlugins] Compilation error in ReaderWriterTRK.cpp

2012-12-07 Thread Tim O'Leary
Hi, I cloned the latest OSG repo from github this afternoon, and I'm encountering the following error while compiling ReaderWriterTRK.cpp: 2..\..\..\..\src\osgPlugins\trk\ReaderWriterTRK.cpp(74) : error C2660: 'osg::swapBytes' : function does not take 1 arguments Indeed, there are four

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Maia Randria
Hi Farshid, May I ask you to check if the two versions on sourceforge and on worrdviz website are the same ? When I launch the one from Worldviz website, everything is correct (I can install), but I have that message error No 3ds max installed with the one from sourceforge. Many thanks,

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Farshid Lashkari
Hi Maia, Are you using 3ds Max Design? There was a fix to the install script since the last release that allowed detection for certain 3ds Max Design installations. The installer on the sourceforge page has not been rebuilt since then. I will try to make a new release soon though. Cheers,

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Maia Randria
No, I don't. I just have 3DS max. Farshid Lashkari wrote: Hi Maia, Are you using 3ds Max Design? There was a fix to the install script since the last release that allowed detection for certain 3ds Max Design installations. The installer on the sourceforge page has not been rebuilt since

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Farshid Lashkari
Do you have the 32 or 64-bit version of max installed? Are you downloading the matching installer? The one on the homepage is for 32-bit. If you are using 64-bit, then you'll need to download the 64-bit installer from the files page. On Fri, Dec 7, 2012 at 12:54 PM, Maia Randria

Re: [osg-users] GLES2/Trigonometry Question

2012-12-07 Thread Jeremy Moles
On 12/07/2012 12:27 PM, Paul Martz wrote: (Sorry if this shows up twice; I originally posted it Tuesday but it has not echoed back to the list. Test emails seem to work, so trying again...) Hi Jeremy -- Since you know the FOV in y (it's 45.0 degrees), you can compute the distance to fit a

Re: [osg-users] [osgPlugins] 3DS max to osg problem

2012-12-07 Thread Maia Randria
Hi, I got it by disabling gamma correction (Rendering - Gamma/LUT Setup) with the latest installer (1.0.3 for 64 bits). Everything is OK now. Thank you very much and have a good weekend. -- Read this topic online here:

Re: [osg-users] lighting of pointsprites

2012-12-07 Thread Jean-Sébastien Guay
Hello Daniel, I know I can do my own thing by implementing a shader program, but first I wonder if there is a limitation for point sprites to not beeing able to be illuminated by default. Actually, the only way to get point sprites to be lit is to use a shader. Think about it, a point