POV-Ray : Newsgroups : povray.binaries.images : SCC4 wips : Re: SCC4 wips Server Time
6 Aug 2024 19:34:16 EDT (-0400)
  Re: SCC4 wips  
From: Penelope20k
Date: 5 Oct 2006 06:29:16
Message: <4524de7c$1@news.povray.org>
soory for the mistake havent not seen that R() was a macro ...



news:4524ccda@news.povray.org...
> p+p*R*5/9-3*x
> instead of p+R(p/9)*5-3*x
>

> news:4524704a@news.povray.org...
> > Hi folks,
> >
> > I've been off the groups for a few months on account of my PC being on a
> > boat crossing the atlantic (moved back home to England). But anyway,
> here's
> > some stuff I've been working on this week for Paul Bourke's next short
> code
> > contest (as mentioned on pov.general and his website:
> > http://local.wasp.uwa.edu.au/~pbourke/rendering/scc4/ )
> >
> > The dawn scene is basically finished, and it's entire source code is:
> >
> > #local
> >
>
p=function{pattern{granite}}isosurface{function{y-.3+p(x/10,9,z/10)}containe
>
d_by{box{-9,9}}}light_source{<3,.5,8>,1}media{scattering{2,<3,2,1>/9}emissio
> n<.3,.4,1>density{function{.1/(y+1)}}}sphere{0,1pigment{granite
> > poly_wave 4}scale-7*y+9hollow}
> >
> >
> > The grassy scene's currently a bit too long, and has a boring sky:
> >
> > light_source{99,.8-z/2}background{<.7,.8,.9>}#macro
> > R(V)vturbulence(2,.5,6,V)#end#local i=0;#while(i<16384)#local
> > p=mod(i,128)*(z-x)+(z+x)*i/128;#local
> > p=p+R(p/70)*20;cone{p-5*y,.2,p+R(p/9)*5-3*x/*+2*z*/,0pigment{rgb
> > y*2+z}}sphere{p-y*9,4pigment{rgb.9+z}}#local i=i+1;#end
> >
> > Any suggestions on how I can make those a few bytes shorter?
> > -- 
> > Tek
> > http://evilsuperbrain.com
> >
> >
> >
>
>


Post a reply to this message

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