Sample level0 does not work on real HW #6

Closed
opened 2021-06-29 16:36:17 +02:00 by ABelliqueux · 2 comments
ABelliqueux commented 2021-06-29 16:36:17 +02:00 (Migrated from github.com)

When trying to load level0 on real HW, black screen, but level1 works.

Could be :

  • Dependency on a pointer that's not honored by the content of the level file (physics ?).
  • ~Something to do with the temporary use of a hardcoded mesh in the LEVEL struc :~ Removed with 8469e7a 92d05f24a7/custom_types.h (L133)
When trying to load level0 on real HW, black screen, but level1 works. Could be : * Dependency on a pointer that's not honored by the content of the level file (physics ?). * ~Something to do with the temporary use of a hardcoded mesh in the LEVEL struc :~ Removed with 8469e7a https://github.com/ABelliqueux/3dcam-headers/blob/92d05f24a79d34b81bb036afb0a6678633632490/custom_types.h#L133
ABelliqueux commented 2021-07-01 16:36:06 +02:00 (Migrated from github.com)

Issue seems to be related to trying to load/use non existent texture data in vram.

Fixing was :

  • Checking for actual texture data before trying to load a texture to vram.
  • Setting TPage to (2,0,0,0) if no data exists.
  • Setting UVs to 0 if no data exists

Now works in emu, real hw test needed to close.

Issue seems to be related to trying to load/use non existent texture data in vram. Fixing was : - Checking for actual texture data before trying to load a texture to vram. - Setting TPage to (2,0,0,0) if no data exists. - Setting UVs to 0 if no data exists Now works in emu, real hw test needed to close.
ABelliqueux commented 2021-07-02 14:45:39 +02:00 (Migrated from github.com)

Works on real HW with xstation, still not working via serial upload...

Works on real HW with xstation, still not working via serial upload...
Sign in to join this conversation.
No description provided.