POV-Ray : Newsgroups : povray.general : Is this a bug or am I missing something obvious? : Re: Is this a bug or am I missing something obvious? Server Time
20 Nov 2024 02:17:55 EST (-0500)
  Re: Is this a bug or am I missing something obvious?  
From: Zen Psycho
Date: 11 Nov 2001 16:43:02
Message: <3bef00f4.16381118@news.povray.org>
On Sun, 11 Nov 2001 22:11:27 GMT, Ze!nPs### [at] yahoocom (Zen Psycho)
wrote:
Blah .. nevermind.. I think it's because I forgot to put the objects
inside the macro in a union. 
.. not to mention the countless other problems in it... which I am
currently fixing. 


>This stops both 3.1 and 3.5
>I can't for the life of me find anything wrong.  with it.
>
>I think this might be a known bug: but when 3.5 windows  renders it-
>it stops, doesn't show the messages window- and it still says
>PARSING... in the status bar. 
>
>Help! :)
>
>
>#macro bar2(I,R,L)
>
>#local N=I+R+R;
>#local M=N/2-R;
>
>difference{ torus{M,R rotate 90*x}
>box{<0,-N+0.1,-R+0.1><N+0.1,N+0.1,R+0.1>}  }          
>difference{ torus{M,R rotate 90*x translate L*x}
>box{<L-N-0.1,-N+0.1,-R+0.1><L,N+0.1,R+0.1>}}
>
>cylinder{<0,M,0>,<L,M,0>,R} cylinder{<0,-M,0>,<L,-M,0>,R}
>
>#end
>
>object{bar2(1,0.2,5) pigment{rgb 1} translate -2.5*x}
>
>camera{location -5*z look_at 0}
>
>light_source{<5,5,-5> rgb 1}


Post a reply to this message

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