Excellent, that seems to solve my problem. Thank you!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29063#29063
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
how do I specify options for osgDB.writeNodeFile?
I want to save texture filenames in an .osg file without absolute path.
Thanks,
Mathias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29030#29030
Dear ng,
I want to manipulate the coordinates of certain points after loading a mesh
file.
I understand that after calling
n = osgDB.readNodeFile(fname)
I get a Node. However, it should also be a Geode, so I try to call
n.asGeode()
This results in a None type.
Question 1: what do I do
Dear ng,
when I want to open a new graphics context and attach it to a camera in c, this
would look like:
osg::ref_ptrosg::GraphicsContext::Traits traits = new
osg::GraphicsContext::Traits;
[...]
osg::ref_ptrosg::GraphicsContext gc =
Dear ng,
I'm lost with this osg beginner's problem: Given I have an active rendering
context (from glut or Qt etc.),
and an osg group node holding my scene, how can I make osg render a view in
this rendering context?
My current knowledge of osg is sufficient as long as I use the osg::Viewer
Hi,
it seems that
osg::GraphicsContext::createGraphicsContext and
osg::GraphicsContext::Traits
are not available in osgswig. How do I generate a new graphics context then?
Preferably one for offscreen rendering?
Thx!
Mathias
Hi Gerwin,
thanks for the code!
Sadly I can't run it, because my osgViewer.View class has no addSlave method.
That puzzles me, I use osg 2.6, which defines this method...
Thx,
Mathias
-Ursprüngliche Nachricht-
Von: Gerwin de Haan gerwindeh...@gmail.com
Gesendet: 21.02.09 11:51:21
Hi,
I have a strange problem: when I compile osg 2.4 or 2.6 and osgswig on debian
etch
everything works fine with intel, ati or mesa graphics but doing the same thing
on a
virtually identical machine but with nvidia graphics (over a wide range of
versions)
all I get is this as soon as I import
Dear ng,
first of all thanks for the support for my last questions!
I try to get a scene snapshot into a numpy array.
In pure OpenGL I used a QT or glut context and glReadPixels and converted that
to a numpy array using scipy.
My problem on osg is that the context seems to be deactivated after
Dear ng,
I try to build osgswig on debian etch with either osg 2.4 or osg 2.6,
python 2.5, swig 1.3.29, cmake 2.4-patch 5, and a fresh checkout from
the osgswig svn.
With both versions of osg cmake finishes happily but make stops with the
same errors about invalid conversion from 'const char*'
On 18/2/09 10:02 PM, Mathias Franzius wrote:
Dear ng,
I try to build osgswig on debian etch with either osg 2.4 or osg 2.6,
python 2.5, swig 1.3.29, cmake 2.4-patch 5, and a fresh checkout from
the osgswig svn.
With both versions of osg cmake finishes happily but make stops with the
same errors
raise AttributeError(name)
AttributeError: push_back
Again, I'm lost here... Is this the same bug as for osg 2.6?
Best,
Mathias
-Ursprüngliche Nachricht-
Von: Mathias Franzius mathias.franz...@web.de
Gesendet: 18.02.09 11:45:31
An: OpenSceneGraph Users osg-users
12 matches
Mail list logo