philiplinden / spacetime

a real(istic) time simulator
https://philiplinden.github.io/spacetime/
Mozilla Public License 2.0
8 stars 0 forks source link

Earth asset fails to load #5

Closed philiplinden closed 9 months ago

philiplinden commented 9 months ago

Other assets like Satellite.glb and Moon.glb load just fine, but Earth.glb fails to load. This might be a corrupted file or a discrepancy in how the author packaged the GLTF to binary.

The original asset is sourced from Poly Pizza

2023-12-10T19:55:27.285102Z ERROR bevy_asset::server: Failed to load asset 'models/Earth.glb' with asset loader 'bevy_gltf::loader::GltfLoader': You may need to add the feature for the file format: failed to load an image: The image format Jpeg is not supported
philiplinden commented 9 months ago

This asset partially loads... https://poly.pizza/m/58PjkXNdpPb

Expectation image

Reality image

philiplinden commented 9 months ago

This asset loads but is offset very far from the origin. I can edit it later, a-la #4 image https://poly.pizza/m/cfM9k9LFaLz

philiplinden commented 9 months ago

https://poly.pizza/m/cfM9k9LFaLz wouldn't load in blender.

Luckily, I figured out the issue with the other model (https://poly.pizza/m/58PjkXNdpPb) -- its normals were inside out for the green parts.

I recalculated the normals and now it's looking better image