POV-Ray : Newsgroups : povray.general : A simple pov-signature Server Time
27 Dec 2024 05:36:53 EST (-0500)
  A simple pov-signature (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: Jellby
Subject: A simple pov-signature
Date: 3 Mar 2003 17:56:00
Message: <3e63dd7f@news.povray.org>
Hi all,

I've been playing with POV and I've made a simple sig, here it is:

-------------
camera{orthographic location 4-8*z direction 3 look_at 0}light_source{4-8*x,
2}light_source{20+30*x,1}union{box{-.1,z+.1}box{-.1,x+.1}box{z-y-.1,z+.1}box
{x-.1,x+y+.1 clipped_by{plane{1-2*x,-.3}}}pigment{rgb<.8,.2,1>}}
-------------

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? :)

-- 

            / /\
Linux user / /  \
#289967   / / /\ \ PGP Pub Key
         / / /\ \ \ 0x01A95F99
        / /_/__\ \ \
       /________\ \ \
       \___________\/


Post a reply to this message

From: Warp
Subject: Re: A simple pov-signature
Date: 3 Mar 2003 18:49:09
Message: <3e63e9f4@news.povray.org>
Jellby <jel### [at] m-yahoocom> wrote:
> direction 3

  "angle 15" seems to work equally well.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Kruger
Subject: Re: A simple pov-signature
Date: 3 Mar 2003 22:44:03
Message: <3e642103@news.povray.org>
how about this

camera{orthographic location 4-8*z look_at
0}light_source{4-8*x,2}light_source
{20+30*x,1}union{box{-x-z-.4,-x+3*z+.4}box{-x-z-.4,3*x-z+.4}box{-x+3*z-4*y-.
4,
-x+3*z+.4}box{3*x-z-.4,3*x-z+4*y+.4
clipped_by{plane{-x-z+4-8*x,-1.2}}}pigment{rgb<.8,.2,1>}}

it didn't actually shorten it, but it's centered

Kruger


Post a reply to this message

From: Mark Weyer
Subject: Re: A simple pov-signature
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

From: Jellby
Subject: Re: A simple pov-signature
Date: 4 Mar 2003 06:55:53
Message: <3e649448@news.povray.org>
Thanks, Warp and Kruger

I've moved the camera and look_at to center the view, and the lights to make 
them shorter (but the effect is not spoiled, at least in my display), and 
changed the order. Now it's centered, shorter, has linebreaks where spaces 
are needed and fits very nicely in 74 colums ;)

-- 
light_source{y,1}light_source{9+7*x,1}camera{orthographic location 9/4-4*z
angle 30 look_at (1-y)/4}union{box{z-y-.1,z+.1}box{-.1,z+.1}box{x-.1,1.1-z
clipped_by{plane{4+y-8*x,0}}}box{-.1,x+.1}pigment{rgb<.8,.2,1>}}/*Jellby*/


Post a reply to this message

From: Mark Weyer
Subject: Re: A simple pov-signature
Date: 4 Mar 2003 07:56:57
Message: <3E64A5A3.2020909@informatik.uni-freiburg.de>
> I've moved the camera and look_at to center the view, and the lights to make 
> them shorter (but the effect is not spoiled, at least in my display), and 
> changed the order. Now it's centered, shorter, has linebreaks where spaces 
> are needed and fits very nicely in 74 colums ;)

71, this time lossless in the picture, though not in the scene:

union{box{-.1.1+x}box{z-y-.1.1+z}box{x-.1.1-z+1clipped_by{plane{4+y-8*x
0}}}box{.1z-.1}pigment{rgb<.8.2,1>}}light_source{9+7*x,1}light_source{y
1}camera{orthographic location 9/4-z*4angle 30look_at(1-y)/4}/*Jellby*/


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

From: Jellby
Subject: Re: A simple pov-signature
Date: 4 Mar 2003 09:16:56
Message: <3e64b558@news.povray.org>
Entre otras cosas, Mark Weyer tuvo a bien escribir:

>> I've moved the camera and look_at to center the view, and the lights to
>> make them shorter (but the effect is not spoiled, at least in my
>> display), and changed the order. Now it's centered, shorter, has
>> linebreaks where spaces are needed and fits very nicely in 74 colums ;)
> 
> 71, this time lossless in the picture, though not in the scene:

Great! Thank you very much, I've been fidling with the macro version too, I 
had tried that but didn't manage to get it shorter... Well, I hope you 
don't mind if I take your code and alter the order in a couple of places, 
hehe. :)

-- 
union{box{-.1.1+x}box{z-y-.1.1+z}box{x-.1.1-z+1clipped_by{plane{4+y-8*x
0}}}box{.1z-.1}pigment{rgb<.8.2,1>}}light_source{y,1}light_source{9+7*x
1}camera{orthographic location-z*4+9/4look_at(1-y)/4angle 30}/*Jellby*/


Post a reply to this message

From: Mark Weyer
Subject: Re: A simple pov-signature
Date: 4 Mar 2003 09:33:26
Message: <3E64BC40.10603@informatik.uni-freiburg.de>
> Well, I hope you
> don't mind if I take your code and alter the order in a couple of places, 

As long as you show me the result ;-)


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

From: ABX
Subject: Re: A simple pov-signature
Date: 4 Mar 2003 10:02:08
Message: <grf96vsueg9l40uskh3p1prch4pfi3ojc2@4ax.com>
On Tue, 04 Mar 2003 15:16:55 +0100, Jellby <jel### [at] M-yahoocom> wrote:
> Great! Thank you very much, I've been fidling with the macro version too, I 
> had tried that but didn't manage to get it shorter... Well, I hope you 
> don't mind if I take your code and alter the order in a couple of places, 
> hehe. :)

While my version is not short enough to be a sig, I had fun making it as:

#macro S(I,G)#macro a(_ J E L B Y)_,y-J,z-E,L-x,B-y,Y#end,max(x-a(max(I.x
,G.x)max(I.y,G.y)max(I.z,G.z)min(I.x,G.x)min(I.y,G.y)min(I.z,G.z))-z)#end
light_source{y 1}light_source{9+7*x 1}isosurface{function{min(max(y*5+z*4
-x*4S(x-.1.1-z+1))S(-.1+t.1+x)S(z-y-.1.1+z)S(z-.1.1+t))}contained_by{box{
-2 2}}pigment{rgb<.8.2>+z}}camera{orthographic location-z*4+9/4look_at(1-
y)/4angle 30}

ABX


Post a reply to this message

From: Jellby
Subject: Re: A simple pov-signature
Date: 4 Mar 2003 10:49:48
Message: <3e64cb1b@news.povray.org>
Entre otras cosas, Mark Weyer tuvo a bien escribir:

>  > Well, I hope you
>> don't mind if I take your code and alter the order in a couple of places,
> 
> As long as you show me the result ;-)

It was the sig in the previous post, anyway, here it is the new one, with 71 
columns again, but with a better lighting.

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

Goto Latest 10 Messages Next 4 Messages >>>

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