2021-06-22 17:49:56 +02:00
2021-04-16 20:22:03 +02:00
2021-05-02 19:12:13 +02:00
2021-05-02 19:12:13 +02:00
2021-04-10 14:22:48 +02:00
2021-02-11 16:00:01 +01:00
2021-04-20 11:55:52 +02:00
2021-06-22 17:24:52 +02:00
2021-05-02 19:12:13 +02:00
2021-04-15 18:18:39 +02:00
2021-06-22 17:24:52 +02:00
2021-04-16 20:22:03 +02:00
2021-04-13 16:52:48 +02:00
2021-05-02 19:12:13 +02:00
2021-05-02 12:52:09 +02:00
2021-04-10 14:22:48 +02:00
2021-06-22 17:24:52 +02:00
2021-04-18 23:41:28 +02:00
2021-04-20 11:55:52 +02:00
2021-04-10 14:22:48 +02:00
2021-04-15 18:18:39 +02:00
2021-05-02 12:59:03 +02:00
2021-04-16 20:22:03 +02:00
2021-04-18 23:41:28 +02:00
2021-04-28 20:32:46 +02:00
2021-05-02 19:12:13 +02:00
2021-04-28 20:32:46 +02:00
2021-05-02 19:12:13 +02:00
2021-04-10 14:22:48 +02:00
2021-04-14 15:56:14 +02:00
2021-06-22 17:24:52 +02:00
2021-06-22 17:24:52 +02:00
2021-06-22 17:49:56 +02:00
2021-04-10 14:22:48 +02:00
2021-04-10 14:22:48 +02:00

Pic or it didn't happen

3dcam PSX engine

This a WIP PSX 3d engine. Use this with the companion blender exporter to create levels for the engine.

3d scene pre-rendered BGs Push things Sprite Vertex animation

Features

Be warned this is WIP !

comparison
Real-time 3D / 8bpp background / 4bpp background

"Engine"

  • Very basic physics / collision detection
  • Constrained camera trajectory
  • Orbital camera mode
  • Basic Spatial partitioning
  • Portal based camera angle switch
  • 3D sprite
  • VRam auto layout for TIMs

Planned

  • Fix and improve all the things !
  • Wall collisions

Compiling

You need to install mkpsxiso and the pcsx-redux emulator and Nugget+PsyQ SDK before you can build the engine. Put mkpsxiso and pcsx-redux in your $PATH and you should be good to go.

  1. Clone this repo in (...)/pcsx-redux/src/mips/
  2. Navigate to that folder in a terminal :
cd /pcsx-redux/src/mips/3dcam-headers
  1. Type ./isotest.sh. This should compile the example, build an iso with mkpsxiso and launch it with pcsx-redux.
  2. Install the blender extension to create your own levels.

Credits

Based on the code provided by TheDukeOfZill, 04-2014, on http://www.psxdev.net/forum/viewtopic.php?f=64&t=537#p4088
PSX code based on example by Lameguy64
pngquant : https://github.com/kornelski/pngquant
img2tim : https://github.com/Lameguy64/img2tim
Freeimage : https://freeimage.sourceforge.io/

Description
A WIP 3d engine for the original PSX. Uses Nugget+Psyq, no libgs, and has a companion extension for Blender !
Readme 6.7 MiB
Languages
C 99.4%
Makefile 0.5%