Re: Getting Gouraud Color

New Message Reply Date view Thread view Subject view Author view

SCOTT OFRIEL (ofriels1++at++qmsmtpgw.mugu.navy.mil)
22 Jan 1997 08:35:12 U


Perhaps a little more explanation of our situation will help. Thanks for
looking in.

What I am doing is a 3D type bar graph where each bar represents a radar's
range and/or doppler gate (range (x-axis) vs. doppler (y-axis)). The height
of the gate (z-axis) represents the amplitude of the signal in that particular
gate. I would like to have the amplitude of each gate related to color where
blue is the lowest energy and red is the highest. The line I was referring
to is the z-axis which is the amplitude axis and is Gouraud shaded from blue
to red.

For example, if a the max signal strength was 80db and a gates value was 80 db
that bar would be Gouraud shaded from blue to red. If the signal strength for
a gate was 40db the bar would have the same color as the z-axis, from blue to
the color of at the mid-point of the z-axis.

Thanks again,
Scott O'Friel
------------------------------
Date: 1/21/97 7:33 PM
To: OFRIEL, SCOTT
From: Angus Dorbie

This is a linear interpolation in screen space.

Problems will arise if you want to calculate this for projected
screen space and the line is in perspective because the colour
interpolation is not perspective correct. This gets real fun
when you clip the line because the colour gets shaded from the
interpolated clipped line end colour.

Could you give a little more info on why you want to do this so
I can better understand how these issues might relate to you?

Cheers,
Angus.

On Jan 21, 5:58pm, SCOTT OFRIEL wrote:
> Subject: Getting Gouraud Color
> Subject: Time: 5:42 PM
> OFFICE MEMO Getting Gouraud Color Date: 1/21/97
>
> Performer:
>
> Is it possible to get the RGB color value from any place between the two end
> points of a Gouraud shaded line? The line is a pfGeoSet.
>
> Thank you,
> Scott O'Friel
>
>
> =======================================================================
> 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 OFRIEL

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

------------------ RFC822 Header Follows ------------------
Received: by qmsmtpgw.mugu.navy.mil with SMTP;21 Jan 1997 19:21:28 U
Received: from holodeck.csd.sgi.com by sgigate.sgi.com via ESMTP
(951211.SGI.8.6.12.PATCH1502/940406a.SGI)
         id TAA24582; Tue, 21 Jan 1997 19:15:07 -0800
Received: by holodeck.csd.sgi.com (950413.SGI.8.6.12/911001.SGI)
        for info-performer-dist++at++holodeck.csd.sgi.com id SAA24615; Tue, 21 Jan 1997
18:55:32 -0800
Received: from rock.csd.sgi.com by holodeck.csd.sgi.com via ESMTP
(950413.SGI.8.6.12/911001.SGI)
        for <info-performer++at++holodeck.csd.sgi.com> id SAA24599; Tue, 21 Jan 1997
18:55:31 -0800
Received: from sgi.sgi.com by rock.csd.sgi.com via ESMTP
(950413.SGI.8.6.12/910805.SGI)
        for <info-performer++at++relay.csd.sgi.com> id SAA11726; Tue, 21 Jan 1997 18:55:20
-0800
Received: from bitch.reading.sgi.com ([144.253.70.18]) by sgi.sgi.com
(950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id SAA00838; Tue, 21 Jan 1997
18:55:09 -0800
Received: by bitch.reading.sgi.com (940816.SGI.8.6.9/911001.SGI)
         id CAA19658; Wed, 22 Jan 1997 02:54:56 GMT
From: "Angus Dorbie" <dorbie++at++bitch.reading.sgi.com>
Message-Id: <9701220254.ZM19656++at++bitch.reading.sgi.com>
Date: Wed, 22 Jan 1997 02:54:56 +0000
In-Reply-To: "SCOTT OFRIEL" <ofriels1++at++qmsmtpgw.mugu.navy.mil>
        "Getting Gouraud Color" (Jan 21, 5:58pm)
References: <n1358253152.63742++at++qmsmtpgw.mugu.navy.mil>
X-Mailer: Z-Mail (3.2.2 10apr95 MediaMail)
To: "SCOTT OFRIEL" <ofriels1++at++qmsmtpgw.mugu.navy.mil>, info-performer++at++sgi.com
Subject: Re: Getting Gouraud Color
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

=======================================================================
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:54:26 PDT

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