getting color values from rgb values

David Ashman (dashman@xhost2.tripos.com)
Mon, 27 Nov 1995 11:34:42 -0600


I'm attempting to write a program for a class which will allow a user to draw
the floor plans of a building and have a VRML file built of it. I need to
allow colors to be applied to the walls and other objects. The only color info
available will be the physical color, none of the lighting effects will be
handled yet. How can I convert the rgb values of the color into VRML
compatible values?

dave

-- 
----------------------------------------------------------------------------
                          _/_/_/   _/_/_/_/ _/   _/       _/       _/_/_/_/
Dave Ashman             _/    _/  _/       _/  _/       _/_/      _/     _/
dashman@tripos.com    _/      _/ _/       _/ _/       _/  _/     _/     _/ 
Product Developer    _/_/_/_/_/ _/_/_/   _/_/       _/    _/    _/_/_/_/
Tripos, Inc.        _/      _/ _/       _/ _/     _/      _/   _/      _/
(314)647-1099      _/      _/ _/       _/  _/   _/        _/  _/       _/
                  _/      _/ _/_/_/_/ _/   _/ _/_/_/_/_/_/_/ _/_/_/_/_/
----------------------------------------------------------------------------
      As a general rule, don't solve puzzles that open portals to Hell.

  • Next message: Andrew C. Esh: "Re: PHIL: Government Involvement"
  • Previous message: J Gwinner/VisNet, I: "Validation (was Re: Apology.)"
  • Next in thesad: Mario Juric - XV Gimnazija: "Re: getting color values from rgb values"