POV-Ray : Newsgroups : povray.general : #declaring warps. : Re: #declaring warps. Server Time
9 Aug 2024 19:35:07 EDT (-0400)
  Re: #declaring warps.  
From: Margus Ramst
Date: 27 May 2000 20:11:51
Message: <3930566E.37A530DB@peak.edu.ee>
Simen Kvaal wrote:
> 
> 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 don't think you can declare a warp. However I have no problems using it in a
macro:

#macro Foo()
    turbulence .2
#end

sphere{
    0,1
    pigment{checker rgb 1, rgb 0 Foo()}
}

Works just like expected, both in regular 3.1g and MegaPov 0.5 (Windows). What
version are you using?

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

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