|
 |
On Tue, 21 Jan 2003 15:45:22 EST, Carn wrote:
> Shay wrote:
>>
>>Looks very nice. How many triangles per blade of grass?
>>
>> -Shay
>>
>
> Who said anything about triangles =) Each blade is a union of four cones, I
> plan on changing it to meshes however, cones were easier to implement at
> the time.
Try sphere_sweeps. It would be slow but look great!
Post a reply to this message
|
 |
|
 |
"Kevin Loney" <klo### [at] pt2m com> wrote in message
news:3e2cdf5f@news.povray.org...
> something I'm working on for my irtc entry. 5000 blades of grass, less
than
> 20 minutes to render. comments, criticisms, suggestions?
>
> --
Very nice. What's the memory usage?
Gail
--
#macro G(H,S)disc{0z.4pigment{onion color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end G(3,5)G(2,5.5)G(1,5)
G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
)G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)///GS
Post a reply to this message
|
 |
|
 |
these are the stats for 5000 blades of grass without rad or the isosurface
that
I used for the ground
----------------------------------------------------------------------------
Ray->Shape Intersection Tests Succeeded Percentage
----------------------------------------------------------------------------
Cone/Cylinder 454979 38580 8.48
Isosurface 109192 109192 100.00
Isosurface Container 109192 109192 100.00
Bounding Box 6009716 800041 13.31
Vista Buffer 14963855 10388767 69.43
----------------------------------------------------------------------------
Smallest Alloc: 25 bytes Largest: 786456
Peak memory used: 21574535 bytes
----------------------------------------------------------------------------
Time For Parse: 0 hours 3 minutes 33.0 seconds (213 seconds)
Time For Trace: 0 hours 0 minutes 6.0 seconds (5 seconds)
Total Time: 0 hours 3 minutes 38.0 seconds (218 seconds)
----------------------------------------------------------------------------
--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local i=asc(substr("oqshilacefg"
,r,1))-97;disc{<mod(i,7)-3,div(i,7)-1,6>,z,.4
pigment{rgb 10}}_(r+1)#end#end _(1)//KL
Post a reply to this message
|
 |