Black/grey color but no model shown
See original GitHub issueHello,
i installed the card via hacs.
i did everything like you showed on youtube but for me the card only shows a grey color sometimes black.
i made the model in sweet home 3d and exported it with the plugin.
i tred it on several browsers and the mobile app
i reduced the yaml code to this but still the same:
type: custom:floor3d-card
path: /local/floorplan/
objfile: home.obj
mtlfile: home.mtl`
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Elements appear black or grey instead of showing material or ...
Instead of real materials or shaded appearances, elements show with black surfaces in 3D views set to realistic or shaded.
Read more >All displayed color on screen are only black and white. Why is ...
All displayed color on screen are only black and white. Why is this? ... ㆍGreyscale : Displays colors on the screen as grey...
Read more >Display color changes to black and white - Motorola Support
When this feature is enabled your phone will change to black and white, as shown in the figure below. To turn off grayscale:...
Read more >Unable to change color of object in Illustrator | Zeedign Tutorials
... to change color of an object in illustrator, but its not working, ... its not working, and it keeps changing the color...
Read more >Rhino Not Showing color or texture on imported 3D model
(3) If your rendered 3D model is still grey: Right-click the object, select "Object Properties," then under "Material" click "edit." Under the "Textures"...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The size of the model can be compressed using the glb format (it requires some tweaking, I will do a tutorial about that) on the other hand the glb will make the card faster to load but if it is too heavy, the card will be hard to render and animate. Some furniture are so detailed that have thousands of vertices; these objects make the rendering very intense for cpu and gpu. You need to strike a balance between esthetic and performance. A model of 100mb can be handled reasonably well by average cpus, but if you have detailed furniture even a simple light (and the shadows) may require thousand of computations to be rendered.
ah hi sorry forgot about that.
like i said above it helped a lot reducing the furniture models down in size and after shrinking the floor model to below 100mb helped a lot, but it was still taking about 40-60 seconds to load.
with your help the model was converted to the glb format which now loads in 2-3 seconds on my notebook and maybe 8 seconds on my mobile phone.
so as you said via mail you will make a tutorial about how to convert the obj model to glb in the future, so im happy right now 😉
thanks again for all your help and this nice project