POV-Ray : Newsgroups : povray.beta-test : pattern{pigment_pattern{..... : pattern{pigment_pattern{..... Server Time
31 Jul 2024 00:23:45 EDT (-0400)
  pattern{pigment_pattern{.....  
From: ingo
Date: 19 Sep 2001 14:00:53
Message: <Xns9121CB9962792seed7@povray.org>
The pattern{} doesn't like the pigment_pattern{} although it turns any 
pigment into a pattern.

The scene below gives:
Parse error: no matching } in 'pattern', pigment_pattern found instead.

---%<------%<---
#version 3.5;
camera {location  <0,0,-13> look_at 0}
light_source {<50,200,-500> rgb 1}

#declare P=pigment{
   wood
   sine_wave 
   warp{turbulence 0.3}
   scale 0.3
   translate <0.5,0.5,0>
}

height_field {
   function 200,200 {
      pattern {
         pigment_pattern{pigment{P}}
      }
   }
   translate -0.5
   scale <10,2,10>
   rotate <90,0,0>
   pigment {rgb 1}
}
---%<------%<---

PII 233 192MB NT4 SP6 POV-Ray-beta.2

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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