I’ve been noticing that the custom preview component geometry in grasshopper for rhino 8 won’t show on vray 6 render. Meanwhile in rhino 7, any geometry connected to this component (without converting it into a vray geometry) shows on render. Can anybody replicate this?
Hi,
would you show some example here ?
Hello, can confirm this, in rhino7 everything that is connected to “ custom preview” in gh gets a rendermesh and gets rendered in Enscape,D5,Vantage,V-ray etc
On the contrary, it doesn’t work in rhino 8.. seems the geometry doesn’t pass to a render-mesh anymore?
It must be fixed as it is a workflow breaker and hugely slows down some creative processes
Thank you
I can confirm that the problem exists in Rhino 8.
It seems to be a bug in the Rhino API in RhRdkCustomRenderMeshManager2::HasCustomRenderMeshes(). It returns false for grasshopper meshes, although RenderMeshes()returns the expected result for the same arguments.
I remember it was working, but apparently it gets broken at some point
p.s.
it got broken somewhere between Rhino 8.12 and Rhino 8.20. Works in 8.11
Thank you for finding the flaw, can we please get a fix?
I scheduled my workaround for V-Ray 7.20.01. If McNeel decide to roll a fix in Rhino, every V-Ray previous release will suddenly start working.
so..time to put your bet, I guess
OK - I can’t repeat this here. I have a blank Rhino file. I open GH, add a sphere and a custom preview widget. Wire them up, press Render and it works. This is on Rhino 8.19
I’ve looked at the results of the call to HasCustomRenderMeshes and it seems to return true and false correctly.
Could one of you provide a GH file that exhibits the bug and clear instructions for repeating the behaviour?
- Andy
I’m on Rhino 8 SR20, having just a simple box in the gh model:
cp.gh (1.7 KB)
HasCustomRenderMeshes() returns false for the only object, although RenderMeshes() returns non-empty mesh collection. I believe it is safe to just not call HasCustomRenderMeshes() at all, right ?
Yes, it is safe. But there’s clearly still a bug. I will look into it.
Nik - I still can’t repeat this. I’m pretty much using your exact code and GH file, and it absolutely returns “true” on the call to HasCustomRenderMeshes. Can we zoom about this? Send me an email and let’s set up a time.
Hi, @marknoonmn
Just confirmed that the problem was fixed in 8.24. I believe that will be available soon
otherwise, V-Ray 7.20.01 will contain a workaround.
Thank you reporting this

