Bitmap "(null)" returned an invalid color

Re: Bitmap “(null)” returned an invalid color

Today I worked on a scene and anything was good, but now I see this message and the rendering crashs from time to time. Also I see wrong colored pixels. I post a request at Chaosgroup - I hope Vlado can help here.

http://www.chaosgroup.com/forums/vbulletin/showthread.php?t=43036

EDIT: it’s independent from the image format PNG or JPG. I tested it and got the same error per both formats. Rhino complete crash, if I enable frame buffer curve control, after I have got the error message.

Re: Bitmap “(null)” returned an invalid color

It almost seams like there might be something within the scene (ie geometry) that is at the heart of the issue. If you added or remeshed an object, and there was some mistake within the mesh (which the Rhino mesher could certainly produce), then that might be enough to lead the error.

In the case of crashing when you start manipulating the frame buffer (levels, curves, exposure), v-ray might be trying to manipulate that color which could cause a number of problems down the line. In other words, V-Ray might deal with that invalid color a certain way just to display it, but it wouldn’t allow any modification of that color.

Anyway, those are just my two guesses. I hope vlado gets back to you on this one, because this has been a “subtle mystery” for a while now.

Re: Bitmap “(null)” returned an invalid color

I found a solution - I replaced the large ground plane mesh of water scene with new geometry and now, I get no bad pixels and no crash - only the error message is visible, but not so often.

It could be good to get the problem solved, because it’s a bad feeling, to run in this issue during a project with tight deadline and to know, that this problem is reported since a long time.

Re: Bitmap “(null)” returned an invalid color

Well its definitely a core issue, so thats on Vlado’s shoulders. I’m not sure what the real problem is, so its really hard to say what the issue could be. Also, I’m not sure how much the error is being seen on the vfMax or vfMaya side of things. If it is, then their’s more of a possibility that it could get tracked down, but if its only happening with us, the who knows. It may have something to do with the geometry translation, or even worse, something with Rhino’s mesher :frowning:

Re: Bitmap “(null)” returned an invalid color

I’ve experienced the same problem with materials (glass in this model) that’s not 100% transparent. When I set it to for example 50% transparency I get the same error at the thread starter.
Strange.

Re: Bitmap “(null)” returned an invalid color URGENT!

Same issue here: i can’t render anything from my final file (exterior render)
is there any solution for this bug??

Re: Bitmap “(null)” returned an invalid color

Nobody? it’s a huge scene, a lot of work behind (materials, models) and now we can’t render it… any idea?
PLEASE

Re: Bitmap “(null)” returned an invalid color

Did you try to overide the materials? Somethimes the reason could be, a bad geometry or bad texture mapping. Also could be a “bad” texture. You should check them all :wink: