Re: [osg-users] ClipNode Opposite Behavior

2015-07-26 Thread Glenn Waldron
Erick, gl_FragCoord is almost certainly not what you want (Google it). Try something like this: Vertex shader: uniform vec3 center; varying float dist; void main() { vec4 vertex = gl_ModelViewMatrix * gl_Vertex; dist = length(center - vertex.xyz); } Fragment shader: uniform float rad; v

Re: [osg-users] MSVS2015 3rdparty build

2015-07-26 Thread Björn Blissing
Hi Nick, If building it from source is an option for you. I have made a CMake script to simplify the building some of the most important 3rd party dependencies. https://github.com/bjornblissing/osg-3rdparty-cmake Best regards Björn Den 25 jul 2015 1:47 em skrev Trajce Nikolov NICK : Hi Commun

Re: [osg-users] MSVS2015 3rdparty build

2015-07-26 Thread Trajce Nikolov NICK
Thanks Bjorn ! On Mon, Jul 27, 2015 at 12:00 AM, Björn Blissing wrote: > Hi Nick, > > If building it from source is an option for you. I have made a CMake > script to simplify the building some of the most important 3rd party > dependencies. > > https://github.com/bjornblissing/osg-3rdparty-cmak