Re: [osg-users] [ANN] Windows Binaries of OSG 3.4.0 : Visual C++ 2015 and Intel C++ 2016

2019-01-31 Thread Zachary1234
Is there anyone who can help with a prebuilt version of OSG for a GNU C++ 64 bit Windows Compiler, particularly the TDM one? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75576#75576 ___ osg-users

Re: [osg-users] [3rdparty] How to change camera's yaw and pitch, and move front, back and sideways according to that?

2019-01-31 Thread Sam Brkopac
Hi Rodrigo, The Camera::setViewMatrixLookAt function is equivalent to the gluLookAt. You can find more documentation on the inner workings here (https://stackoverflow.com/questions/21830340/understanding-glmlookat). If you don't set a camera manipulator prior to viewer.run() and move the

Re: [osg-users] [3rdparty] How to change camera's yaw and pitch, and move front, back and sideways according to that?

2019-01-31 Thread Rodrigo Dias
Dear Trajce, do you have any idea how incomplete is your answer? There's no point in knowing the function if I don't know how to set its parameters correctly. What everybody learning OSG need is "a simple source code showing how it's done", and this means a few lines of code, not less than a

Re: [osg-users] Question about security of shader developments

2019-01-31 Thread Chris Hanson
You could obfuscate and minify your shader: https://github.com/laurentlb/Shader_Minifier Or hire a demoscene person to mangle it. ;) On Thu, Jan 31, 2019 at 11:43 AM Werner Modenbach wrote: > Hi Michael and all other people responding to my request, > > first of all thank you very much! > >

Re: [osg-users] [3rdparty] How to change camera's yaw and pitch, and move front, back and sideways according to that?

2019-01-31 Thread Trajce Nikolov NICK
Hi, viewer.getCamera()->setViewMatrixAsLookAt On Thu, Jan 31, 2019 at 10:01 AM Rodrigo Dias wrote: > I want to change the camera direction with the mouse, and position with > the keyboard. I've found an example on how to change the position, but > still couldn't find anything explaining how to

Re: [osg-users] Question about security of shader developments

2019-01-31 Thread Werner Modenbach
Hi Michael and all other people responding to my request, first of all thank you very much! @Michael: What you suggest is something like asking Zuckerberg to publish his algorithms.                 And belief me, Chinese don't care at all about patents or other rules we usually accept here. I'm

Re: [osg-users] Question about security of shader developments

2019-01-31 Thread michael kapelko
Hi. You may have a look at the problem from a different angle. If someone is stealing from you that means they need it. If you cannot stop it (or it costs much more than simply let them have it), then you should lead it. Instead of hiding your great shaders you can publish them yourself (don't

Re: [osg-users] Question about security of shader developments

2019-01-31 Thread Damian Dixon
Hi, I don't know what the OSG solution to this would be. You could obfuscate the shader code. Though to be honest this would only slow someone down not stop them from obtaining the shader source. In addition to obfusication put the shader source into the DLL/exe and potentially hide the strings