AB4D Forum
Instance model group - black textures - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.DXEngine (https://forum.ab4d.com/forumdisplay.php?fid=11)
+--- Thread: Instance model group - black textures (/showthread.php?tid=4279)



Instance model group - black textures - arnaudv - 09-02-2021

Using the sample InstanceModelGroupVisual3DTest I imported a .obj file with textures.
If I add the model directly to the viewport, it is displayed properly, but if I create an InstancedModelGroupVisual3D from it, all the instances are displayed in black instead of the texture.

Is there something to do to get textures properly displayed ?

thanks in advance,


RE: Instance model group - black textures - abenedik - 09-03-2021

Rendering textures with InstancedModelGroupVisual3D was not supported.

I have updated the Ab3d.DXEngine so that this will be supported in the next version. A pre-release version with that support was sent to the arnaudv.