william_marinelli++at++ntsc.navy.mil
Fri, 19 Apr 96 10:50:39 EST
Starting with a rectangular room which is axially aligned in multigen,
we want our "bounding box" to be aligned with the model regardless of
weather the model is axially aligned or not wrt the viewpoint in the
app. So scratch the traditional pfBox.
We are able to take the multigen xyz(max) and xyz(min) and make planes
with pfMakePts (I'm skipping some trivial steps here) and then make a
polytope with pfPtopeFacet.
Complaint number 1: Wouldn't it be nice if we could map a box to a
polytope with one function call?
Complaint number 1a: When you use points to make a plane and then make
the polytope, the order of the three points is not important so that
the plane normal is pointing out - that is - so the order of the three
points that go into pfMakePts is important. Worked it out thru trial
and error - am sure that there's a more robust way. Another reason I
prefer that the function call which I mentioned above was available.
After making a polytope with xyzmin = (000) and xyzmax = (111), when I
did a check of the box center (0.5 0.5 0.5) with pfPolytopeContainsPt
all I got was a PFIS_MAYBE. Does that make sense?
Dave Luebke, if you're out there, this concerns portals,FYI.
Have a good weekend.
__,-~~/~ `---.
_/_,---( , )
__ / < / ) \___
- ------===;;;'====------------------===;;;===----- - -
\/ ~"~"~"~"~"~\~"~)~"/
(_ ( \ ( > \)
\_( _ < >_>'
~ `-M' ::>|--"
M;|.|.|
M;|.|.|
M;|.|.|
<Ii::|i|`.
(` ^'"`-' ")
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:45 PDT