Re: [osg-users] OSG and Simulink

2010-07-04 Thread Alborz Gharraee
I would really appreciate that, thanks! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29660#29660 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinf

[osg-users] OSG and Simulink

2010-06-30 Thread Alborz Gharraee
Hi I'm using OSG in a small simulation program and I'm trying to use Simulink to control the simulation. The code compiles into a MEX-file without any problems and calling it from the MatLab command prompt runs it all right. The problem is when I use OSG classes in an S-function, and only if I

[osg-users] mesh with per-polygon color data?

2010-06-11 Thread Alborz Gharraee
Hi I have a triangle mesh that contains vertex, triangle vertex index, and color data. I used an osg::Geometry and it is rendered perfectly. Just two questions: 1. When I add the color data to the geometry, the application slows down. I understand that per-primitive binding slows things down, b

[osg-users] osgViewer camera initial orientation

2010-06-06 Thread Alborz Gharraee
Hi, How can I override the osgViewer camera so that it starts with the Z axis pointing out from the screen and the Y axis pointing up (the almost global standard), rather than Y in and Z up? Thank you! Alborz -- Read this topic online here: http://forum.openscenegraph.org/viewt