[osg-users] OpenGL codes issues in osg version 2.2

2008-04-06 Thread Loong Hin
Hi, I've some opengl drawing codes that works fine in osg 1.2 libaries. But when I port the codes to osg 2.2 libraries, it gives the following error messages in the BlendFunc class. Any advise is greatly appreciated. 1>..\..\include\osg/BlendFunc(160) : error C2143: syntax error : missing ')'

[osg-users] How to debug my own plugin library?

2008-04-06 Thread Bo Jiang
Dear all, Recently, I need to write my own plugin to parse some kind of model file and add it to some "Node". I write one just like "Plug 3d obj" but it does not work. However, as a new comer to OSG, I even don't know how to debug these plugin library, so, would someone give me some ideas?:) B

Re: [osg-users] Dark Side of The Moon

2008-04-06 Thread Renan Mendes
Thanks, Paul, for everything. Renan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Dark Side of The Moon

2008-04-06 Thread Paul Martz
I'm not sure whether AutoTransform ROTATE_TO_SCREEN faces the positive or negative z axis, but yes you understand correctly: The MatrixTransform you add will have to "do the right rotation" so that AutoTransform keeps the side you want facing the viewer. -Paul _ From: [EMAIL PROTECT

[osg-users] Using BoundingSphere with transforms

2008-04-06 Thread Nicolaj Schweitz
Hi, How can BoundingSphere be used with a transform node (PositionAttitudeTransform or MatrixTransform) to align one model's center to another? What I am looking for are a few code examples. Any ideas? cheers Nico ___ osg-users mailing list osg-users@l

Re: [osg-users] Dark Side of The Moon

2008-04-06 Thread Renan Mendes
Hi, Paul. I've done what you've told me. I've made some tests which led me into thinking one thing, which I'd like you to correct me if I'm wrong and give me some further explanations: when I select ROTATE_TO_SCREEN, it looks like the image chosen as 'front' - the side displayed on the screen -

Re: [osg-users] Multiple render targets

2008-04-06 Thread Guy
Robert checked-in the support and example JP wrote for MRT several days ago, so I guess the last svn update should help you with that. Guy. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of zhangguilian Sent: Sunday, April 06, 2008 5:16 PM To:

[osg-users] Multiple render targets

2008-04-06 Thread zhangguilian
Hi, As far as I know MRT is not supported in some ealier version of OSG, there is no call to glDrawBuffers (as opposed to glDrawBuffer) which is needed for MRT. I don't know current vesion of OSG supprot it or not, if not ,is there any solutions available in the osg community today? I would gr

Re: [osg-users] Dark Side of The Moon

2008-04-06 Thread Paul Martz
Insert another MatrixTransform between your arrow and the AutoTransform to point it the way you want it. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Renan Mendes Sent: Saturday, April 05, 2008 7:31 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Dark