Re: [osg-users] MSVS2015 3rdparty build

2015-11-14 Thread Andreas Schreiber
Hi Trajce, I would be happy about it =). With ping you mean private message on the board? I'll try searching for the post with the plugins. One question the file format tga was supported of osg with any dependency correct? ... Thank you! Cheers, Andreas -- Read this topic

Re: [osg-users] MSVS2015 3rdparty build

2015-11-13 Thread Andreas Schreiber
Hi Trajce, I would be happy about these builds ;) Trying right now to build osg and the 3rdPartys so I can work again with it. I would need the collada plugin as well. Do I need to build these as well for VS 2015? ... Thank you! Cheers, Andreas -- Read this topic online

Re: [osg-users] StatsHandler missing numbers

2015-10-08 Thread Andreas Schreiber
Hi, I will write about my experience, as soon as i got them. Let me guess more. Can it be that you live NRW? Thank you! Cheers, Andreas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65332#65332

Re: [osg-users] StatsHandler missing numbers

2015-10-07 Thread Andreas Schreiber
Hi, Aroth thx for the reply! I will test it as soon as i get osg working on my laptop. (Installed windows 10) P.S. Can it. be that you wäre from germany? Thank you! Cheers, Andreas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65320#65320

[osg-users] Image to Array

2015-05-13 Thread Andreas Schreiber
Hi, i am searching for the functionality to store an image (for example a *.jpg image) in an array so I can analyse an explicit part of the image. I did this once in java where I used an int[][][] to get to the position of an pixel and then get his color vec. But there I used and extra class

[osg-users] Wrong understanding of tangent space and world coordinates?

2015-05-06 Thread Andreas Schreiber
Hi I've got the following problem/question. If I pass the following vector from osg code to the shader: Code: plane-getOrCreateStateSet()-addUniform(new osg::Uniform(object_position, osg::Vec4(1, -0.25, 1,1))); This vector is in world space coordinates, correct? Now if I want this vector

[osg-users] Wrong understanding of tangent space and world coordinates?

2015-05-06 Thread Andreas Schreiber
Hi I've got the following problem/question. If I pass the following vector from osg code to the shader: Code: plane-getOrCreateStateSet()-addUniform(new osg::Uniform(object_position, osg::Vec4(1, -0.25, 1,1))); This vector is in world space coordinates, correct? Now if I want this vector

[osg-users] Rendering kinda attached to the camera moving

2015-05-05 Thread Andreas Schreiber
Hi, hope someone can help me. If you got any problems with my explanation, please just ask me! I will try to explain it better. I added two image, in the second image I moved the camera a bit to the left. I've got the following problem: I want to render a glitter path of car headlights. For

[osg-users] basic understanding wrong or my calculation?

2015-04-18 Thread Andreas Schreiber
Hi, I am trying to achive a correct light reflection on a water plane. Before you get bored with my calculations ;), I just want to know if I understood the following correct: First: If I use vec3 viewDirToVertexEC = vec3(gl_ModelViewMatrix * gl_Vertex); in the vertex shader, the vector I

Re: [osg-users] StatsHandler missing numbers

2015-04-17 Thread Andreas Schreiber
Hi Émeric, thx for the respond and the idea ;) My driver version is: Intel(R) HD Graphics 4000 Driver Version: 10.18.10.3958 Operating System: Windows* 8.1 (6.3.9600) Installed DirectX* Version: 11.2 Supported DirectX* Version: 11.0 Shader Version: 5.0 OpenGL* Version: 4.0 OpenCL* Version: 1.2

Re: [osg-users] StatsHandler missing numbers

2015-04-17 Thread Andreas Schreiber
Hi, thx for the hint, sometimes they help ;). On my laptop it did not work, I tried every Threadmodel I could find in the viewer. No changes. But i realized that this error in fullscreen is just the lower 2/3 screen. In the top 1/3 the object are fine. I tried to update my driver, but intel

[osg-users] StatsHandler missing numbers

2015-04-16 Thread Andreas Schreiber
Hi, if this was asked before, sorry for the repost I searched for it, but did not found something. My problem is the following: I want to read a few information from my scene. I use the osg statshandler where I can press s and get the frame rate and so on. This works but has one error. A few

Re: [osg-users] StatsHandler missing numbers

2015-04-16 Thread Andreas Schreiber
Hi Robert, my OS is Windows 8.1 64-Bit. Osgtext does run, but the text flimmers, if I try to make a screenshot with the snipping tool it shows all (-.-), after the use it flimmers again. I cant minimize the osgText with f. My OSG version is 3.3.3. A screenshot of my program with activated

Re: [osg-users] RTT Camera does not render anything

2015-04-15 Thread Andreas Schreiber
Hi, I changed my camera. Now I don't use the method where I create the rtt camera, like shown in first post. Now I just created the camera in the method where I setup the scene and it works... I really do not get why Is there a specific order I should follow with the camera calls

Re: [osg-users] RTT Camera does not render anything

2015-04-15 Thread Andreas Schreiber
Hi, ok that was a big mistake from my side. I forgot to set the width and height of the Texture, but I used getTextureWidth() and getTextureHeight to specify the Viewport. Well if the Viewport is (0, 0, 0, 0) there will be nothing to see. But the thing with the orientation I am still trying

Re: [osg-users] RTT Camera does not render anything

2015-04-15 Thread Andreas Schreiber
Hi, my bad for not explaining it very well ;) I want the following: With the RTT Camera I want to render a specific geometry. The texture I get from that, will be used in the main scene later. The RTT Camera must not point in the same direction as the main camera. If this would be the case

[osg-users] RTT Camera does not render anything

2015-04-14 Thread Andreas Schreiber
Hi I'm trying to generate a texture with a rtt-camera, so I can use this texture later in my main scene. To verify if the texture is correct I'm trying to put the texture on a quad in my main scene. I use the following method for the rtt-camera, the red clearColor I used to test what the

Re: [osg-users] [osgPlugins] Loading dae-File results in the object without textures

2015-02-04 Thread Andreas Schreiber
Hi, sorry for dumb question. Found the problem. It was the letter ß in the path to the objects. The diffuse texture is loading fine now =). Lets see how to activate the specular. ... Thank you! Cheers, Andreas -- Read this topic online here:

Re: [osg-users] [osgPlugins] Loading dae-File results in the object without textures

2015-02-02 Thread Andreas Schreiber
Hi I already searched in the forum, if there is any solution for my problem. But did not find any. I've been trying to load a dae-File with osg::ref_ptrosg::Node building = new osg::Node(); building =