🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #26

PEX-SI color models

#26
From: George Fletcher
Date: Wed, 05 Aug 1992 20:44
39 lines
1471 bytes
FIRST: I am brand new to PHIGS and this program is rather large and written
by someone else.

PROBLEM:
I am having some significant problems trying to display application defined
colors in a PEX window.  It seems that no matter what color models I use or
what colors I define I always end up with the same colors.  My current
sequence of step follows.  Any help would be greatly appreciated.

	Open Phigs

	Open Workstation (phigs_ws_type_x_drawable)

	Set Workstation color model to RGB

	Allocate (using pset_colr_rep) all colors currently
	   residing in the X colormap

	....

	Set polyline list colors with RGB values

	Display the polyline

The sets of lines do not show up in the colors specified.

Thanks in advance.

George
==========================================================================
George Fletcher			UUCP:     uunet!trwacs!george
TRW Systems Division		Internet: george@trwacs.fp.trw.com
Fairfax Virginia

-- 
==========================================================================
George Fletcher			UUCP:     uunet!trwacs!george
TRW Systems Division		Internet: george@trwacs.fp.trw.com
Fairfax Virginia
Technical Details
Message-ID: <686@trwacs.fp.trw.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!trwacs!george

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!trwacs!george
From: george@trwacs.fp.trw.com (George Fletcher)
Newsgroups: comp.windows.x.pex
Subject: PEX-SI color models
Keywords: Colors, Visuals
Message-ID: <686@trwacs.fp.trw.com>
Date: 5 Aug 92 20:44:33 GMT
Organization: TRW Systems Division, Fairfax VA
Lines: 39