inca++at++public.bta.net.cn
Thu, 23 Jan 1997 20:09:28 +0800
+>Angus Dorbie wrote:
>>Looks great, what is it?
It's a simulator of telescope used in space airship. spaceman view earth through
it and square away. it has separatory 9 perspectives with fixed relation.
>>Why can't you avoid multiple windows?
>>A few overlapping channels and the use of arbitrary clip planes
>>or maybe just stencil operations would work.
>> ...
i went astray!
the way is Shape Extension's XShapeCombineMask clip in X window level. so i must
use three windows: one for center, one for up-down-left-right and one for
4-corners.
i'm new in GL/Performer(3 months) and leave stencil out of consideration.
The suggestion get me out of trouble, Thank you very much indeed!
Brian wrote:
>I am impressed it looks like a view out of the bridge of the Millenium Falcon.
>You could do this same effect with one viewport (pfChannel,pfPipe) just use a
>postdraw callback that applies the light blue mask after the Channel has
>rendered. It will give you a lot more graphics bandwidth to do other effects.
the snap.rgb shows normal state(hpr=0.0f) only. i don't think can do with one
viewport.
viewpor1 viewpor2 viewport0
| \ /
\ | / \ /
\ | / \ /
\ | / \ /
\ | / \ /
\ | / \ /
\ | / \ /
\|/
------------------- -------------------
| | | | |
|viewpor1|viewpor2| is equal to | viewport0 | ? i say no.
| | | | |
-------------------- --------------------
and my 9 perspective cones are separatory, but viewports are neighboring.
Thanks again.
liubin
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:26 PDT