[osg-users] 'EarthManipulator', how to manage to get the view of invisible underground part of the model in course of rotating operation?

2019-01-21 Thread Mirro Xu
Hi, In setting up the roaming scene model of 'EarthManipulator', how to manage to get the view of invisible underground part of the model in course of rotating operation? Thank you! Cheers, Mirro -- Read this topic online here:

[osg-users] why does the adding of lighting, colour and fusion to the "shader" model result in the opacity of its windowpane?

2019-02-10 Thread Mirro Xu
Hi, Code: const char* gl2_VertexFaceShader = { "vec4 directionalLight(in vec3 normal,in vec4 color)\n" "{\n" " float NdotL = dot(normal, normalize(gl_LightSource[0].position.xyz)); \n" " NdotL = max(0.0, NdotL); \n" " float NdotHV =

[osg-users] How can we make 'osg' thread and 'ui' thread send messages to each other?

2019-06-30 Thread Mirro Xu
Hi, How to solve the problem with UI Thread conflict Thank you! Cheers, Mirro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76346#76346 ___ osg-users mailing list

[osg-users] How can I post files and images in the forum?

2019-10-29 Thread Mirro Xu
Hi, :-* :-* :-* :-* :-* :-* Thank you! Cheers, Mirro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76862#76862 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Why is it that no matter what The model material properties value reset the are Always invalid?

2019-11-02 Thread Mirro Xu
mirro wrote: > Hi, > > //There seems to be a texture coordinate error... > > > Code: > > _eftManager->getPassStateSet(pid)->setAttributeAndModes(loadProgram( > "varying vec3 vLocalVertex;\n" > "varying vec4 TextureCoord0;\n" > >

Re: [osg-users] I don't quite understand this part of code from hdr examle, can anyone elaborate more?

2019-10-25 Thread Mirro Xu
mirro wrote: > Hi, >If so, what are the causes of The Hdr Effects disappeared? > Thank you! > > Cheers, > Mirro[/b] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76858#76858 ___

[osg-users] To run this Examples osgdeferred , where to download this osgdeferred about Data Resources ?

2019-10-15 Thread Mirro Xu
Hi, For example ,shaders/pass1Shadow.frag Thank you! Cheers, Mirro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76834#76834 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] why the "adaptedlum->addChild(brightpass)" code is doing what it does In the osgPPU hdr example

2019-10-24 Thread Mirro Xu
Hi, // The adapted luminance ppu do compute it. However if you // can follow me for now, you maybe encounter, that this ppu do // have to write into the same texture as it also read from. // To prevent this, we just generate an inout ppu which do

[osg-users] [osgPPU] why would The Hdr Effects disappeared from hdrExample after scene adding to the ive format model?

2019-10-29 Thread Mirro Xu
Hi, What are the requirements for this model format for this effect or can't be displayed because the parameter settings are incorrect? Thank you! Cheers, Mirro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76861#76861

Re: [osg-users] To run this Examples osgdeferred , where to download this osgdeferred about Data Resources ?

2019-10-22 Thread Mirro Xu
d_a_heitbrink wrote: > They are kept in a separate repo: > https://github.com/openscenegraph/OpenSceneGraph-Data > > Do keep in mind the license for said data is different: > From GitHub: > > If not otherwise specified all files in the OpenSceneGraph-Data are provided > free for non