Page 1 of 1

TMD loading, transformation and lighting

Posted: August 5th, 2024, 11:36 pm
by Rafal
After a quite a while of trial and error I've managed to build a simple demo that can load TMD models and then display them with independent transformations for each model and camera, include lighting and also allows for MIME deformations. It's all done using libgte & libgpu (so no libgs). It's built with PSYQ SDK.

I'm sure that it could have been done better, performance probably can be improved and I'm not sure if it's 100% correct, but I'm happy that I've finally managed to get it to work.

The full code is available on my github page https://github.com/rafalgrodzinski/psx-playground and I've also uploaded a video to youtube https://www.youtube.com/watch?v=M8Ify7QX0Pw. Maybe someone will find it useful.

Re: TMD loading, transformation and lighting

Posted: August 8th, 2024, 11:51 pm
by gwald
This is very cool!
Have you tried it with PsyCross? It's a PC(SDL2) layer for psyq.
I think in theory it should work!
https://github.com/OpenDriver2/PsyCross ... 66b833417a