POV-Ray : Newsgroups : povray.general : Obfuscated and short enough for a sig? Server Time
6 Aug 2024 21:33:27 EDT (-0400)
  Obfuscated and short enough for a sig? (Message 1 to 7 of 7)  
From: Tony[B]
Subject: Obfuscated and short enough for a sig?
Date: 8 Jan 2002 01:55:08
Message: <3c3a97cc@news.povray.org>
#macro T(O)(min_extent(O)*<1,2,1>+max_extent(O)*(x+z))/2#end
#macro N(Y)#local O=text{ttf"arial",Y,1,0}object{O translate
-T(O)}#end#default{pigment{rgb 1}finish{diffuse.5}}plane{y,0
finish{brilliance 0}}background{1} light_source{<-2,2,-2> 1}
global_settings {radiosity {count 100  low_error_factor 0.05
error_bound.05} ambient_light 0} camera{location<1,1,-2>*0.8
look_at 0 translate<1,0,1>/7} #local A=N("A")#local B=N("B")
intersection {object{A} object{B rotate y*90}}//Tony[B] 2002


Can anyone here cut this scene down? It is too long for a sig as-is, I
think. What say you? Either I forget about radiosity and persue other ideas,
or forget about having a fancy sig.


Post a reply to this message

From:
Subject: Re: Obfuscated and short enough for a sig?
Date: 8 Jan 2002 04:09:11
Message: <l5dl3ukdidbjvj36iiqa82q43ojnugihqd@4ax.com>
On Tue, 8 Jan 2002 02:00:47 -0500, "Tony[B]" <ben### [at] catholicorg> wrote:
> Can anyone here cut this scene down? It is too long for a sig as-is, I
> think. What say you? Either I forget about radiosity and persue other ideas,
> or forget about having a fancy sig.

I achived little more then 5 lines (still too long for me). Perhaps some other
povers make it shorter. Here is my version:

#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.

ABX


Post a reply to this message

From: Tony[B]
Subject: Re: Obfuscated and short enough for a sig?
Date: 8 Jan 2002 11:08:59
Message: <3c3b199b@news.povray.org>
Thanks. I'll keep experimenting. :)


Post a reply to this message

From: Simon Adameit
Subject: Re: Obfuscated and short enough for a sig?
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

From:
Subject: Re: Obfuscated and short enough for a sig?
Date: 9 Jan 2002 10:36:57
Message: <pooo3ugvd52sk9aro3agmc0aaovtifqggt@4ax.com>
On Wed, 9 Jan 2002 16:16:53 +0100, "Simon Adameit" <gom### [at] gmxde> wrote:
> It would be a few characters shorter if you would use rad_def.inc

this method in signatures is like avesome rolex in images for me

> And you
> don't need to make macro T() just translate it.

I know. I leaved it mainly becouse of his TONY letters.

> I can't do it myself because my HD is damaged and POV won't run.

sad

ABX


Post a reply to this message

From: Anders K 
Subject: Re: Obfuscated and short enough for a sig?
Date: 9 Jan 2002 19:33:00
Message: <3c3ce13c@news.povray.org>
I got it down to five lines:

#macro T(O)O
translate-(min_extent(O)*(1+y)+max_extent(O)*(x+z))/2#end#default
#macro N(Y)object{T(text{ttf"arial"Y 1 0})#end{pigment{rgb
1}finish{diffuse.5}
}plane{y 0finish{brilliance 0}}light_source{-2+4*y
1}global_settings{radiosity
{error_bound.05count 100low_error_factor.05}ambient_light
0}intersection{N("A"
)}N("B")rotate 90*y}}camera{look_at 3*z-1translate 1-<2 7
86>/35}background{1}

Anders

--
light_source{6#local D#macro B(E)#macro A(D)#declare#declare C=mod(E
D);E=(E-C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(C<3)
}cylinder{0(C=<1 2>).2translate<D+C*A(2)A(4)#else}intersection{torus
{1 .2}box{-2y}rotate<1 0C>*90translate<D+1A(2)*2+1#end-2 13>pigment{
rgb x}finish{specular 1}#end#end#end=-8;1B(445000298)B(519053970)B(
483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

From: Anders K 
Subject: Re: Obfuscated and short enough for a sig?
Date: 9 Jan 2002 19:34:50
Message: <3c3ce1aa$1@news.povray.org>
> I got it down to five lines:

... but something decided to wrap it to ten. Just group every pair of lines
together. :-)

Anders

--
light_source{6#local D#macro B(E)#macro A(D)#declare#declare C=mod(E
D);E=(E-C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(C<3)
}cylinder{0(C=<1 2>).2translate<D+C*A(2)A(4)#else}intersection{torus
{1 .2}box{-2y}rotate<1 0C>*90translate<D+1A(2)*2+1#end-2 13>pigment{
rgb x}finish{specular 1}#end#end#end=-8;1B(445000298)B(519053970)B(
483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

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