Re: Making holes in pfEarthSky.

New Message Reply Date view Thread view Subject view Author view

Jukka Vaisanen (vaizki++at++merlin.iscape.fi)
Tue, 20 May 1997 16:02:45 +0300 (EET DST)


On Mon, 19 May 1997, Simon Dimaio wrote:

> Hi
>
> I am currently working on a simulation of an excavator (used for digging),
> using Performer 2.0 (IRIX 5.3). The excavator has been modelled and is
> working well, however animating the digging has proved to be little
> tricky. I am able to produce a reasonably convincing hole in the ground,
> but am not able to integrate this with the ground created by using a
> pfEarthSky. An ideal solution would be the ability to make parts of the
> "Earth" transparent, revealing the hole underneith. Is there a way of
> doing this?

How about drawing like this:

1. Draw pfEarthSky
2. Clear zbuffer
3. Draw everything else

This way the holes would not be covered by the Earth (they will overdraw
regardless of the pixel z-positions). I can't think of a better way to do
it, someone else here probably can.

Jukka Vaisanen
Executive Manager

Iscape Software vaizki++at++iscape.fi
Tel: +358-9-648686 GSM: +358-40-5007978

=======================================================================
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:55:15 PDT

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