POV-Ray : Newsgroups : povray.general : A simple pov-signature : Re: A simple pov-signature Server Time
4 Aug 2024 18:18:13 EDT (-0400)
  Re: A simple pov-signature  
From: Mark Weyer
Date: 4 Mar 2003 06:24:56
Message: <3E649011.1080100@informatik.uni-freiburg.de>
> It's off-center and the camera statement is too long, but careful 
> positioning of the camera and light sources is needed... Well, what do you 
> think about it? Any ideas to shorten it and "hide" it? :)

Shorten:

camera{orthographic location 4angle 15look_at 0}union{light_source{9*<5,4
2>1}box{x-1.1.1-z}box{-z-.1.1}box{-.1x+.1}light_source{4*y
1}box{x-.1x+y+.1clipped_by{plane{2*y-1,-.3}}}pigment{rgb<.8.2,1>}}

Obfuscate (slightly):

camera#macro A(B,C)box{B-.1B+C+.1#end{orthographic location 4angle 15look_at
0}light_source{4*y,1}light_source{9*<5,4,2>1}union{A(x-1y)}A(-z,z)}A(0x)}A(x
y)clipped_by{plane{2*y-1,-.3}}}pigment{rgb<.8.2,1>}}

Actually that was no lossless compression.

-- 
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}//  Mark Weyer


Post a reply to this message

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