Malt icon indicating copy to clipboard operation
Malt copied to clipboard

Instances becomes transparent in geometry node

Open HSDSZ opened this issue 2 years ago • 11 comments

Malt version

Development-latest

Blender version

Blender 3.1

OS

Windows 11 64bits

Hardware info

Intel i5-9400F | 8 GB RAM | NVDIA GTX 1660 Ti

Issue description and reproduction steps

In eevee/cycles, the instances auto inherit the shader of original object image

If I switch to Malt render engine, the instances become transparent even with set material node added

image

Can this be fixed from the MALT part?

Attachments

instances become transparent in geo node.zip

HSDSZ avatar Mar 22 '22 16:03 HSDSZ

It's weird, because Blender reports the instances as instances of the Sphere object (which they are not) and the Sphere object mesh is empty. I guess this is a bug on the Blender side? I'd need to take a more in-depth look.

In any case, you can workaround the issue with the Realize Instances node: imagen

pragma37 avatar Mar 22 '22 17:03 pragma37

Realize instance works, but the number of triangles increases sharply. I found another work around by instance the whole collection instead of the object image

HSDSZ avatar Mar 23 '22 05:03 HSDSZ

@pragma37 are you aware of the changes made to the API regarding geometry instancing in 3.0 + ? I dont quite understand it myself but in case you have not seen it already here is a link to the changes made in that area (scroll a bit down under 'Geometry Instancing') https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Python_API#Breaking_Changes

Kolupsy avatar May 09 '22 22:05 Kolupsy

@Kolupsy Seems likely related. Thank you, I'll take a look at it.

Edit: Nope, same issue. :(

pragma37 avatar May 10 '22 15:05 pragma37

With previous Malt version, instancing collection is still a workaround. If I use the latest development version, it does not work image

image

Sample File.zip

HSDSZ avatar May 26 '22 14:05 HSDSZ

🤦

I reverted the changes I made. Thank you for reporting.

pragma37 avatar May 26 '22 17:05 pragma37

I reverted the changes I made. Thank you for reporting.

Instanced geometry is still not rendered by Malt. What is keeping this issue from being fixed?

Kolupsy avatar Jul 20 '22 06:07 Kolupsy

I don't remember the details, but iirc there was no way to retrieve the actual mesh data.

The new API didn't fix that and actually introduced new issues.

pragma37 avatar Jul 21 '22 13:07 pragma37

The text drawing is not getting positioned correctly for me, though.

Did you ask the Blender Developers about this? I think it would be pretty important to address this issue. I wanted to create a task on the Blender Dev Talk but I actually do not know all the details about this issue. Also I have come across another addon developer working on a custom render engine and they confirmed that they couldnt render instanced geometry in GN using their engine either

Kolupsy avatar Jul 26 '22 23:07 Kolupsy

Did you ask the Blender Developers about this?

Not yet. I have to set a minimal reproduction script before that.

pragma37 avatar Jul 28 '22 15:07 pragma37