Unhandled Exception: Preparing camera sampler

Has anyone encountered and Unhandled Exception when Preparing Camera Sampler. This seems to be occurring while network rendering but not when rendering locally.

UNHANDLED EXCEPTION: Updating material (Terrain_VrayBlend_02_tk115) Last marker is at .\src\vrayrenderer.cpp, line 1654: Preparing camera sampler

Your camera isn’t x-ref’d, is it?

Thanks for the suggestion Eric,

No Xref, just linked to two dummies for animation (one has a noise controller on it). I did do a merge at one point to clean up the scene.

I’ve tried everything I can think of, starting with turning off all Displacement, MB and all bitmap filtering, in a few combinations of the previous. I’ve merged the object with the offending material into a new scene made a new camera with no luck. Finally I’ve converted about four 2K TGA maps to 1K and saved them as 16bit. None of that worked so I’ve just finished packaging it up to send to Vlado.

I’ve never seen this error before. Any idea why it would mention camera sampler in relation to a material? Is this some sort of shading error?

Now I am wondering if it may have something to do with my misuse of the VrayBlend. I am using one Blend inside of another :?

Have you tried not using camera at all ? Just from perspective. Maybe it sounds weird (just like any buggg :smile: )…

Thanks for the different perspective Paul :slight_smile:

I just tried your suggestion and it still errors out :frowning:

So - just change your material (Terrain_VrayBlend_02_tk115) . . .

i wouldnt recommend using a blend within a blend.
How detailed is the mesh?

The scene uses a plugin called CompositeMode.dlt, does anyone know where to find it?

Best regards,
Vlado

There you go :slight_smile:

http://www.morphographic.com/Diversions/MaxPlugins/Diversions\_3DMAXPluginsCompositeMode.htm

I’ve rebuilt the VrayBlend so that it’s not a blend withing a blend. The mesh isn’t very detailed as I was hoping to use displacement.

tried that too with no luck

Sorry about that, I thought I had cleaned out all of the third party stuff. Thanks Instinct :slight_smile:

I’m at another location today and will be trying it here also.

Thanks all,
--Jon

I also found this, but the download link on this page is not working. Any alternative one?

Best regards,
Vlado

I would love to have this plugin too, afaik the max 6 version has never been released publicly.

There is another one that does more or less the same, it’s sciAnaComp and it’s available in www.maxplugins.de.

Yeah, unfortunately Jonathan’s scene already uses the CompositeMap one and since I don’t have it, 3dsmax seems to crash while loading the scene.

Best regards,
Vlado

Vlado,

are you still looking for that plugin because I have it on my machine.

I can email it to you if you need it.

V Miller

Ok, this is getting strange…

I’m trying to clean up that material to resend the file and I’m getting multiple fast exits when opening the material editor. This is even after resetting the material editor slots and freeing bitmaps from memory with MaxScript. Could this have something to do with licensing?

Nope, but I was getting the same thing too. In my case, 3dsmax bugged out even loading the scene, and the crash seemed to be related to the missing .dlt file. Even if it did manage to load the scene, it would crash in the material editor later on. In one very rare case I was able to open the scene, remove the missing .dlt and save the scene. On reload that seemed to have fixed everything.

Best regards,
Vlado

Wheew,

that was close! Let’s reload the guns and go on before another of those beasts climbs up that hole. The bug hunt continues …

:lol:
Dieter

Woohoo, yes that seems to be the problem, I think it’s rendering fine now!!! Man I thought I was going crazy.

Vlado,
Thanks so much for your time and what a coincidence that the plugin you didn’t have turned out to be the culprit :slight_smile: