On Mon, Jan 30, 2012 at 22:25, Christopher Sean Morrison <[email protected]> wrote:
> On Jan 30, 2012, at 9:53 PM, Tom Browder wrote:
...
>> On visiting another TGM I see that doesn't appear to be true
>> UNLESS
>> you're talking about the bounding box of all primitives comprising the
>> view.
>
> That's exactly what happens, it's the bounding box of all primitives.  It
> behaves that way so that the entire wireframe draws entirely in-view
> for mged.
>
> Of course, for the rt* tools, that's lame.  Begs for another option to
> autoview, perhaps to only consider union and intersection primitives.
>
> The real/robust solution -- which we're not yet capable of calculating --  > 
> requires converting all primitives to brep/nurbs (done), evaluating the  > 
> boolean intersections for all surfaces (not done), then extracting an
> exact bounding box (done).

But don't we have the solution now?  The mged make_bbox command seems
to calculate the desired parameters now.

And if that is not used, rtedge does not seem to output the center of
the viewing bounding box, although I guess the Eye_pos could be used.

Cheers,

-Tom

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to