|
|
I'm trying to render a medical data set in a movie. I am using the MRI code at
http://ozviz.wasp.uwa.edu.au/~pbourke/modelling_rendering/df3/ as a starting
point. However, my .df3 file is slightly larger (250 by 250 by 350
1-byte-values). I'm rendering on a 16 GB quad-core workstation with the beta
3.7.0.beta.25, because I need to make use of the multicore architecture.
The beta gives me an "out-of-memory", while 3.6 works without problems.
Strangely enough, in the strace, I cannot find a failing mmap. The reason for
the failure seems to be a large intervals count: lowering it to 30 from 100
solves my problem. Here's the code cooked down just to show the problem:
camera {
location 0
look_at z }
#declare theinterior = interior {
media {
intervals 100
density {
density_file df3 "maus.df3" } } }
box {
<0,0,0>, <1,1,1>
interior { theinterior }
hollow }
Fatal error in renderer: Out of memory.
Render failed
Post a reply to this message
|
|
|
|
Frank nous apporta ses lumieres en ce 2008/02/23 00:18:
> I'm trying to render a medical data set in a movie. I am using the MRI code at
> http://ozviz.wasp.uwa.edu.au/~pbourke/modelling_rendering/df3/ as a starting
> point. However, my .df3 file is slightly larger (250 by 250 by 350
> 1-byte-values). I'm rendering on a 16 GB quad-core workstation with the beta
> 3.7.0.beta.25, because I need to make use of the multicore architecture.
>
> The beta gives me an "out-of-memory", while 3.6 works without problems.
> Strangely enough, in the strace, I cannot find a failing mmap. The reason for
> the failure seems to be a large intervals count: lowering it to 30 from 100
> solves my problem. Here's the code cooked down just to show the problem:
>
> camera {
> location 0
> look_at z }
> #declare theinterior = interior {
> media {
> intervals 100
> density {
> density_file df3 "maus.df3" } } }
> box {
> <0,0,0>, <1,1,1>
> interior { theinterior }
> hollow }
>
> Fatal error in renderer: Out of memory.
> Render failed
>
>
>
>
As the default sampling method is the adaptive one, you should leave intervals
at it's default value of 1 (not 10 as the documentation imply).
Instread, whenever you need more sampling, increase the samples value.
You will also see that your render time will get beter.
samples 1000 is way faster than samples 10 intervals 100
The documentation actualy refer to the former default of sampling method 1. The
defaults are now:
method 3
samples 3
intervals 1
You can use samples 3,4 but the second value is always ignored by method 3.
--
Alain
-------------------------------------------------
Agnostic: Did someone shit?
Post a reply to this message
|
|