Re: transparency (and draw callbacks)

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Fri, 26 Jul 1996 20:36:37 +0100


On Jul 25, 2:06pm, Scott McMillan wrote:
> Subject: Re: transparency (and draw callbacks)
> This sounds like the same problems I have been having....see current
> thread about "IV files and transparency"....so far nothing has helped
> though. What HW are you working with?
>
> I have tried to set the transparency to PFTR_NO_OCCLUDE|PFTR_BLEND_ALPHA with
> no luck, and I don't think the glDisable(GL_DEPTH_TEST) call in the draw will
> work because I always have a solid object partially occluding the trasparent
> objects.

Then you should also enable sorting in the cull traversal for your channel.

pfChanTravMode(chan, PFTRAV_CULL, PFCULL_SORT | whatever_else);

>
> My application: sticking needles into anatomical models where the needle is
> solid the skin is very transparent and the interior anatomy is varying
> degrees of transparency. I can move the camera around to get different
> views, so depth order is not constant.

Yeuch!

>
> Regards,
> scott
>
> --
> Scott McMillan | HT Medical, Inc. | Developing virtual
environ-
> scott++at++ht.com | http://www.ht.com | ment medical and surgical
> Ph: 301-984-3706 | 6001 Montrose Rd., Ste. 902 | simulations and surgery
> Fax: 301-984-2104 | Rockville, MD 20852 | simulation creation tools.
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Scott McMillan

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:14 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.