|
![](/i/fill.gif) |
"Xilo Musimene" <xil### [at] hotpop com> schreef in bericht
news:3EC### [at] hotpop com...
> I've read your code and you seem to have only 16^2 polygons for your
> skySphere, am I right? Well, I have 10^2, it might explain the
> jaggyness, but I do believe my code is not as optimal as yours! =)
You can get 'perfect' results (without any jaggyness) if you use a skybox
instead of a skysphere. It's a little bit more complicated to make suitable
skybox-textures, but the results are faster and better.
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
![](/i/fill.gif) |