[English] Look up what the material name is for the glass of the light bulb. Fill that name in the field lightSourceMaterialName in the Furniture Library Editor. Import the library and load the model in a project. Now you should have a power setting for the model.
ETA: You can list multiple material names as a light source, just separate them with a space. I'm currently creating traffic lights, some have three different light sources in a single model: Red, Orange, Green. Works perfectly.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
----------------------------------------
[Edit 1 times,
last edit by Keet at Aug 14, 2025, 4:31:44 PM]
[English] Sometimes you can't pick a material name because that same name is used for multiple parts of the model, but you only want one part to act as a light. That can be fixed! This solution also works to add a light source to a model that has no clear part/material that can be designated as a light source.
Create a shape that you want as a light source. Export it and edit the obj and mtl files: In the OBJ file leave the first g line and rename the usemtl line with the light material name you want. Remove all other g and and usemtl lines if there are any. Edit the MTL file and remove all newmtl blocks except the first. Rename the newmtl line with the material name you set in the obj file usemtl line. Save both files. Drag the OBJ file into the 2D view and add it to the existing model where you want the light source, export both together and import in a Furniture Library. Follow the previous instructions to set the lightSourceMaterialName field with the material name you gave the shape you added. Of course you can also use an existing light source object but once you export it, it no longer has a lightSourceMaterialName. Importing the model in a FurnitureLibrary allows to set the lightSourceMaterialName of the original light source so it will function again.
The shape to use as light source can be as simple as a single side form a box (make the other sides invisible before export). Of course it can also be a sphere that you can stretch (long rendering time!). The side of the faces that can be colored is the side that produces the light.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects