On Wed, 2008-10-15 at 20:30 +0100, Robert Osfield wrote: > Hi Jeremy, > > I can certainly understand the desire to keep the code simple as > possible - as there are always factors driving increased complexity as > you introduce new functionality, so complexity that delivers little > functionality is something that may well be bes to cull. > > As for which coordinate frame to adopt, personally I'd go for OpenGL > coordinate frame, as there shouldn't need to be any conversions of > coordinate frame within the scene graph - it's all self consistent. > OpenGL convention doe make it a little more of a learning curve for > windowing centric developers, but shorten the learning curve for 3d > centric developers so this aspect is a bit of six of one half a dozen > of the other.
I totally agree. I think I was a bit too ambitious with osgWidget at first--wanting to support everything I could imagine--and it's caused way too many headaches than if I would have just kept things simple. I shall make it so. > Robert. > > On Wed, Oct 15, 2008 at 7:58 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: > > Hello all! > > > > So, a quick question (particularly to Robert)... > > > > How would you feel if I removed the ability for the user to choose their > > origin with osgWidget via the enum passed to the WindowManager during > > creation? It's just becoming a code maintenance nightmare, and I'm > > having to do a ton of "deferred" positioning since the WindowManager is > > what defines this and I have to wait until a UI Object has > > it's ::managed() method called before I can do anything. I don't imagine > > there are really that many people using it right now other than > > experimentation, so it shouldn't be a big deal. > > > > If so, would you want to keep the default OpenGL origin (which can be > > somewhat confusing to 3rd party UI mod-makers expecting it to be more > > consistent with traditional windowing coordinate systems)? Or should it > > be in the upper-left? Either way is fine, but trying to support both via > > a simple enum (and then having to write all this code to do it properly > > and THEN expecting people remember this when they derive custom Widgets) > > seems to be getting out of hand... > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org