Severe crashes using fur + FG + shadows....anyone?

hi there, I’m using lastest xsi 2.03 at work, and it keep crashing every time I use some fur on complex scenes with some lights +shadows and FG…
it’ really annoying…and if I try with the ‘geometry’ option, it’s even worse…
also another bug i’m having right now, is that having a plane with a weight map and assigned it as cut map for the fur, it displays correctly cut fur in opengl, but when rendering, it displays just a stripe of fur in the distant end of the fur plane and on the rest just dark lines (seems like the fur 's shadows) on the ground…

I think those are very heavy bugs… shouldnt be in a final release…

anyone knows a possible fix?
thanks

I’m not an expert with Hair, but from what I know, if you use shadow maps with hairs it can cause there crashes. Use raytraced shadows only.

Hope this helps
Salutations - Cheers
Bernard Lebel

hi there:)
i’m not using shadow maps…
i tried nearly all kind of things…but I get crashes or creepy results…
it’s not first time I use this damn hair:) but apart from very simple scenes , it seems very unstable (at least when rendering) when hair number and expecialy shadowed lights increases…
when u use just default all goes nearly smooth…
I hope they get a serious remake with XSI3…
also in general seems that render preview goes right without crashing, and final render crashes or get odd results (like that weird areas without hair I said before)
if anyone want some screenshot just tell me…

thanks

I was getting a crash when rendering a scene with hair also. I’ve been able to avoid it by removing disk caching on the dynamic operator.

here is what i wrote down at the siggraph render university, on tuning renderings…

its in note form so it may be vague or even wrong in places (feel free to correct my misinterpretations and spelling mistakes)

xsi_render

AA -3,2 lower threshold value until obviously need to increase min /max levels, at the same time return the threshold to its original position and gradually reduce its value whilst visually assessing the results.

remember to eliptical filter detailed textures that span both foreground and backgound.
also try 4 *4 mitchell filtering.

use shadow maps as often as possible. render options>optimisation shadowmap> enable.

avoid area lights where possible.

AA happens after motion blurr, so be sure to sample motion blurr high and AA low. low motion blurr sampling will cause alot of noise thus AA will be running at its max level in areas that should be soft and blurry.

deformation MB uses a reasonable amount of memory. leave estimate off motion blurr, it doesnt improve speed/ memory use significantly and can give stilted results.

always have scanline on for accelerating prmary rays. unless a lense shader distorts rays.

BSP TUNING> the key to optimisation.
1: set AA -5,-5 it is irelevant to bsp side of tuning.
2: small viewport and R_region
3: logmessages >progress reports
4: open script editor
5: render options>optimisation bsp max depth (24 - 36) number of times space is divided. (binary space partition) tune this first as it has the biggest effect.
bsp max size (10 - 20) max number of triangles in final leaves of divided space.
6: leaf nodes (20 - 40) number of bsp samples

7: view script editor and try to get average leaf size to equil the average leaf size, assuming bsp depth was accurately tuned your bsp tuning is complete.

FINAL GATHERING.

accuracy = number of rays available in the scene.
max radius = max in which final gather ray can be reused.
min radius = inside this area rays present will be used to interpolate the resulting value.

final gather passes work better with blurred textures, this results in less flickering and oversampling. perhaps an automated fx tree process.

FG diagnostics= green is precalculated fg info, red is fg calculated at render time if to few samples fall inside the max radius value. red is only an issue if it is too dense and no green is around to interpolate between.

for net renders final gather maps need to be defined per machine
c:temp$computername

this avoids flickering.

hope that helps your cause.
_sam

Hi there,

We’d like to investigate the problems you’re reporting on our end. If you could email me the zipped scene at dilips@softimage.com it would be very appreciated. If that’s not possible a small script that reproduces the problem would do as well.

Hair in 2.03 was rigorously production tested and used successfully on quite a few large scale projects, we felt fairly confident these tools were production ready. So any problems you’re experiencing we’d like to hear about right away.

Although i don’t know the specifics of your scene, a couple things i could suggest are to make sure when you render, your memory job limit are properly set for your system(render options>optimization>job memory limit). Also, tuning the BSP tree as mentioned above will help optimize your rendering as well. Rendering Hair with shadows and FG will be fairly demanding on your memory requirements so make sure things are optimized in this area. To offer more suggestions i’ll need to look at your scene, so if you could send that off to me that would be great.

btw- For the upcoming release users will be happy to know we’ve completely rewritten the hair shader to use BSP trees to speed up rendering, increase shading quality, as well as make rendering more scalable.

-Dilip Singh

Dilip, did my understanding of the render university look accurate? upon arriving home and reading my notes ive managed to gather a little confusion.
i havent been able to track down the leaf nodes property in 2.03, is this specifically a v3 thing?

nice to see hair will obey the bsp settings also.
_sam

Hi Sam,

Good to see you took some useful information back with you from the univeristy, most the of the stuff you mention looks fairly accurate.

Correct me if i’m mistaken, but I think what you meant above about the bsp tree was to try and get your average leaf size equal to your max.size for your BSP settings.

The goal of tuning the BSP tree settings is to create an optimal balance between the bsp tree depth and the maximum number of triangles per leaf for the scene (max. size). There is no specific leaf node parameter in 2.03 or 3.0 for that matter.

As you mentioned, the best approach is to do a few small test renders and time them to see what works best with your scenes.

-Dilip Singh