POV-Ray : Newsgroups : povray.binaries.images : GL SkySphere : Re: My GL SkySphere (~120kbu) (Was: GL SkySphere) Server Time
13 Aug 2024 09:29:20 EDT (-0400)
  Re: My GL SkySphere (~120kbu) (Was: GL SkySphere)  
From: Zeger Knaepen
Date: 16 May 2003 08:39:35
Message: <3ec4dc07$1@news.povray.org>
"Xilo Musimene" <xil### [at] hotpopcom> schreef in bericht
news:3EC### [at] hotpopcom...
> 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

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