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
.
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
( 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
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
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
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
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
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
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
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
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...
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
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
13 matches
Mail list logo