POV-Ray : Newsgroups : povray.general : Obfuscated and short enough for a sig? : Re: Obfuscated and short enough for a sig? Server Time
19 Nov 2024 20:34:08 EST (-0500)
  Re: Obfuscated and short enough for a sig?  
From: Simon Adameit
Date: 9 Jan 2002 10:18:31
Message: <3c3c5f47@news.povray.org>
> #macro
T(O)(min_extent(O)*(1+y)+max_extent(O)*(x+z))/2#end#default{pigment{rgb
> #macro N(Y)#local _=text{ttf"arial"chr(65+Y)1,0}object{_
translate-T(_)rotate
> Y*y*90}#end 1}finish{diffuse.5}}plane{y,0finish{brilliance
0}}intersection{N(0
> )N(1)}camera{look_at 3*z-1translate
1-<2,7,86>/35}background{1}global_settings
> {radiosity{error_bound.05count 100low_error_factor.05}ambient_light 0}
> light_source{-2+4*y 1}
>
> I have removed some vasted spaces, changed some things for better
obuscation and
> recalculated some things. Also I replaced O with  _ for obfuscation but if
you
> leave O as in your sig then you don't need parameter O for macro T.
>
> I think radiosity is not good idea for sig: it makes sig and render longer
with
> your settings. Perhaps try area_light.

It would be a few characters shorter if you would use rad_def.inc. And you
don't need to make macro T() just translate it. Perhaps you could also make
the light darker instead of using diffuse .5
I can't do it myself because my HD is damaged and POV won't run.


Post a reply to this message

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