POV-Ray : Newsgroups : povray.general : What am I doing wrong? : What am I doing wrong? Server Time
6 Aug 2024 10:21:32 EDT (-0400)
  What am I doing wrong?  
From: Corey Woodworth
Date: 8 Apr 2002 02:13:26
Message: <3cb13506@news.povray.org>
Why doesn't this code work?

#declare fun = function { pigment {
  image_map {
    tga "face.tga"
    map_type 0
    interpolate 2
  }
 }
}

and then this in some object:

texture {
 pigment {
   fun
   color_map {
   [0  color White]
   [1  color Black]
  }
}

it keeps stopping between fun and color_map saying no matching } in pigment
vector function identifier found instad.

HELP!

Corey


Post a reply to this message

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