the hud example doesn't seem to do what I'm looking for. Thats a matrixAsOrtho2D. I'm trying to find a way of using a projection3D matrix and orienting the camera around the model, or transforming the model into camera space.
thanks Paul >-----Original Message----- >From: Robert Osfield [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 5, 2006 09:26 AM >To: 'osg users' >Subject: Re: [osg-users] camera node showing view axis > >Hi Paul, > >Try the osghud example. > >On 12/5/06, Paul Cummings <[EMAIL PROTECTED]> wrote: >> That sounds cool. Its mainly the code for the viewport I'm having >> trouble w/. I can't seem to get a projection matrix to show anything in >> the cameranode, and I don't see any code for doing so. If you had any >> little code snippets I would be very appreciative. >> >> Thanks much in advance, >> >> Paul >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of c sklu >> Sent: Tuesday, December 05, 2006 8:24 AM >> To: osg users >> Subject: Re: [osg-users] camera node showing view axis >> >> >> I just added a cameranode with a viewport in the lower left corner, the >> subgraph is the axes, and using the Producer::Trackball (or whatever >> manipulator you have) set just the orientation part from your main >> camera to the camera node. >> >> On 12/5/06, Paul Cummings <[EMAIL PROTECTED]> wrote: >> > That is exactly right. >> > >> > Thanks >> > >> > Paul >> > >> > -----Original Message----- >> > From: [EMAIL PROTECTED] >> > [mailto:[EMAIL PROTECTED] On Behalf Of Robert >> > Osfield >> > Sent: Tuesday, December 05, 2006 4:03 AM >> > To: osg users >> > Subject: Re: [osg-users] camera node showing view axis >> > >> > >> > Hi Paul, >> > >> > I'm not entirely clear on what you are after. Is it that you want a >> > north/east/up axis overlay on your 3D view to tell you the orientation >> >> > on the scene? >> > >> > Robert. >> > >> > On 12/4/06, Paul Cummings <[EMAIL PROTECTED]> wrote: >> > > >> > > >> > > I'm trying to find a nice way of showing the current direction in my >> >> > > scene using a 3d axis and an osg::CameraNode. I've been on the prowl >> >> > > all day and have had some luck, but if anyone has any suggestions >> > > that >> > >> > > would be great. I do know there's a hud example, although it doesn't >> >> > > seem to be drawing other than an orthogonal projection matrix. >> > > >> > > thanks much, >> > > >> > > Paul >> > > >> > > >> > > -- >> > > Internal Virus Database is out-of-date. >> > > Checked by AVG Free Edition. >> > > Version: 7.5.430 / Virus Database: 268.14.4/532 - Release Date: >> > > 11/13/2006 3:08 PM >> > > >> > > _______________________________________________ >> > > osg-users mailing list >> > > osg-users@openscenegraph.net >> > > http://openscenegraph.net/mailman/listinfo/osg-users >> > > http://www.openscenegraph.org/ >> > > >> > > >> > _______________________________________________ >> > osg-users mailing list >> > osg-users@openscenegraph.net >> > http://openscenegraph.net/mailman/listinfo/osg-users >> > http://www.openscenegraph.org/ >> > >> > -- >> > Internal Virus Database is out-of-date. >> > Checked by AVG Free Edition. >> > Version: 7.5.430 / Virus Database: 268.14.4/532 - Release Date: >> > 11/13/2006 3:08 PM >> > >> > >> > -- >> > Internal Virus Database is out-of-date. >> > Checked by AVG Free Edition. >> > Version: 7.5.430 / Virus Database: 268.14.4/532 - Release Date: >> > 11/13/2006 3:08 PM >> > >> > >> > _______________________________________________ >> > osg-users mailing list >> > osg-users@openscenegraph.net >> > http://openscenegraph.net/mailman/listinfo/osg-users >> > http://www.openscenegraph.org/ >> > >> _______________________________________________ >> osg-users mailing list >> osg-users@openscenegraph.net >> http://openscenegraph.net/mailman/listinfo/osg-users >> http://www.openscenegraph.org/ >> >> -- >> Internal Virus Database is out-of-date. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.4/532 - Release Date: >> 11/13/2006 3:08 PM >> >> >> -- >> Internal Virus Database is out-of-date. >> Checked by AVG Free Edition. >> Version: 7.5.430 / Virus Database: 268.14.4/532 - Release Date: >> 11/13/2006 3:08 PM >> >> >> _______________________________________________ >> osg-users mailing list >> osg-users@openscenegraph.net >> http://openscenegraph.net/mailman/listinfo/osg-users >> http://www.openscenegraph.org/ >> >_______________________________________________ >osg-users mailing list >osg-users@openscenegraph.net >http://openscenegraph.net/mailman/listinfo/osg-users >http://www.openscenegraph.org/ >
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/