Material turns black in a rendered viewport

I just discovered this accidentally. I rotated the face of a block while in a rendered viewport, and when I used ctrl+z to undo, the material turned black. There doesn’t appear to be a way to get out of this scenario, other than changing the material.

Thanks,

Dan

Hi Dan - checking it, thanks -

hmm- not happening here so far - is this repeatable ?

-Pascal

Yes, I can make it happen 100% of the time. The material I applied is just out of the provided list. Nothing special there.

I notice that I can get rid of the black by moving any of the 3 sliders even slightly. Or assigning a new colour.

Dan

Hi Dan - so, make a box, as a brep, apply a material. sub-object select a face and gumball rotate it, Undo… you used the word ‘block’ in your post above - the clip does not seems to be about blocks unless you are in BlockEdit, but either way here it does not do what you show - this is a later build so it may just be fixed.

-Pascal

Sorry, I shouldn’t have used the word block. It’s just a simple box. I can’t get the CNC aspect of what I do out of my head. I draw a box and I think of it as a “block” of material.

I just noticed that I don’t even have to rotate. I can do anything, like add a fillet, and undo, and it goes black. It seems more connected to the undo function than anything else.

But like you said, maybe it’s fixed in the next build. I’ll watch for it.

Dan

@DanBayn - Dan, are you still seeing this?

-Pascal

Yes. Still goes black when I undo any changes. I just checked on my laptop and it does the same thing.

Thanks,

Dan

Hi Dan - does the material render (full render) correctly when it displays black? I’m guessing yes, but… (that will help be decide which of the bigger brains to bug about this)

-Pascal

You guessed correctly. The full render, and even the render preview, work as they should. It’s just in the rendered display mode, and only after using undo.

Thanks,

Dan

@jeff - any ideas what to check? Undo makes the materials display as black in rendered viewports. (This does not happen to me so far)

-Pascal

Good morning,

I just checked in last night’s WIP and it’s still happening. One thing I should mention is that this behaviour only begins when a material is applied.

@DanBayn Hi Dan, I’m looking into this now…however, I’m not able to reproduce it at all here… So can you please…

  1. Export your Rendered mode to a .ini file and post it here.
  2. Save your 3dm file when this happens and post it here as well.

My gut tells me this is some kind of material caching problem that reveals itself when something is undone…but I can’t seem to produce the exact situation/state that causes this.

Also, what is your hardware configuration stats? (OS, Video Card, etc…)

Thanks,
-Jeff

Never mind, I just figured out how to reproduce it…

The Skylight is ON by default in V6… but if I turn it off, and then follow your instructions, I get black materials every time.

We’ll fix it!

Thanks,
-Jeff

Okay, thanks.

Hi @DanBayn,

This should now be fixed in this week’s WIP.

Thanks for the report and patience.

-Jeff

Okay, thanks, I’ll test it when its released.

RH-41941 is fixed in the latest WIP

Yes, the fix was effective. Thanks.