Hi,
also when i use negative values in the setHeight() call, the heightfield draws
seemed to got its origin in the x=0, y=0 coordinate of the viewer window? is it
not allowed to use negative values as heightfield heights?
Thank you!
Cheers,
Thomas
--
Read this topic online her
Hi,
i cannot find anything in the wiki about it, i got a heightfield set to a
heightieldlayer and this one i set as elevationlayer to a terraintile. now i
cannot find any doc about allocate, setXInterval and setYInterval. If i setup
e.g. allocate(100,100) and set[X,Y]Interval(1.0), then i set a
Hi,
thanks alot, after inserting the technique it complained about a missing
locator, now it works. thanks alot
Thank you!
Cheers,
Thomas
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20764#20764
___
Hi,
i got this little piece of code, with which i wanna display a heightfield. I
read that for performance reasons one should use terrainTile and add the
heightfield to it, but i dont get it to display in the viewer? i know the
osgTerrain example, but i find it is too big for starting. i hope s
Hi,
i inserted the dirtyDisplayList() into an update callback which i set with
setUpdateCallback() and it works, but only if i click into the viewer window
and move the heightField ?
thanks for the help, i will try also the other variants, to see if they work
better.
Thank you!
Cheers,
Thom
Hi,
i use SingleThreaded, i got no multithreading enum property only these
SingleThreaded,
CullDrawThreadPerContext,
ThreadPerContext = CullDrawThreadPerContext,
DrawThreadPerContext,
CullThreadPerCameraDrawThreadPerContext,
Th
Hi,
i only have set ->setDataVariance(osg::Object::DYNAMIC); to the geode, now i
also have set it to the shapeDrawable. Should i apply it only to the
shapeDrawable or to both?
After this change it draws the first point of my setHeight() changes, any
following setHeight() call doesnt paint anyt
Hi,
i created a geode and a heightfield, then i created a shapeDrawable with the
geode as argument. After that i addDrawable to the geode, and the geode to the
group. Now i can see the heightfield, but when i now try to change a height it
does not update the frame?
when i use dirtyDisplayList()
Hi,
it seemed that all translations/transformations are done with a PAT, but when i
rotate the PAT object which does not sit at position 0,0,0 of the
"world-coordinates", but it rotates around the world-coordinate-axis, but i
want to rotate around a axis of the object itself?
I tried code like
Hi,
i can rotate an geometry when i use
osg::PositionAttitudeTransform* rectangleTwoXForm =
new osg::PositionAttitudeTransform();
and add the geometry with
rectangleTwoXForm->addChild(rectangleGeode);
then i can rotate the rectangleTwoXForm with e.g.
rectangleTwoXForm->setAttitu
Hi,
i build an L-shape-plate with a geode and a geometry, but it could also consist
out of two plane-boxes, one box 90 degress folded up to the other. I get it to
move around in the scene with setPosition() member function, but i wanna
control the geometry, so that it e.g. rotates? How can i do
Hi,
thanks for the help. I am on debian there it seemed i must use lower-case
find_package(osg), not OSG.
the line
target_link_libraries(testProjectMain ${OSG_LIBRARY} ${OPENTHREADS_LIBRARY})
works with "OpenThreads" , but ${OPENTHREADS_LIBRARY} it cannot find
Thank you!
Cheers,
Thomas
---
Hi,
i used the source code on this site
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/BasicGeometry,
then i build test-src/ and test-build/ directories. Into test-src/ dir i put
in the file main.cpp with the example code. Then i created a CMakeLists.txt
file and put into it
13 matches
Mail list logo