POV-Ray : Newsgroups : povray.binaries.images : Portal Pigment - Portal pigment.jpeg (1/1) : Re: Portal Pigment - Portal pigment.jpeg (1/1) Server Time
19 Aug 2024 02:21:32 EDT (-0400)
  Re: Portal Pigment - Portal pigment.jpeg (1/1)  
From: Fabien Mosen
Date: 22 Jan 2001 05:08:59
Message: <3A6C066E.16B33891@skynet.be>
Chris Huff wrote:

> This really has nothing to do with normals, it is a pigment...

Wouldn't it be logical to use it as an image type in image_map ?

object {
       Stuff
       pigment {
               image_map {
                         portal {
                                camera {...}
                                }
                         map_type ...
                         once
                         }
               }

       }

The resulting pigment would be mapped onto 0,1 area, as usual, and
one could use image_maps keywords to control how the "image" (though
not a bitmap) is mapped onto the object.  If someone wants to make
a normal of it, there's the "pigment pattern" feature.

Just my 2 rays.

Fabien.


Post a reply to this message

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