On Jan 28, 2012, at 5:47 PM, Tom Browder wrote:

> I think I understand, but since the default for rtedge seems to be an
> aspect ration of 1, isn't this discussion moot, at least for writing
> to a pixmap?  (Of course I'm not thinking of the mged problem with a
> very likely aspect ratio != 1.)  Of course since the bitmap is also
> sometimes written to a frame buffer, would that affect the situation?

Sure, it's moot for rendering a square image, but only because min==max for 
that case.  It's what the behavior should be when they're not the same -- which 
is a common case going to file and to framebuffer (in mged/archer or otherwise).

Leaving it at the diagonal isn't "wrong" but will result in some geometry 
getting clipped if the view aspect is sufficiently different from the bounding 
box aspect.  Since the diagonal is arguably sufficient, that's why my 
suggestion was to first just add the scaling factor parameter.  It's a safe 
non-behavior changing addition that would give the rt* apps and mged a means to 
retain current behavior if we make the default be something else.

Cheers!
Sean


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to