[osg-users] OT: R3D/PRO-1000 knowledge

2016-10-31 Thread Chris Hanson
This is off-topic, but this is the place with the highest-likelihood of having someone with the knowledge in question. Anyone here ever work with a 90s vintage Lockheed-Martin R3D/PRO-1000? Some guys working on emulators for it for running legacy code have some questions about its behaviour

Re: [osg-users] Embed in SFML window, rendering problem

2016-10-31 Thread Cem Aydin
Hello Thanks for your reply. The OpenMW example though is a bit complex for my current knowledge level and I really want to keep things simple for now. However I found another example using SFML that is actually rendering fine. en. sfml-dev. org/forums/index.php?topic=20866.0 (can't post link)

Re: [osg-users] Embed in SFML window, rendering problem

2016-10-31 Thread Nickolai Medvedev
Hi, rebootl. I think, you need create SFML graphic context, then set he to camera. I advise you to make normal support of a SFML window, like a SDL-window in OpenMW. https://github.com/OpenMW/openmw/blob/master/components/sdlutil/sdlgraphicswindow.hpp

[osg-users] Embed in SFML window, rendering problem

2016-10-31 Thread Cem Aydin
Hello I'm trying to embed osg in an SFML window. I found some examples and managed to include an osgViewer. However there is a problem with the rendering. I'm not sure what exactly is happening but it looks like if the normals get messed up or so, see the attached image. According to examples

Re: [osg-users] passing uniforms to compute shader

2016-10-31 Thread Mary-Ann Zorra
Hi, ok, maybe it is easier in that way. Here are the uniforms of the compute shader: Code: struct PointLight { vec4 position; vec4 color; vec4 paddingAndRadius; }; // Shader storage buffer objects layout(std140) uniform LightBuffer { PointLight data[1024]; } ;