Hello Michael, On 01/26/2015 03:29 AM, Michael Raab wrote: > I was trying to setup an application configuration with a HMD as output > (Oculus). I wasn't able to find an appropriate camera decorator to apply > the head orientation similar to OSGProjectionCameraDecorator. > So I would propose to add an additional decorator, e.g. > HeadTrackedStereoDecorator (HTSD), between StereoCameraDecorator (SCD) > and ProjectionCameraDecorator (PCD), moving the user field from PCD to HTSD. > I've attached a sample implementation. Let me know your thoughts.
thanks for sending the code! I've not worked very much with HMDs, but seem to have a vague recollection that they can be handled with OSGProjectionCameraDecorator - albeit perhaps not very elegantly ;) That being said, I'm happy to insert your decorator into the inheritance hierarchy. If there are other opinions now would be a good time to voice them :) Thanks! Cheers, Carsten ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users