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

**URL:** https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092
**Category:** Xsi
**Tags:** general
**Created:** [August 9, 2002, 7:09pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092 "2002-08-09T19:09:08Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![magiclight](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/3be4f8/32.png) [@magiclight](https://forum.highend3d.com/u/magiclight)
#### Post date: [August 9, 2002, 7:09pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/1 "2002-08-09T19:09:08Z")

</div>

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

---

<div class="post-metadata">

### Author: ![atyss](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@atyss](https://forum.highend3d.com/u/atyss)
#### Post date: [August 9, 2002, 9:17pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/2 "2002-08-09T21:17:07Z")

</div>

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

---

<div class="post-metadata">

### Author: ![magiclight](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/3be4f8/32.png) [@magiclight](https://forum.highend3d.com/u/magiclight)
#### Post date: [August 9, 2002, 10:04pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/3 "2002-08-09T22:04:42Z")

</div>

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

---

<div class="post-metadata">

### Author: ![joeright](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/ecae2f/32.png) [@joeright](https://forum.highend3d.com/u/joeright)
#### Post date: [August 11, 2002, 7:58pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/4 "2002-08-11T19:58:40Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![pnoizat2](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/p/d2c977/32.png) [@pnoizat2](https://forum.highend3d.com/u/pnoizat2)
#### Post date: [August 12, 2002, 7:16am UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/5 "2002-08-12T07:16:59Z")

</div>

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

---

<div class="post-metadata">

### Author: ![dilips](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/7ba0ec/32.png) [@dilips](https://forum.highend3d.com/u/dilips)
#### Post date: [August 12, 2002, 8:12pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/6 "2002-08-12T20:12:13Z")

</div>

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](mailto: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

---

<div class="post-metadata">

### Author: ![pnoizat2](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/p/d2c977/32.png) [@pnoizat2](https://forum.highend3d.com/u/pnoizat2)
#### Post date: [August 12, 2002, 11:58pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/7 "2002-08-12T23:58:35Z")

</div>

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

---

<div class="post-metadata">

### Author: ![dilips](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/7ba0ec/32.png) [@dilips](https://forum.highend3d.com/u/dilips)
#### Post date: [August 13, 2002, 4:13pm UTC](https://forum.highend3d.com/t/severe-crashes-using-fur-fg-shadows-anyone/62092/8 "2002-08-13T16:13:49Z")

</div>

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
