POV-Ray : Newsgroups : povray.general : Plot 3d surface for math funtion : Re: Plot 3d surface for math funtion Server Time
8 Jul 2024 12:08:08 EDT (-0400)
  Re: Plot 3d surface for math funtion  
From: Alain
Date: 4 Jun 2014 21:59:15
Message: <538fcef3@news.povray.org>

> Thanks, that's very helpful.
> Does Povray have predefined color functions so that we can use them instead of
> manually set the color function every time? for example, commonly used color
> function such as
> hue, temperature map, jet, etc?
>
> Best,
> xslittlegrass
>
>

Some patterns do have default colour palletes, those are: bozo, agate, 
wood, checkers (block pattern yellow and green) and hexagon (block 
pattern red, green and blue). All other patterns return a gray gradient 
going from black to white if you don't provide any colour_map.
The thing is that, most of the time, using a user defined map gives 
beter results.

If you find yourself using the same colour map again and again in many 
scenes, you can create an .INC file containing the definition of your 
favourite maps. It's then a simple thing of adding:
#include "My_colour_maps.inc"
to your file and using one of your user colour_map.

An INC file is the same thing as a POV file, it's only the extention 
that is different.


Alain


Post a reply to this message

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