[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

Re: [osg-users] Setting Colors

2008-05-21 Thread Daniel Moos
. 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 which is described by a triangle area

Re: [osg-users] Setting Colors

2008-05-21 Thread Daniel Moos
( material.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 colors

[osg-users] Arrays in OpenSceneGraph

2008-05-06 Thread Daniel Moos
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-users mailing list osg-users

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

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] 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

[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...

[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

[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