Print at Jan 18, 2022, 1:41:53 AM

Posted by enkonyito at Sep 28, 2021, 5:06:02 AM
Re: Add another 3D model to an existing 3D model?
For the first version of the plugin, I used this location for the lightSource.obj file.
final Content sourceContent = new ResourceURLContent (DefaultFurnitureCatalog.class, "resources/lightSource.obj");


Taking inspiration from your ShapeGenerator plug-in, I get these results.
ViewLightSources_firstOpening.jpg
ViewLightSources_secondOpening.jpg

We see that when using the plug-in for the first time, a white box serves as a 3D model of the sources while for other uses the correct model is displayed in the 3D preview.

I can publish this version so that you can suggest some improvements.
----------------------------------------
standby before shutdown