Re: [osg-users] How to configure CMake to compile X64 OSG

2014-10-29 Thread Sebastian Messerschmidt
Hi Glen, Hello Guru, Sorry I'm atheist, not Hindu ;-) My question is as the title say. I didn’t find any resource to describe the steps. Which platform? Using CMake this should be trivial. Simply use the correct compiler target and make sure you're linking the 64bit 3rd party

Re: [osg-users] Rotating a geometry along the vertex axis normal of another geometry.

2014-10-29 Thread Srinivas Prabhu
Hi, My scene graph looks like the image attached below: Here, I want to rotate the geode1 along the axis normal of one of the vertices of geometry that attached to the geode2. Imagine that the normal at the vertex(0.0,0.0,0.0) of geode2 is (0.0,-1.0,0.0). i.e facing outwards from the screen.

Re: [osg-users] How to configure CMake to compile X64 OSG

2014-10-29 Thread Glen
Hello Sebastian, My development environment: Windows 8.1 , Visual Studio 2012, OSG 3.2.1 Do you mean that I set compiler target X64 in Visual Studio instead of using CMake? Cheers Glen Hi Glen, Hello Guru, Sorry I'm atheist, not Hindu ;-) My question is as the title say. I

Re: [osg-users] How to configure CMake to compile X64 OSG

2014-10-29 Thread Sebastian Messerschmidt
Hi Glen, Hello Sebastian, My development environment: Windows 8.1 , Visual Studio 2012, OSG 3.2.1 Do you mean that I set compiler target X64 in Visual Studio instead of using CMake? No, simply set the desired compiler/generator when creating the solution via CMake. (When using the

Re: [osg-users] Rotating a geometry along the vertex axis normal of another geometry.

2014-10-29 Thread Christian Buchner
Christian But the rotation is happening in a weird way. Post a screenshot, or it didn't happen! ;-) I think everyoner has a different imagination of weird. For some people, weird may be perfectly normal. Christian 2014-10-29 4:58 GMT+01:00 Srinivas Prabhu srinivasprabhu...@gmail.com: Hi,

Re: [osg-users] Rotating a geometry along the vertex axis normal of another geometry.

2014-10-29 Thread Christian Buchner
Hello again, Apologies, I see that you actually attempted to post an image attachment. Unfortunately the link cannot be opened. http://forum.openscenegraph.org//files/osgtransforms_142.png returns HTTP error 404 - Not found. Christian 2014-10-29 10:35 GMT+01:00 Christian Buchner

Re: [osg-users] Rotating a geometry along the vertex axis normal of another geometry.

2014-10-29 Thread Srinivas Prabhu
Hi, I have updated the image. Thank you! Cheers, Srinivas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61449#61449 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Trajce Nikolov NICK
Hi Community, I have a case where I work with osg::Image on the CPU and uploading it to a osg::Texture object. However, it is terribly slow - the osg::Image is modified on each frame. Any hints techniques for this tip of task? Thanks a bunch as always! Nick -- trajce nikolov nick

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Sebastian Messerschmidt
Hi Trajce, Hi Community, I have a case where I work with osg::Image on the CPU and uploading it to a osg::Texture object. However, it is terribly slow - the osg::Image is modified on each frame. Any hints techniques for this tip of task? 1. Make sure it is not resized during upload (NPOT)

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Trajce Nikolov NICK
Hi Sebastian, it is TextureRectangle so NPOT is not an issue. Also, I am using the osg::Image for transfer of data from the CPU to the GPU, so it is not possible to have it all in the GPU. Thanks anyway though! Nick On Wed, Oct 29, 2014 at 12:10 PM, Sebastian Messerschmidt

[osg-users] Strange flickering in Linux when using FRAME_BUFFER_OBJECT

2014-10-29 Thread Björn Blissing
Hi, Some of the linux users of my OsgOculus implementation are reporting flickering images. The piece of code which seems to be the offender is the renderToTexture camera setup: Code: ... camera-setDrawBuffer(GL_FRONT); camera-setReadBuffer(GL_FRONT);

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Robert Osfield
Hi Nick, On 29 October 2014 11:14, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: it is TextureRectangle so NPOT is not an issue. Also, I am using the osg::Image for transfer of data from the CPU to the GPU, so it is not possible to have it all in the GPU. Thanks anyway though!

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Björn Blissing
Hi Nick, Make sure that it actually is the image transfer which is the culprit. In my case it was the image retrieval which was slowing down my osg webcam example program. So moving the image retrieval function to an own thread made my example go from 4 fps to ~3000 fps. Cheers, Björn

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Trajce Nikolov NICK
Thans Robert, since I haven't used this before, is the assignment enough for this or I should make some setups etc. What I did I just ser _image-setPixelBufferObject( new osg::PixelBufferObject ) and seeing the same performance . poor . Thanks again Nick On Wed, Oct 29, 2014 at 1:02 PM,

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Trajce Nikolov NICK
Hi Bjorn, I am using the osg::Image just for storing some vector data in it and passing it to the shaders, so not retrieving from anywhere. Thanks anyway Nick On Wed, Oct 29, 2014 at 1:18 PM, Björn Blissing bjorn.bliss...@vti.se wrote: Hi Nick, Make sure that it actually is the image

Re: [osg-users] frequently modified osg::Image uploads

2014-10-29 Thread Robert Osfield
Hi Nick, On 29 October 2014 12:35, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Thans Robert, since I haven't used this before, is the assignment enough for this or I should make some setups etc. What I did I just ser _image-setPixelBufferObject( new osg::PixelBufferObject )