POV-Ray : Newsgroups : povray.newusers : color maps : Re: color maps Server Time
6 Sep 2024 04:20:25 EDT (-0400)
  Re: color maps  
From: Ken
Date: 5 Feb 1999 22:36:54
Message: <36BBB899.E4491040@pacbell.net>
Richard wrote:
> 
> OK, I've had POV-Ray for a couple months now and played around with it
> and pretty much figured out most of its features. There's just one thing
> that I still don't get at all. That's color maps. I've read all the docs
> and am still completely lost. If anyone out there could offer ANY help,
> it would be greatly appreciated. Also, I'm unclear on the capabilities
> of a color map. For example, could I make like a label for something
> based on a color map rather than using an image map, and if so, how?
> Thanks.

I don't have time right now to go into detail on using color maps
but if you go to the povray.text.scene-files directory you will
find a recent post from me listing web sites with pov-ray tutorials.
There are  couple of those sites listed that have tutorials on
using pigments and color maps. I'm hoping to write a tutorial on
the subject in the nest month or so but as things go I haven't
started and it doesn't solve your current problem.

  Will it help any to say that it's so complicated there is no way
to cover everything ?

 There are not only the issues involved with structuring the color
map but for each pattern type the rules of usage change. One would
think that the same color map would work in any pattern type but
the results are unpredictable because the different patterns evaluate
the slope of the color depending upon whe wave type of the pattern used.

It really is an aquired skill and not something that is learned over
night. A good sense of color control is also needed. If you are poor
at designing your own colors you never will get good control of color
maps. If this is so download my improved kolors.inc file form
http://twysted.net it is in the pov objects collection. It has over
650 predefined colors that are easy to copy and paste into color maps
and there is a .pov file that when rendered has and indexd pallet that
corresponds to the colors in the kolors.inc file. 

  As far as making lables proceeduraly it depends on what you want
to do. A possible method would be to use the pov text object, csg it
into another object like a box, and then csg this construction into
the object the label is to be applied to. There are tricks along
the way and I don't have a ready example handy. If I get time tonight
I'll put something together for you.

For most situations you will find that image maps are not only easier
because of the infinite availablity of material to choose from but
they are also much faster than other methods to render and apply.
A large(480x360 is good} high quality image is manditory for good
results and little images render poorly.

Hope this helps a little. I'll try to get you that example tonight
and keep posted for that tutorial in a month or two.

-- 
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

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