Hi Max,
You are setting the limit yourself by using DrawElementsUShort. (Short
== 65536, so I guess it will be working to 255*255)
Use DrawElementsUInt.
The second limit you might be hitting is the GL_MAX_ELEMENTS_VERTICES if
glDrawArray is used.
Btw: What are you trying to achive? If you ne
Hi all,
in the meantime i found the mistake:
Code:
osg::ref_ptr whitePrimitives = new
osg::DrawElementsUShort(GL_QUADS);
has to be
Code:
osg::ref_ptr whitePrimitives = new
osg::DrawElementsUInt(GL_QUADS);
because UShort only reaches from 0 .. 65535 :-*
Cheers,
mfechter
Hi all,
i want to draw a bunch of vertices into my scene, using Openscenegraph 3.3.1.
Therefore, i oriented towared the createBase-function from the Animate-example.
Now if i have a small Vec3Array everything is fine (see first picture 1), but
if the numTilesX and numTilesY (see code) are both s
Hi,
I keep getting this unusual error message when running the vpb Master.
I'm pretty sure there is no such file, and i couldn't google it because this
file doesn't seem to exist at all.
This is my error:
>
> FindFileInPath() : trying /usr/lib/osgPlugins-3.2.1/osgdb_source.so ...
> itr='/usr/li
Hi,
I was faced with the following problem.
On the stage there are several osgText. I need to text disappeared when the
point to which I add it is not visible on the stage or overlaps another object.
I can not find a solution to the problem ety.
Thank you!
Cheers,
Alex
--
Read
As this issue effects a large number of videos and is important functionality
for us, we're willing to pay someone for a fix. If interested, please contact
j...@digitaliseducation.com.
Thanks,
Trystan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php
Hi,
above node visitor is actually working. I just happened to edit a .cpp file
of same name, but belonging to a different project. Hence my changes never
had any effect. ;-)
Christian
2014-11-26 15:29 GMT+01:00 Christian Buchner :
> Sorry, the second block of flags in my posting should have
Sorry, the second block of flags in my posting should have said this:
useDisplayList FALSE
useVertexBufferObjects TRUE
2014-11-26 15:28 GMT+01:00 Christian Buchner :
> Hi,
>
> I wrote the following little node visitor to switch part of a scene graph
> from using display lists to usi
Hi,
I wrote the following little node visitor to switch part of a scene graph
from using display lists to using VBOs.
class VBOVisitor : public osg::NodeVisitor
{
public:
VBOVisitor()
{
setTraversalMode(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN);
}
virtual void apply(osg::N
I (sort of) solved the problem. I re-implemented the camera system according
the Cookbook chapter 6 (which I only used partially the previous time) and
frame buffer objects and multiple render targets worked. It was a combination
of wrong camera settings and scene hierarchy.
Although I did run i
hello,,I love openscenegraph!!___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Ok, I fix the problem of the original characters. I did not notice that the
geometry node was inside the skeleto node, so when I add the skeleton into the
scene the original models was loaded. My solution is this:
Code:
osg::ref_ptr skelroot = new osgAnimation::Skeleton;
skelroot->setDefaultUpda
Thank you very much for the clarifications and suggestions.
Gianni
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61865#61865
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists
HI Gianni,
How to go about it will depend upon what you are trying to achieve with
your application.
At the most basic level it's likely that the ShadpeDrawable has created a
display list and you aren't calling dirty to force it rebuild it after the
change in settings to the osg::Sphere, try call
Hi All,
I need to move an osg::Sphere. I tried with setCenter() in vain. Looking around
I didn't found a solution to redraw the sphere. Isn't there a solution
different from attaching a PositionAttutudeTransform (or something like that)
as parent of the Drawable and modify then the transformatio
15 matches
Mail list logo