question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Black/grey color but no model shown

See original GitHub issue

Hello,

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. ress laod empty

i made the model in sweet home 3d and exported it with the plugin.

image

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:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adizannicommented, Mar 21, 2022

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.

0reactions
KrX3Dcommented, Mar 30, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found