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;
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
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
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
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
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
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
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
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
_
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
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
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
__
12 matches
Mail list logo