POV-Ray : Newsgroups : povray.unofficial.patches : Non-Linear transformations : Non-Linear transformations Server Time
2 Sep 2024 18:20:13 EDT (-0400)
  Non-Linear transformations  
From: David Heys
Date: 15 Aug 1999 19:30:31
Message: <37B74D36.3BC3F906@hotmail.com>
hmm.. odd thought. You know what would be interesting to have in POV? A
scale_map function definable in the X, Y, or Z direction, that you could
use on objects from spheres, to CSG's, to isosurfaces. I'm talking about
being able to do this without having to revert to converting to meshes
of triangles.

ie:

sphere {0,1
 pigment {rgb <1,0,0>}
 finish {specular 0.3 roughness 0.03}
 scale_map y {
  [0.0 <1.00, 1.00>]
  [0.3 <3.50, 0.75>]
  [0.7 <0.50, 2.12>]
  [1.0 <1.00, 1.00>]
 }
}

David


Post a reply to this message

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