Issue Description
I need to create a custom light object that I can modify the various lighting levels.
Solution
To create a custom lamp design in Archicad, where lighting levels can be controlled. Follow these steps to model, integrate, and fine-tune your custom lamp:
1: Model the Lamp Object
Use Archicad's basic modeling tools such as the Slab, Column, Beam, and Morph tools to design the physical structure of the lamp.
2: Incorporate Light
Apply a light source to the object by using the Lamp Tool. This will allow the object to emit light in your project.
TIP: At this stage, it is recommended to adjust the lighting intensity to a close approximation of your desired levels. Doing this now minimizes the adjustments needed later in the process.
3: Save the Lamp as a Custom Object
Once the model is complete and the light source is incorporated, save the lamp as an object.
- Go to File > Libraries and Objects > Save Selection as> Object
This step converts your lamp into a reusable object within your project.
4: Verify the Output Using PhotoRendering. To ensure the lighting behaves as expected, use the PhotoRendering feature to check the results:
- Navigate to Document > Creative Imaging > PhotoRender Projection.
Adjusting Light Intensity via GDL Script
If further control of the light intensity is required, particularly for more granular adjustments, you'll need to modify the object's GDL script. Here's how:
1: Open the Object's GDL Script
- Go to File > Libraries and Objects > Open Object.
This opens the GDL editor, where you can customize the object's behavior.
2: Locate the Light Intensity Setting
- Inside the GDL editor, go to the 3D tab.
- In the script, search for the “Spot Light” definition. Under this section, locate the script for “gs_light_intensity”.
- Adjust the value to match the desired lighting intensity.
3: Save and Apply Changes
After editing the script, close the GDL editor and make sure to save the changes. Your custom light object will now reflect the updated lighting levels.