adizanni / floor3d-card

Your Home Digital Twin: aka floor3d-card. Visualize Home Assistant state and perform actions using objects in a 3D home model based on Three.js.
https://github.com/adizanni/floor3d-card
MIT License
471 stars 67 forks source link

Feature: Allow Sky being enabled without changing card background #187

Open dreimer1986 opened 5 hours ago

dreimer1986 commented 5 hours ago

Is your feature request related to a problem? Please describe. I am quite happy with my results now. After your help in report https://github.com/adizanni/floor3d-card/issues/186 I added all five doors as object groups and created 5 random number binary sensor helpers set as door type. These control the doors and thus the doors randomly open or close now. Lights are still made with the help of "#" as there is just no really fitting model to use for my lamps that has a fitting Light bulb element. This way it's better to select by touch, too. Ground holes are fixed the way you suggested aka ground goes through the walls, too.

Next: Lighting on daytime. I enabled sky and in theory it's a nice feature, but one thing is difficult. My theme is quite transparent and my background is a animated background based on a self made lil addon script. Thus I was quite happy with the possibility to set ground color to transparent:

image

But here you see my little lighting problem then. Enabling sky changes it to this:

image

Lights inside the model are wonderful, but the ground color...

Describe the solution you'd like I'd like to see a way to keep the ground aka background color transparent when sky is on.

Describe alternatives you've considered I tried to find the settings in the JD file myself, but tbh... My little video background js file was more luck that it works... I have no clue how to code JS in a useful way...