XNAGameStudio icon indicating copy to clipboard operation
XNAGameStudio copied to clipboard

Import issues when using MGCB

Open zephyrusgreene opened this issue 6 months ago • 0 comments

Description

I noticed the following issues on the ported tutorial Riemer's Flight Sim.

  • The .bmp file used for section 2 does not draw correctly when imported using .bmp importer. Renaming the file to .png tricks MGCB into using a different importer, which correctly reads the renamed .bmp file.

  • The xwing.x file initially used for section 5 lacks normals or is losing them on import and crashes at mesh.Draw(). Using the technique "ColoredNoShading" resolves basic drawing for that section. Section 6 starts using lighting, bringing the issue right back. Could also be an import issue, unknown.

Steps to Reproduce

Use Monogame 3.8.1 and MGCB for imports. Copy the code from Riemer's 3D Flight Sim tutorial Section 2. Build and run.

Expected Behavior

2D Texture should draw as is.

Actual Behavior

2D texture used for vertex texture drawing is shifted leftward with the overflow on the right side.

Configuration

No response

Other Information

No response

zephyrusgreene avatar Apr 26 '25 03:04 zephyrusgreene