Render.ru

bmrt

Narvi

Активный участник
Рейтинг
11
#1
А bmrt при просчете glob illum умеет сохранять фотонные ( или что там у него карты)? Тоесть, например елси у меня есть шарик с источником света и я хочу вокруг него полетать, будет ли он пересчитывать освещение для каждого кадра?
 
#2
Я могу ошибиться, но скорее всего я не ошибаюсь - сбрасывать карты для последующего использования можно. Другой момент, что если не думать и не настраивать шейдеры, то сбросить придётся именно столько карт, сколько у вас кадров.

Подробнее - c.g.r.r. и нотесы с последнего Siggraph, там есть нечто похожее.
 
#3
Порылся в документации к BMRT и нашёл прямой ответ. Стыдитесь.

> А bmrt при просчете glob illum умеет сохранять фотонные ( или
> что там у него карты)?

file:///D:/bmrt/doc/html/node4.html#sec:indirectoptions

Option "indirect" "string savefile" ["indirect.dat"]

If you specify this option, when rendering is done the contents of the irradiance data cache will be written out to disk in a file with the name you specify. This is useful mainly if the next time you render the scene, you use the following option:

Option "indirect" "string seedfile" ["indirect.dat"]

This option causes the irradiance data cache to start out with all the irradiance data in the file specified. Without this, it starts with nothing and must sample for all values it needs. If you read a data file to start with, it will still sample for points that aren't sufficiently close or have too much error. But it can greatly save computation by using the samples that were computed and saved from the prior run.

> Тоесть, например елси у меня есть
> шарик с источником света и я хочу вокруг него полетать, будет
> ли он пересчитывать освещение для каждого кадра?

И тут есть прямой ответ в документации:

file:///D:/bmrt/doc/html/node4.html#SECTION00440000000000000000

You shouldn't use the "seedfile" option if the objects have moved around. But if the objects are static, either because you have only moved the camera, or because you are rerendering the same frame, the combination of "seedfile" and "savefile" can tremendously speed up computation.

Here's another way they can be used. Say you can't afford to set the other quality options as nice as you would like, because it would take too long to render each frame. So you could render the environment from several typical viewpoints, with only the static objects, and save all the results to a single shared seed file. Then for main frames, always read this seed file (but don't save!) and most of the sampling is already done for you, though it will redo sampling on the objects that move around. Does this make sense?
 
#4
As I could understand we are talking of... Тьфу ты !!!
Насколько я понял речь идет о файлах которые только сам BMRT использовать и может. А есть ли способ использовать результаты расчета occlusion от BMRT при рендеринге в PRMAN.
Читал статью, где один китаец предлагает складывать картинки от BMRT и PRMAN в посте. Картинка в BMRT простая, без шейдеров (там она называется occlusion pass). Пользовался ли кто нибудь этим методом в жизни и насколько суровая практика корректирует гладкую теорию. Т.е. насколько этот метод применим, т.к. возникают вопросы с идентичностью картинок (MB, DOF и пр.)
Если есть возможность и желание, поделитесь
 
#5
ILM people developed the "Ambient Occlusion" technique and use it in the making of Pearl Harbor and Jurassic Park III.


От сюда качать реально работаюшите шейдера и тд ...
http://zj.deathfall.com


Вот тут оригинальная теория (с картинками :)) от ILM :)

http://www.renderman.org/RMR/Books/sig02.course16.pdf.gz
http://www.renderman.org/RMR/Books/sig02.course16.xtra.tgz
 
Сверху