POV-Ray : Newsgroups : povray.binaries.images : Check out the new signature Server Time
18 Nov 2024 16:20:16 EST (-0500)
  Check out the new signature (Message 1 to 10 of 10)  
From: Sir Charles W  Shults III
Subject: Check out the new signature
Date: 22 Mar 2002 01:28:09
Message: <3c9acef9$1@news.povray.org>
I thought I would try my hand at a sig file, since everyone else seems
to have one.

Cheers!

Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip

#declare Z=texture{pigment{crackle}finish{specular.5}};#macro B(a,b)
box{-.5,.5translate<a,b,0>texture{Z}}#end#macro C(a,b)sphere{0,.5
translate<a,b,-.5>texture {Z}}#end#macro N(a,c)#declare
k=0;#while(k<6)#if((c/2)!=int(c/2))B(a,k-1)B(-a,-k+1)#end#declare
c=int(c/2);#declare
k=k+1;#end#end
N(-6,7)N(-5,5)N(-4,1)N(-3,31)N(-2,4)N(-1,7)C(-1,-3)C(1,3)//chip


Post a reply to this message

From:
Subject: Re: Check out the new signature
Date: 22 Mar 2002 03:04:57
Message: <s0pl9u4qvf99l6515j2dk1g236h46c1nan@4ax.com>
On Fri, 22 Mar 2002 01:28:09 -0500, "Sir Charles W. Shults III"
<aic### [at] cflrrcom> wrote:
> I thought I would try my hand at a sig file, since everyone else seems
> to have one.

it produces black image in my 3.5b13 installation
I have tested this with #version 3.1 at beginig
any hint how to force this ?

ABX


Post a reply to this message

From: Marc Jacquier
Subject: Re: Check out the new signature
Date: 22 Mar 2002 03:16:48
Message: <3c9ae870@news.povray.org>
Hi
Put a cam and a light :)
Marc

s0pl9u4qvf99l6515j2dk1g236h46c1nan@4ax.com...
> On Fri, 22 Mar 2002 01:28:09 -0500, "Sir Charles W. Shults III"
> <aic### [at] cflrrcom> wrote:
> > I thought I would try my hand at a sig file, since everyone else seems
> > to have one.
>
> it produces black image in my 3.5b13 installation
> I have tested this with #version 3.1 at beginig
> any hint how to force this ?
>
> ABX


Post a reply to this message

From:
Subject: Re: Check out the new signature
Date: 22 Mar 2002 03:24:38
Message: <neql9ucpedfqdvghoqviarsp32sbsh2tpn@4ax.com>
On Fri, 22 Mar 2002 09:17:48 +0100, "Marc Jacquier" <jac### [at] wanadoofr>
wrote:
> Hi
> Put a cam and a light :)

adding that is against rules of povsigs
without cam and light I've fit his sig into 3 lines :-)

ABX


Post a reply to this message

From:
Subject: Re: Check out the new signature
Date: 22 Mar 2002 03:36:01
Message: <5hql9ug1n6hdikqds951ct0ait9suu3tko@4ax.com>
On Fri, 22 Mar 2002 01:28:09 -0500, "Sir Charles W. Shults III"
<aic### [at] cflrrcom> wrote:
>    I thought I would try my hand at a sig file, since everyone else seems
> to have one.

Ok, my notes

>#declare Z=texture{pigment{crackle}finish{specular.5}};

use #local instead of #declare
use #default to avoid texture in objects
don't use texture if you not use light (or use it with visible values
if you use black objects on black background then good luck ;-)

> #macro B(a,b) box{ -.5,.5translate<a,b,0>texture{Z}}#end

default camera is at z=0 so move your object somewhere deeper (z>0)
if you use #default then you can avoid texture in object at all
it could more confuse when _ would be used instead of B

> #macro C(a,b)sphere{0,.5 translate<a,b,-.5>texture {Z}}#end

default camera is at z=0 so move your object somewhere deeper (z>0)
if you use #default then you can avoid texture in object at all
no need to translate sphere, just use translation as center

> #macro N(a,c)
> #declare k=0;

use #local

> #while(k<6)

 if you want small loop then recursion saves a lot of space

> #if((c/2)!=int(c/2))

 can be replaced with one mod(c,2) calculation

> B(a,k-1)
> B(-a,-k+1)

have you noticed that both calls have 1 and -1 factor for parameters ?
so put only factor to macro, and multi[ply parameters inside macro

> #end
> #declare c=int(c/2);
> #declare k=k+1;

use #local or even replace #while with recursion
and remove declarations at all

> #end
> #end
> N(-6,7)N(-5,5)N(-4,1)N(-3,31)N(-2,4)N(-1,7)
> C(-1,-3)C(1,3)//chip

no need to declare macro C and use it twice, space of this macro is larger
then two unrolled spheres.

Finally check my version of your macro. Feel free to add apropriate light and
pigment :-)

#macro c(h,i,p)#if(i<6)c(int(h/2)i+1p)#if(mod(h,2))_(1)_(-1)#end#end#end//chip
background{1}#macro _(s)box{-.5,.5translate<s*p,s*i-s,19>}#end sphere{<1,3,19>
.5}sphere{<-1,-3,19>.5}c(7,0,-6)c(5,0,-5)c(1,0,-4)c(31,0,-3)c(4,0,-2)c(7,0,-1)

ABX


Post a reply to this message

From:
Subject: Re: Check out the new signature
Date: 22 Mar 2002 03:39:35
Message: <ebrl9uoo41jjdsmd4jbdjvij55ksn2fqa3@4ax.com>

wrote:
> #macro _(s)box{-.5,.5translate<s*p,s*i-s,19>}#end

this macro should be #macro _(s)box{-.5.5translate<s*p,s*i-s,19>}#end :-)

ABX


Post a reply to this message

From: Sir Charles W  Shults III
Subject: Re: Check out the new signature
Date: 22 Mar 2002 04:43:58
Message: <3c9afcde@news.povray.org>
Thank you very much for your help.  Although I have used POVray for
about a year, I have not yet used macros with it, so this is my first
experience.  I sort of expected C-style operators but found that they did
not work as expected, so there is a little learning curve there.  After
Steve's remarks, I rewrote the signature to a much smaller version, and your
comments and notes helped make it smaller still.  I found a better packing
algorithm and I will continue to reduce it.

Cheers!

Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip

#macro B(a,b)superellips
oid{<.2,.2>scale.5translate<a,b,3>pigment{agate}}#end
#macro N(a,c)#local k=0;#while(k<6)#if(mod(c,2))B(k+1,a-2)B(-k-1,-a+2)#end
#local c=int(c/2);#local k=k+1;#end#end N(3,61)N(2,37)N(1,55)N(0,4)N(-1,4)
B(-1,-3)B(1,3)


Post a reply to this message


Attachments:
Download 'Newsig03.jpg' (32 KB)

Preview of image 'Newsig03.jpg'
Newsig03.jpg


 

From:
Subject: Re: Check out the new signature
Date: 22 Mar 2002 05:10:28
Message: <cb0m9u0mkmi2u9kflh2bp1edb00neomkfj@4ax.com>
On Fri, 22 Mar 2002 04:43:53 -0500, "Sir Charles W. Shults III"
<aic### [at] cflrrcom> wrote:
> I rewrote the signature to a much smaller version, and your
> comments and notes helped make it smaller still.

But you probably missed some important notes. The key for use povsig is: copy
sig from post and render _without_ modifications. I can't render your sig
without modifications. I have to add camera and light at least. That's wrong
way. Try to make your sig compatible with default value of camera and change
your finish/background/lightning to make object visible. Check in
http://10best.raytrace.com/short/shortvote.html how nice things can be done
with small amount of characters playing only with default values. Remeber -
nothing additional should be done by the user to render your sig!

ABX


Post a reply to this message

From: Sir Charles W  Shults III
Subject: Re: Check out the new signature
Date: 22 Mar 2002 05:22:39
Message: <3c9b05ef$1@news.povray.org>
Is there a place where the guidelines are posted?  I really don't know a
thing about this stuff.

Cheers!

Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip
(sig will return once all is correct)


Post a reply to this message

From:
Subject: Re: Check out the new signature
Date: 22 Mar 2002 05:45:55
Message: <5v1m9ukepmrsiogst08cfngmcrodf02tja@4ax.com>
On Fri, 22 Mar 2002 05:22:36 -0500, "Sir Charles W. Shults III"
<aic### [at] cflrrcom> wrote:
> Is there a place where the guidelines are posted?  I really don't know a
> thing about this stuff.

There are no straight guidelines but some things are customs.
Try below:
http://www.geocities.com/greyknight3/greyfire/loss/
http://www.geocities.com/greyknight3/signatures.txt
http://members.home.nl/seedseven/povcolor.html
http://www.bmt.com.pl/Poligrodzianie/sigs.pov
http://news.povray.org/search/advanced/?s=sig

ABX


Post a reply to this message

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