Re: [osg-users] Setting Colors

2008-05-21 Thread Daniel Moos
al.get(), osg::StateAttribute::ON ); Thanks, Daniel Am 21.05.2008 um 11:33 schrieb Robert Osfield: On Wed, May 21, 2008 at 10:06 AM, Daniel Moos <[EMAIL PROTECTED]> wrote: Thanks for your reply... I already have played a little bit with osg::Material. But I don't create two

Re: [osg-users] Setting Colors

2008-05-21 Thread Daniel Moos
ent front and back color. Is there a simple example for my problem? Thank you very much. Daniel Am 21.05.2008 um 10:29 schrieb Alberto Luaces: El Miércoles 21 Mayo 2008ES 10:18:58 Daniel Moos escribió: Good morning @all I have a question about setting colors of a geometry. We have 3d- objects

[osg-users] Setting Colors

2008-05-21 Thread Daniel Moos
Good morning @all I have a question about setting colors of a geometry. We have 3d- objects which is described by a triangle area. This triangle area has a color, which is set with a ColorArray and a ColorBinding (BIND_OVERALL) Now I want to give a inner and outer color for the triangle area

Re: [osg-users] trackball moves slower when zooming

2008-05-06 Thread Daniel Moos
Hi Roni Could it be, that the zooming depends on the eye-distance. eye-distance * zoom-factor If you come closer the zoom-step will decrease... I think this is the concept which is implemented in OpenSceneGraph. Daniel Am 06.05.2008 um 12:51 schrieb Roni Rosenzweig: Hello In my application

[osg-users] Arrays in OpenSceneGraph

2008-05-06 Thread Daniel Moos
stion. Why use the osg::Array a std::vector and not a std::list? I'm shure there is a good reason... But I haven't got a clue. Thanks & Have a nice day Daniel Moos smime.p7s Description: S/MIME cryptographic signature ___ osg-user

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.3.9 dev release

2008-04-18 Thread Daniel Moos
Hi Robert, Thanks to your answer. You describe the right problem. If i set the following parameter in the xcode project, the application was build successfully. Base SDK Path: $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk Thanks, Daniel Moos Am 18.04.2008 um 21:26 schrieb Robert Osfield: Hi

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.3.9 dev release

2008-04-18 Thread Daniel Moos
ced from: flowmenu ::FlowMenu::FlowMenu(osg::ref_ptr)in FlowMenu.o ld: symbol(s) not found Anyone have an idea what to do? I found the following link on a apple specific page... http://lists.apple.com/archives/X11-users/2005/Sep/msg00025.html Thanks for your great work. Daniel Moos Am 17.04.

Re: [osg-users] A question about zooming with orthographic projection

2008-03-18 Thread Daniel Moos
Hi Ke Li You can implement a zooming functionality with the camera function setProjectionMatrixAsOrtho(...) We also use a orthographic projection in 3d. And we implement our zoom with this nice function. I hope this will help... Have a nice evening! Daniel Moos Am 18.03.2008 um 19:55

Re: [osg-users] polytopeIntersector

2008-01-10 Thread Daniel Moos
Hi Gianluca You say you wish to get the nearest intersection with the PolytopeIntersector... I think the mistake is here: osg::NodePath& nodePath = /*picker->getFirstIntersection()*/closestIntersection.nodePath; If you want to have the nearest intersection, you must get the first intersection

[osg-users] Tablet-Events

2007-12-10 Thread Daniel Moos
Hello Everybody I want to use the tablet-events (ERASER and PEN) for my application. But the only class, which uses this Tablet-Events is the GraphicsWindowCarbon class. This class is only used on apple-computers. Is this right? Can i get tablet-events on linux and windows? Thanks for your repl

Re: [osg-users] Show a Image

2007-12-07 Thread Daniel Moos
BIN); Can you give some more information about it? Thank you for your answer. Daniel Am Freitag, 7. Dezember 2007 10.38:03 schrieb Robert Osfield: > HI Daniel, > > You'll need to place the geometry you want in orthographic frustum. > See the osghud for the settings used. > >

[osg-users] Show a Image

2007-12-07 Thread Daniel Moos
Hello everybody I have a problem with showing an image in a HUD-Display. Here is my code to load and show the image. If i comment out the first two lines the image is visible in the 3d world. But with the two lines the image isn't visible in the scenegraph... Has anybody any idea? I want to sh

[osg-users] Camera manipulation

2007-12-03 Thread Daniel Moos
Hello I wish to implement a zoom like effect. When the user draw a rectangle on the screen the camera should show this rectangle in the fullscreen. So you can show a detail by simply mark it. Has everybody an idea? I haven't much expierience with the camera from osg... Can anyone help? Thanks

[osg-users] OSG with CEGUI

2007-11-28 Thread Daniel Moos
Hello Everybody Have anybody a working osgcegui sample? I found the example in the library and want to try it out. I have downloaded the CEGUI-Sample-Files from the website from CEGUI. I can run the osgcegui with a scheme and a layout without error in osg and cegui. But no window is shown... A

[osg-users] Intersection with osgUtil::PolytopeIntersector

2007-10-28 Thread Daniel Moos
Hi everybody I have a question about intersection. I try to intersect lines with the osgUtil::PolytopeIntersector class. This works fine. Now how can i get the picked line from the picked geometry? I want to have the two vertices from the picked line... Thanks a lot! Daniel My Code for inters

[osg-users] Threading with OSG

2007-10-25 Thread Daniel Moos
Hi everybody I have a complex model. From this model i calculate the silhouette edges. This calculation need some seconds. If i calculate this the view isn't updated. How can i create a thread for this calculation? Or how can I show a message on a osgText::Text before calculating the edges? Th

Re: [osg-users] Level of Detail

2007-10-15 Thread Daniel Moos
Montag, 15. Oktober 2007 12.24:19 schrieb wangmiao: > I have no idea what exactly you want, maybe you can give a little more > detail of your problem. > > - Original Message ----- > From: "Daniel Moos" <[EMAIL PROTECTED]> > To: "OpenSceneGraph Users&quo

Re: [osg-users] Level of Detail

2007-10-15 Thread Daniel Moos
ewgeometry); > newgeode->addDrawable(newgeometry.get()); > > > ----- Original Message - > From: "Daniel Moos" <[EMAIL PROTECTED]> > To: "OpenSceneGraph Users" > Sent: Monday, October 15, 2007 3:00 PM > Subject: [osg-users] Level of Detail >

[osg-users] Level of Detail

2007-10-15 Thread Daniel Moos
Hello Everybody. This User-Group is great... Thanks to all! I have a question about LOD (Level of Detail). I have a complex model to load. The performance isn't good enough with such a complex model. I want an LOD-Node in my program to display this complex model. Give it a way to simplify a mod

[osg-users] Highlighting with OSG

2007-10-07 Thread Daniel Moos
Hi @all I'm new here and I try to make a "simple" hightlighting effect with OpenSceneGraph. I want to highlight triangles, vertexes and lines from a loaded model by picking it with the mouse. The picking isn't the problem. But how can I make a highlighting effect? For example change the color