POV-Ray : Newsgroups : povray.general : Is this an effective approach for large projects? : Re: Is this an effective approach for large projects? Server Time
2 Aug 2024 00:12:12 EDT (-0400)
  Re: Is this an effective approach for large projects?  
From: Zeger Knaepen
Date: 17 Feb 2005 19:00:54
Message: <42153036$1@news.povray.org>
"Brendan Ryan" <bjr### [at] ritedu> wrote in message
news:42115e8b$1@news.povray.org...
> I'm going to work on a project to create a virtual museum and render
> images from many points within it with a spherical camera to view on the
> inside surface of a sphere in an OpenGL program.

You do know that a sky box is faster and more accurate than a sky sphere in
opengl, right?  You only have 6 quads and because they are squares, you have
less distortion on your textures.

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.