POV-Ray : Newsgroups : povray.general : Photons Vs RAM : Photons Vs RAM Server Time
4 Aug 2024 18:20:51 EDT (-0400)
  Photons Vs RAM  
From: Rafal 'Raf256' Maj
Date: 26 Feb 2003 23:17:02
Message: <Xns932F361B3E304raf256com@204.213.191.226>
Hi, I have another problem with photon, after I get them to work correctly, 
I 'fight' with ocean scene. This scene is using way to much memory :-/
Scene looks like :


  * light source (parrelal rays)


.--- ocean 'wals' - difference of 2 cyliders
V
|------| water surface intersection{plane y=5 and cylinder }
|      |
|      |
|      |
..'.'... ocean follr - height field

I'm going to add another cylinder that would be a media container.

This are importants facts about scene, maybe some of them can be done 
better ?
- ground fog is used to nicely hide distance details, and is used togather 
with media(scatering/absorbion) because fog calculates much faster
- water surface is thin - it's a plane (intersected with ocean shape, to 
avoid shooting photons on infinite object). I used ior=1.5 instead of 1.3 
to get nicer artistic effects
- all area below water surface and ocean floor has ior=1.0 
- I didn't used distpersion as it would generate too much photons to fit in 
memory

- when I set too small spacing, POV allocated over 2 GB RAM, and then XP 
died with blue screen of death :-/ it happened several times. Can POV 
alocate over 2 GB ? Maybe I should instal a real OS like Linux?
- I have 512 DDR RAM, and 60 GB IBM (with overheated during 2 GB render to 
50 C)



-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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