what can i do? ive always a crash?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38569#38569
___
osg-users mailing list
osg-users@lists.openscenegraph.org
nobody an idea?
i tried another thing, but there is no sceneobject on the image
ive also tried the osgscreencapture example
is there a way to get rid of the callback?
i need only one screenshot
Code:
void render()
{
osgUtil::SceneView *SceneView = new osgUtil::SceneView;
Hi,
i want to render a loaded scene into an image.
i dont want to see any viewer windows.
I have tried to realize it with osg::Viewer, but after the call
viewer-frame a viewer window poped up.
Now ive tried it with osgUtils::SceneViewer
but after the draw call - the program crashes
whats
Hi,
here is a screenshot of my scene,
iam using the standard headlight
how can i improve the brightness
ive already implemented a light source too...
light-setAmbient(osg::Vec4(0.0f,0.0f,0.0f,1.0f));
light-setDiffuse(osg::Vec4(1.0f,1.0f,1.0f,1.0f));
Hi,
i want to controll my camera over a osgWidget.
ive implemened the mousePush method from EvenetInterface
Code:
bool mousePush(double, double, const osgWidget::WindowManager* wm2)
{
osgWidget::WindowManager* t =
const_castosgWidget::WindowManager*(wm2);
Hi,
how can i change the color ( yellow )
of an active manipulator
Thank you!
Cheers,
Matthias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24186#24186
___
osg-users mailing list
Hello, Robert,
did you get the file?
Thank you!
Cheers,
Matthias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20445#20445
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
now i tested it with the old command manager
but it didnt work
is there a bug in GridConstraint?
I need a snapping to given points
Can anybody help me?
Code:
osgManipulator::GridConstraint *con = new osgManipulator::GridConstraint( *root
, osg::Vec3(0,0,0), osg::Vec3(1.1,1.1,1.1 ) ) ;
Thank you very much Robert for this reply!
here is the whole code
ive modified the method addDraggerToScene
Code:
/* OpenSceneGraph example, osgmanipulator.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files
Hi,
ive checked the trunk, it works - thanks a lot
Thank you!
Cheers,
Matthias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20064#20064
___
osg-users mailing list
nobody any ideas?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19785#19785
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
iam using the trunk of OSG
I want to have a snap grid for the dragger.
I found the class GridConstraint
can anybody tell me how it works?
Code:
osg::Node *n= new osg::Node;
osgManipulator::GridConstraint *con = new osgManipulator::GridConstraint( *n ,
osg::Vec3(0,0,0),
Hi,
i tried to use -Y as up vector
i set it in MatrixManipulator and i tried to set
Code:
SphericalManipulator *spm = new SphericalManipulator;
spm -setHomePosition( osg::Vec3( 0,0,0 ),osg::Vec3( 0,0,0 ),osg::Vec3(
0,-1,0 ) );
both changes doesnt work because
nobody an idea?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19198#19198
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
iam using the trunk of OSG
i ve a simple code snipped
a Group with a dragger and two transformmatrix objects
and their childs
there is no problem to call the method
pDragger-addTransformUpdating( pTransformBrick1 );
pDragger-addTransformUpdating( pTransformBrick2 );
but when i call the
Hi,
i want to auto generate a few LODs with osg::Simplifier
then i want to add these nodes to an LOD
whats going wrong
i see only the first Node from 0 - 300 pixels distance
iam using Version 2.8.2 of OSG
Code:
int main( int argc, char **argv )
{
glutInit(argc, argv);
iam holding the mouse button not down.
i want a pick each time i move my mouse!
i thought its implemented with : MOVE ...
but its not working
...
Thank you!
Cheers,
Matthias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13254#13254
Thank you Robert
your example works perfect
this is exactly what i need
what osg version did you use?
did you change only code in the swith case section?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13258#13258
ive fied this problem.
the reason was glut
ive forgotten to declare a passiveMouse Callback
sorry ... ;-)
now it works perfect ;-)
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13261#13261
___
in many CAD progs,
is there an option to recalculate Normals with an given angle.
Especially for smoothing.
In OpenSG for example exists the
methode: calcVertexNormals(geo, deg2rad(30))
therefore my question if this is also
implemented in osg yet.
Or how can i implement it?
Hi,
a want to force a Pick each Mouse move
Code:
case osgGA::GUIEventAdapter::MOVE:
{
if ( pick( ea, pViewer, aa ) )
{
return true;
}
return false;
}
case osgGA::GUIEventAdapter::RELEASE:
i set a breakpoint under the case MOVE: expression
Hi,
i need a smooth with recalculate normals of 30 degrees
the left side of picture shows a smoothed version
with smoot visitor. The right side without it.
can i recalculate the normals to 30 degrees with smooth visitor?
Thank you!
Cheers,
Matthias
--
Read this topic online
20 pixel is only a value..
i want to implement a snapping grid
for a dragger
how can i set the snapping to dragger?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13173#13173
___
osg-users mailing
Hi,
iam looking for a function
that calculates normals by given smooth angle
or is it already implemented?
Thank you!
Cheers,
Matthias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13188#13188
Hi,
i use a xy grid and a object dragger.
How can i realize a snapping of 20 pixels by moving the dragger
Thank you!
Cheers,
Matthias
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12884#12884
Hi,
ive a few txt files which contains geometry, like: lines, triangles , quads,
and matrices.
Matrices reffered to sub txt files, which contains also lines quads tris and
matrices.
i wrote my own loader class
One txt file will be loaded in a geode.
the loader runs recursively over all files
Hello
now ive implemented my own Pick Handler
and it runs perfect with the LineSegmentIntersector
thanks a lot !!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10812#10812
___
osg-users mailing
Hi,
ive tried the Picking Handler from
http://www.lulu.com/content/767629
ebook page 116
it uses the PolytopeIntersector
but the accuracy isnt very well
My Question:
can anybody help me to realize a working pick handler
or a picking method which visits only nodes and which gives me the picked
Yes it is.
First my SceneGraph has a a root ( osg::Group ).
The Root contains few transform nodes
under one transform nodes is one node, a model added by a loader.
now i want to click on a object on the screen.
and i want to get a pointer of this object by picking!
the example in the book is
Hi,
if i perfom a pick in my scene
i get the picked node ( TransformNode1 )
i added to this picked Node a boundingbox
( TransformNode1-addchild( boundingNode )
when TransformNode1 isnt picked
i have to remove this boundigbox node
i do this with:
(TransformNode1-removeChild( boundingNode )
thanks a lot it works!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10661#10661
___
osg-users mailing list
osg-users@lists.openscenegraph.org
oh what a great idee!
ive checked that
no... i can't reproduce my problems ...
in osgkeyboardmouse example
i will change my code!
and i will notice you!
thanks
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10664#10664
what is the difference between Polytope Intersector and Linesegment Intersector
?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10665#10665
___
osg-users mailing list
33 matches
Mail list logo