POV-Ray : Newsgroups : povray.general : #declaring warps. : Re: #declaring warps. Server Time
9 Aug 2024 19:38:14 EDT (-0400)
  Re: #declaring warps.  
From: Bob Hughes
Date: 28 May 2000 02:20:31
Message: <3930baaf@news.povray.org>
Maybe you already realize this, cannot declare a keyword for use later.
#declare Turb=turbulence 0.4
would need to be retrieved as:
warp {turbulence Turb}  anyhow.  If that's possible to begin with anyway in a warp, I
didn't check.

Bob

"Simen Kvaal" <sim### [at] studentmatnatuiono> wrote in message
news:39301e5a@news.povray.org...
| Am I doing it wrongly, or is it impossible to #declare a warp? Povray even
| _crashes_ when I try to get around by using a #macro.
|
| I tried this:
|
| #macro Foo
| turbulence 0.4
| #end
|
| And later:
|
| object
|
|     something_nice_as_well
|     pigment {
|         marble warp { Foo }
|     }
| }
|
| This causes Povray to crash. I also tried to wrap the warp-statement as well
| into the macroa dn just calling the macro to place it like this:
|
| pigment { marble Foo }
|
| But Povray didn't like a warp in a macro.
|
| Anyone who can explain?
|
| TIA,
| Simen Kvaal.
|
|


Post a reply to this message

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