POV-Ray : Newsgroups : povray.general : #local shapes : Re: #local shapes Server Time
1 Aug 2024 22:22:47 EDT (-0400)
  Re: #local shapes  
From: Warp
Date: 7 Apr 2005 21:44:05
Message: <4255e1e5@news.povray.org>
Steely <nomail@nomail> wrote:
> Just out of curiousity: while you are free to define nearly everything


> #local my_shape =
> sphere { ... }
> // inside the my_shape.inc

> and

> #include "my_shape.inc"
> object {my_shape}
> // inside the main .pov-file

  Well, that's exactly what #local is supposed to do. That's why it
exists in the first place. (Why would it even exist otherwise?)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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