|
|
Am 03.01.2011 10:15, schrieb Hexcoder:
> Am 27.12.2010 18:40, schrieb RM:
>> When i try to render the same scene using 3.7 beta 41 the render will
>> abort
>> about half way through with the message "Internal limit exceeded in
>> FixedSimpleVector"
>> What causes this error?
>
> You are hitting the currently hard coded limit of 127 light sources in
> the workaround code of file backend\interior\media.cpp (lines 695 and 696).
>
>> Are there any workarounds?
>
> 1. You could raise the hard coded limit in the above lines and recompile
Oops, that is not enough. There are more than those places to change.
backend\render\trace.h has some uses of FixedSimpleVector, as has
backend\frame.h
I changed all of them from 127 to 255 entries, which worked for me.
---
A simple enhancement would be to use one constant for all those
container sizes, so the hard coded constant need to be changed only in
one place.
I would "fix" the code if I only understood the intentions of the
authors here fully.
The second step would be to get rid of hard coded limits where possible.
Then get rid of all remaining TODO/FIXMEs...
Thanks, hexcoder
Post a reply to this message
|
|