POV-Ray : Newsgroups : povray.general : Image palette editor? : Image palette editor? Server Time
19 Nov 2024 22:25:18 EST (-0500)
  Image palette editor?  
From: Mahalis
Date: 11 Dec 2001 20:45:53
Message: <3c16b6d1$1@news.povray.org>
Does anyone know of a program where you can specify -blank- number of
entries in -blank- position in the palette of an image, but let it map as
many of the image's colors as possible to the remaining entries? I've tried
ImageMagick, but that won't do the trick (other than that, it's a fantastic
program).

--

//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--


Post a reply to this message

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