AsoboStudio / glTF-Blender-IO-MSFS

Apache License 2.0
139 stars 28 forks source link

Projected Mesh invisible in Simulator #220

Open vpilotdesigns opened 1 year ago

vpilotdesigns commented 1 year ago

Current Behavior

After applying all transforms to a plane, I export it but once in the sdk editor, when added to the project as a projectedmesh, it can be seen for about a second then it becomes invisible. If I open the model with modelconverterx it looks good.

Expected Behavior

Visible at all times

Steps To Reproduce

  1. Export plane (projectedmesh)
  2. Load in sdk project

Environment

- OS:11
- Blender:3.3.3
- glTF-Blender-IO-MSFS:1.3.0

Anything else?

No response

vpilotdesigns commented 1 year ago

image Visible in blender

image Not Visible in simulator

vpilotdesigns commented 1 year ago

Also, as soon as I assign an image to the texture this error comes up. Even if the material is erased and crated again.

image

vpilotdesigns commented 1 year ago

https://user-images.githubusercontent.com/71776971/227353222-4216bb48-edc9-4b25-9c94-7fd6be8fca21.mp4

You can see it appears for about 1 second then disappears.

If this helps, this has happened for a long time before SU12, SU11, etc with Blender 3.1.2 and older versions of the official addon as well

4evercool commented 1 year ago

Hi. Did you try changing the priority to a higher number?

vpilotdesigns commented 1 year ago

@4evercool yes. On the video I posted the priority gets changed.

4evercool commented 1 year ago

What kind of material are you using on the markings? Is that a texture or just albedo color?

vpilotdesigns commented 1 year ago

@4evercool I tried both

4evercool commented 1 year ago

Ok, and what happens if you move the projected mesh outside apron-covered area, does it show on grass? There is one more thing, if you want to use a "textureless" projected mesh, it's color should be coded by vertex color, not albedo color.

vpilotdesigns commented 1 year ago

If l move it outside the apron it doesn't show. I can see the boundary box but no model inside. PMs are only seen for about a split second as seen in the video I posted. If I insert them as a scenery object, they look fine in the sim, but not visible as PM. I open the PMs with modelconverterx and they look fine.

I'll look at the vertex color method. Thanks for the tip