POV-Ray : Newsgroups : povray.newusers : get an color from a color_map : Re: get an color from a color_map Server Time
30 Jul 2024 02:24:06 EDT (-0400)
  Re: get an color from a color_map  
From: Rafal 'Raf256' Maj
Date: 20 Nov 2004 13:09:26
Message: <Xns95A7C32DC48C7raf256com@203.29.75.35>
spa### [at] raf256com news:Xns95A7C1F4A1CCEraf256com@203.29.75.35

> sphere { 0 1 pigment { resr2_map1(0.3) } }

Ofcourse the "0.3" is returned by a macro co I cant caluclate it "by hand".

Also, I came up with a trick - put somewhere a cone with gradient y and 
this color map and user trace() to get color for given value, but this dont 
seem as a nice trick, does it?


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.