Print at Dec 16, 2025, 5:24:17 AM

Posted by Keet at Feb 11, 2024, 2:34:36 PM
Re: How to make a mirror ball?
Try it with this MTL:

newmtl Vase
illum 1
Ka 0.2 0.2 0.2
Kd 1.0 1.0 1.0
Ks 0.0078125 0.0078125 0.0078125
Ns 1.0
map_Kd mirror.jpeg

where mirror.jpeg is the same image as the Sweet Home 3D mirror. (I don't think the image makes any difference for the photo rendering.)
The Ns value can go up to 1000 so a little more shininess might enhance the view.

The OBJ file g group should start like I said before:
g sweethome3d_window_mirror_vase_1
usemtl Vase
v ...
...


You might try it without a texture image and just use a color, then experiment with the Kd and Ks values.

Edit 2:
I found a note I had that this might work better:
Set ambient and diffuse to black (Ka 0 0 0 , Kd 0 0 0) and specular to white (Ks 1 1 1).
Then increase the shininess by experimenting, maybe around 100.
This is of course without a texture image.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects