POV-Ray : Newsgroups : povray.general : Photons Vs RAM : Re: Photons Vs RAM Server Time
5 Nov 2024 18:27:42 EST (-0500)
  Re: Photons Vs RAM  
From: Greg Edwards
Date: 6 Mar 2003 20:06:51
Message: <fgs04f4k1rsr$.1uqx3uvzvez3o.dlg@40tude.net>
On 26 Feb 2003 23:17:02 -0500, Rafal 'Raf256' Maj wrote:

> 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)

At any point did you set POV's priority to anything higher than AboveNormal 
in the task manager? I think that ifyou set POV's priority high enough, it 
will steal time from the memory manager and it won't be able to get enough 
memory for its trace and BOOM!!
Setting POV's priority to no higher than AboveNormal has cured the problem 
for me and I hope it helps you too!

-- 
camera{location 2*y-.9rotate -z*9direction z/1.5look_at y}global_settings{
max_trace_level 99ambient_light 10}#macro G(V,E)pigment{V}finish{diffuse 0
ambient .1-E/10reflection{E metallic}}#end#macro O(N,T)plane{y,N G(T,0)
hollow}#end#macro C(A)sphere{0,A#end O(9,blue 1)O(-1,rgb 1)box{1+9*y,-y-1G(
rgb 1,.95)hollow}C(.99)G(rgb 1,1)}C(1)G(red 1,1)no_reflection}// Greg E


Post a reply to this message

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