My huge scene just started crashing for no reason yesterday.
It is related to certian object or objects (people) - which I copied about 20 more around before it started.
Renders about 1/2 the scene - after lightmap and IRR calculations.
Always crashes around the same place.
VRAY log shows 2 errors:
[2005/May/13|15:38:30] error: UNHANDLED EXCEPTION: Rendering region (0,192)-(64,256)
Last marker is at P:\Vlado\SVN\vray\vrender\src\vray.cpp, line 1334: VRay::getMaxBgColor()
[2005/May/13|15:38:31] error: UNHANDLED EXCEPTION: Rendering region (64,192)-(128,256)
Last marker is at P:\Vlado\SVN\vray\vrender\src\vraygeom.cpp, line 586: VRayObject::shade(), calling Mtl::Shade()
Well the polygon limit and the memory limit are pretty much the same thing, ultimately you are just running out of memory. 1.5-1.6 gigs is where windows will give up. You can get another gig if your using XP and enable the 3GB switch.
The limit it per proccess, so if you had 4GB you could theoreticly render two scenes at the same time using up to 1.6 GB.
To enable the 3GB switch just open up C:\\boot.ini in notepad. Copy the line under “operating systems” and add /3GB to the end of the top one. This way you will get a choice to choose with or without the switch incase it won’t boot. Make sure there is a time set for the timeout so you have time to choose.
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 3GB Switch" /fastdetect /3GB
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
Yes- what is this “in case it won’t boot” business - saw some things about that in this forum. This machine is also my server - I don’t want to mess it up.
various ways to do it, easiest is to show system files option otherwise goto system in control panel or right click my computer, goto advanced->startup and recovery settings.
i have trouble using that switch, network related. I dunno why but the LOM just wont work proberly with it on. The dynamic memory option in vray system rollout is working wonders whenever i hit the barrier though.
You have a boot.ini, in explorer go to “tools” “folder options” on the “View” tab look for “hidden files and folders” and check “Show hidden files and folders”
It can cause some issues but in my experience it works about 90% of the time but with the double entries it is easy to boot wityhout it and remove it if you have to.
Thanks guys… what’s the deal? Some kind of hardware thing?
Yes - ultimately trying to avoid breaking it up - cause it is a big xref mess. Gonna have to build a set of people per view.
I proxied the duplicate objects - like streetlamps. Are you telling me it would be worth the time to proxy my entire people library?.. I need an intern.
my coworkers are currently finishing up an animation of a HUGE retail district that is a least 7 mil polys. And they turned EVERYTHING in the scene into a vray proxy. Would never have rendered properly without it. Its crazy but those vray proxies are life savers.
Right now I’m working on a huge architectural scene, too. Here are some things I did:
-Collapsing small objects to one object. I had a lot(Thousands!) of lowres cars and trees in the scene and I collapsed those sharing the same material to one object. Helped a lot and made the viewport much faster. I also converted them to Vrayproxies then. ( Best option would probably be to make small groups of them and then instance those groups. )
-Converting objects to VrayProxies helped a lot, too. But You have to take care that the objectnames are unique!(I learned that the hard way…)
-Then using Dynamic geometry.
-I also changed the bucketsize to smaller buckets, but I’m not sure how much this had helped.
-Changing the bitmap filtering from summed Area to Pyramidal. Although summed Area is a lot nicer it takes a lot of memory. (There’s a blur script to do this for all bitmaps).
-I resized some textures
I think there are more tips from Vlado somewhere in the helpfiles.
come to think of it theres also the option to change how many faces per leaf in the data structure in system rollout. this have an impact on memory too.
All duplicate objects are instanced vray proxies. I even collapse things like table, chairs, umberall into 1 object, then make the proxies… those are nice. But it’s the unique objects (like all these damn people).
Same here, large district. I’d post some renderings, but the client has really ruined this project, and it was never that great to start with.