[osg-users] Multitexture: projection a texture on another texture

2017-02-06 Thread Ekaterina Fokina
Hello dear osg masters, I am not very expirienced yet with osg and trying to do a simple example of projection a texture on another texture, but somehow it is not working, seems that some settings are wrong. Could you please have a look at the code: osg::Geode* geode = new osg::Geode;

Re: [osg-users] Texture projection on terrain and gl_TextureMatrix[0...7]

2017-01-30 Thread Ekaterina Fokina
Thank you very much for your answers! Sebastian, according to your last answer, does it mean that it is also possible to project a texture on top of an object which has some other textures in it? Which unit for a texture should then I use? What I want to realize, is to mark on the terrain a spe

[osg-users] How to set texture coordinates

2017-01-13 Thread Ekaterina Fokina
Hello! In the book OpenSceneGraph for Beginners, there is an example - drawing aircraft on a loaded terrain: https://books.google.de/books?id=UaRkiFd_yokC&pg=PT391&lpg=PT391&dq=openscenegraph+example+drawing+aircrafts+on+a+loaded+terrain&source=bl&ots=6KWGRMo0zB&sig=34IGJ7iWlIdQQKCOADBHoJIL3Gc&hl

Re: [osg-users] Visualizing a light cone in scene

2017-01-13 Thread Ekaterina Fokina
Hi, I am doing something similar. If you want to have your cone tilted attach it to your air vehicle using MatrixTransform, like in the example "osgspheresegment": osg::MatrixTransform* positioned = new osg::MatrixTransform; positioned->getOrCreateStateSet()->setMode(GL_NORMALIZE

Re: [osg-users] Texture projection on terrain and gl_TextureMatrix[0...7]

2016-12-23 Thread Ekaterina Fokina
Hello, after checking more the forum, I have found another topic http://forum.openscenegraph.org/viewtopic.php?t=9182&highlight=jotschi with the following code, which I have slightly modified. I would be very grateful, if someone can explain to me why the basic model is black and how to avoid

Re: [osg-users] Texture projection on terrain and gl_TextureMatrix[0...7]

2016-12-22 Thread Ekaterina Fokina
Thank you your answers! Attached there is a printscreen what I get. For the terrain I am using lz.osgt and the image for the texture file is osg128.png. I set the border to transparent, but unfortunatelly it didnĀ“t help... Guys, could you please give me a hint how is it possible to relocate the

[osg-users] Texture projection on terrain and gl_TextureMatrix[0...7]

2016-12-21 Thread Ekaterina Fokina
Hello, I am trying to understand how to project a texture on a specific part of the terrain. There are many examples how to project a texture on a whole object, but not to a part of the oblect. That means the question is how to specify texture coordinates (using the shader) on order to project

Re: [osg-users] osgconv

2014-03-20 Thread Ekaterina Fokina
The problem was in env variable OSG_NOTIFY_LEVEL. Just set it to OSG_NOTIFY_LEVEL=NOTICE and everything was correct after. Thank you, Torben! Cheers, Ekaterina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58667#58667

Re: [osg-users] osgconv

2014-03-19 Thread Ekaterina Fokina
Alberto, right now I have osgversion 3.2.1. I installed it already in a different computer, but it is still the same... Thank you! Cheers, Ekaterina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58654#58654 _

Re: [osg-users] build errors in VPB and latest trunks.

2014-03-19 Thread Ekaterina Fokina
Uwe, could you please write it in more details what you have done to avoid this problem. I have exactly the same error and also Visual studio 2010 x64. Thank you! Cheers, Ekaterina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58652#58652

Re: [osg-users] osgconv

2014-03-04 Thread Ekaterina Fokina
Yes, exactly nothing. Attached there is an image. Cheers, Ekaterina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58367#58367 <>___ osg-users mailing list osg-users@lists.openscenegraph.org http://lis

Re: [osg-users] osgconv

2014-03-04 Thread Ekaterina Fokina
Laurens, before OSG_NOTIFY_LEVEL=WARN And now I have changed it to NOTICE, then restarted computer and tried it again...but it is the same, nothing happens. Cheers, Ekaterina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58370#58370 __