TMD loading, transformation and lighting

Programming examples for the Psy-Q SDK
Post Reply
Rafal
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: Dec 19, 2023
Location: Poland
Contact:

TMD loading, transformation and lighting

Post by Rafal » August 5th, 2024, 11:36 pm

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.
You do not have the required permissions to view the files attached to this post.

User avatar
gwald
Verified
Net Yaroze Enthusiast
Net Yaroze Enthusiast
Posts: 313
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Contact:

Post by gwald » August 8th, 2024, 11:51 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests