[osg-users] [osgOcean] Geocentric Support

2016-03-23 Thread Cheng Guan
Hi all, What are the changes needed to support geocentric coordinates? I want to add ships using latitude, longitude and hope to see them at a much further distance than now. Thank you! Cheers, CG -- Read this topic online here:

Re: [osg-users] Tesselation on Model

2016-03-23 Thread Sebastian Messerschmidt
Hi David, Thank you very much Sebastian! You are awesome! You really made my day. I can see the tesselation it's working now. : ) Thx, an , in comparison, most elaborate question like this needed some attention :-) If I'm allowed to add one question for personal advancing. What do i have to

Re: [osg-users] Tesselation on Model

2016-03-23 Thread David Knipp
Thank you very much Sebastian! You are awesome! You really made my day. I can see the tesselation it's working now. : ) If I'm allowed to add one question for personal advancing. What do i have to change in the shader so that the model is normal again? My Model is looking like it was pressed

Re: [osg-users] Tesselation on Model

2016-03-23 Thread Sebastian Messerschmidt
Hi David, tesselation shaders usually work on the GL_PATCH primitive rather than usual triangles. So in order to get your program running you need to run a visitor on the scene and convert the primitive sets to this. This however won't magically solve every tesselation problem, but this a

[osg-users] Tesselation on Model

2016-03-23 Thread David Knipp
Hi osg-Forum, I'm kind of stuck with a problem in how to combine a tesslation shader in osg with a normal model right now. I really searched over google a couple of times and over the osg forum. I can't find an answer to my problem. Normally i prefer to not ask and just resolve it myself

Re: [osg-users] [build] When writing my own software and integrating openscenegraph, LNK error is thrown out.

2016-03-23 Thread Diwas Bhattarai
Hi, Thank you very much for the solution. That's it. It solved the problem. Thank you! Cheers, Diwas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66614#66614 ___ osg-users mailing list

Re: [osg-users] shadow mapping for point lights with shadow cube maps?

2016-03-23 Thread Christian Buchner
Hi all, I might try an implementation of omni-directional point light shadow mapping based on this interesting paper. https://hal.archives-ouvertes.fr/hal-00733343/document They manage to generate 6 views of the same object in a single pass and within a destination single texture using geometry

[osg-users] What wrong with my "SubloadCallback" derived class?

2016-03-23 Thread Zheng Li
Hi, I wrote a "SubloadCallback" derived class and attach it to a texture2D object to update image dynamically,but unfortunately the texture image can not be updated,the texture always show a piece of white;below is my code,what wrong happened to it? void main() { // the class to

Re: [osg-users] [3rdparty] What wrong with my "SubloadCallback" derived class?

2016-03-23 Thread Zheng Li
sorry,I think I should post this topic to "OpenSceneGraph Lists->General" catalogue,I had post a same one under "OpenSceneGraph Lists->General" catalogue,so please delete this one; -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66610#66610

[osg-users] [3rdparty] What wrong with my "SubloadCallback" derived class?

2016-03-23 Thread Zheng Li
Hi, I wrote a "SubloadCallback" derived class and attach it to a texture2D object to update image dynamically,but unfortunately the texture image can not be updated,the texture always show a piece of white;below is my code,what wrong happened to it? void main() { // the class to

Re: [osg-users] [build] When writing my own software and integrating openscenegraph, LNK error is thrown out.

2016-03-23 Thread Voerman, L.
Hi Diwas, as you don't mention it I think you did not create a x64 configuration for your project, the default new project is a 32 bit project. In visual studio in below the menus is a bar with two drop down lists, one with "Release" and one with "Win32", below the Win32 is an option called

Re: [osg-users] Does OSG still build against Qt 4.8.7?

2016-03-23 Thread Christian Schulte
Hi Marko, sorry, but I'm not familiar at all with the Macport's portfile system, so I may not bee of big help for you... You say that only Qt4 is installed so what do you mean by Qt5 variant works ? The error excerpt you show is after the build process as he is already looking for the built