[osg-users] changing dimensions of a box

2017-05-30 Thread Mat Monk
Hey guys, i'm an absolute beginner in osg, but i have to use it at a project in university. I'm using MS visual studio 2013 for coding. I've got this task: Creating a box, which changes its dimensions regarding to time. e.g. the box has to grow in x-direction for 5 sec after that in y-direction

Re: [osg-users] changing dimensions of a box

2017-05-30 Thread Robert Osfield
HI Mat, You can tackle this a number of ways. The route I'd take would be to create a static sized box using an osg::Geometry (see the osggeometyr example) then use a vertex shader to modify the vertex values. Have a look at the osghaders for how to set up shaders - this example includes a code

[osg-users] setting 2D manipulator

2017-05-30 Thread Bhanu Chandra
Hi, How can i set 2D manipulator instead of 3D manipulator and also how can i set Units (width units) to meters or feet or Miles etc... ... Thank you! Cheers, Bhanu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70998#70998 ___

[osg-users] change default coordinate system unit

2017-05-30 Thread Vinoth Rajendran
Hi, in osg default coordinate system units are in 'meters'.i am developing a 2D application in that i want change coordinate system units to Lat Lon in Degrees and also respective 2D Projection, is it possible ? and is there any 2D Camera Manipulator in OSG ? Thank you! Cheers, Vinoth

Re: [osg-users] change default coordinate system unit

2017-05-30 Thread Konstantin Podsvirov
Hello!7:58, 31 May 2017 г., Vinoth Rajendran :Hi,in osg default coordinate system units are in 'meters'.i am developing a 2D application in that i want change coordinate system units to Lat Lon in Degrees and also respective 2D Projection, is it possible ? and is there any 2D Camera Manipulator in

Re: 【NEWBIE】Question about osg::MatrixTransform::getMatrix().getTrans() and getRotate()

2017-05-30 Thread Jiechang Guo
Hi Wojtek, I'm so sorry that I replied too late. I was held up by my paper's submission deadline. And the problem I think is solved. Thank you very much. Cheers, Jiechang Wojtek wrote: > Hi Jiechang, > > > I am not sure I am able to pinpoint your problem. I see some weak spots but I > am not

Re: 【NEWBIE】Question about osg::MatrixTransform::getMatrix().getTrans() and getRotate()

2017-05-30 Thread Jiechang Guo
Hi Wojtek, I'm so sorry that I replied too late. I was held up by my paper's submission deadline. And the problem I think is solved. Thank you very much. Cheers, Jiechang Wojtek wrote: > Hi Jiechang, > > > I am not sure I am able to pinpoint your problem. I see some weak spots but I > am not