POV-Ray : Newsgroups : povray.binaries.images : Escape! WIP (71+30 kbu) : Re: Escape! WIP (71+30 kbu) Server Time
14 Aug 2024 15:18:55 EDT (-0400)
  Re: Escape! WIP (71+30 kbu)  
From: Andrew Wilcox
Date: 4 Oct 2002 11:21:54
Message: <3d9db212@news.povray.org>
Have you thought about using a hight field for the maze walls?  Then you
could reduce the amount of objects and probably speed up the rendering.
This is the technique Gilles Tran uses for his building faces.  You'd just
have to output an a bitmap instead, or do it with the new functions, which I
haven't tried yet.

--
#macro Q(A,E,W)box{-A/2,A/2pigment{rgb 9*W}translate E*A+W/1000}#end#macro
M(D,E)#local A=1/pow(3,D);#if(D<3)#local C=D+1;union{M(C,1)M(C,x+y)M(C,x+z)
M(C,y+z)M(C,x+y-z)M(C,x+z-y)M(C,y+z-x)M(C,x-y)M(C,z-x)M(C,y-z)M(C,y-x)M(C,
x-z)M(C,z-y)M(C,x-y-z)M(C,y-x-z)M(C,z-x-y)translate A*E}#else Q(A,E,x)Q(A,E
,y)Q(A,E,z)#end#end union{M(0,0)rotate<45,145,0>translate z*2}//Andrew


Post a reply to this message

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