|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Add another 3D model to an existing 3D model? » » » » Post: Re: Add another 3D model to an existing 3D model? |
Print at Jan 21, 2026, 12:44:53 AM |
| Posted by enkonyito at Sep 28, 2021, 7: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. ---------------------------------------- EnkoNyito |
|
|
Current timezone is GMT Jan 21, 2026, 12:44:53 AM |