Fun stuff with unigi and haloo3d
Go to file
2024-09-14 03:42:59 -04:00
haloo3d@cb50aaccff There's SOME output! 2024-09-14 03:30:53 -04:00
old Small cleanup + fixes 2024-08-26 01:28:02 -04:00
ps2_old Unified ps2 build 2024-09-12 02:58:48 -04:00
resources No external files needed for maze 2024-09-06 21:18:31 -04:00
unigi@8767a3dd85 Submodules might be ok 2024-09-12 03:28:43 -04:00
unigi.platform.sdl1@c2bb042dcb Unigi updates 2024-09-11 18:42:08 -04:00
unigi.platform.sdl2@7761a397a8 Fully working maze on ps2 thank you unigi 2024-09-12 13:58:08 -04:00
.clangd Setting up changes for new unigi 2024-09-11 01:15:19 -04:00
.gitignore No more zips 2024-09-08 15:17:08 -04:00
.gitmodules Submodules might be ok 2024-09-12 03:28:43 -04:00
camera.h Nearly working freecam 2024-08-13 02:08:21 -04:00
ecs2.h There's SOME output! 2024-09-14 03:30:53 -04:00
junk.txt Terrain ecs is taking a lot 2024-09-14 01:00:20 -04:00
keys.h Nearly working freecam 2024-08-13 02:08:21 -04:00
LICENSE License 2024-08-12 21:54:25 -04:00
make_ps2.sh Fully working maze on ps2 thank you unigi 2024-09-12 13:58:08 -04:00
Makefile CHUNKS BEFORE SEGFAULT 2024-09-14 03:42:59 -04:00
Makefile_PS2 Fully working maze on ps2 thank you unigi 2024-09-12 13:58:08 -04:00
maze_ecstypes.h Terrain ecs system going well 2024-09-09 02:13:24 -04:00
maze_todo.txt Very fast fb fill 2024-08-17 18:11:00 -04:00
maze.c Fully working maze on ps2 thank you unigi 2024-09-12 13:58:08 -04:00
README.md Update README.md 2024-08-24 05:09:14 +00:00
scene_freecam.c Small cleanup + fixes 2024-08-26 01:28:02 -04:00
scene.c Small cleanup + fixes 2024-08-26 01:28:02 -04:00
terrain_ecstypes.h There's SOME output! 2024-09-14 03:30:53 -04:00
terrain.c CHUNKS BEFORE SEGFAULT 2024-09-14 03:42:59 -04:00

3D Toys

Everything in here is a little sample program or otherwise which uses haloo3d and unigi. It's all software rendered, but you'll need to get sdl1 so it can render to screen.

The libraries required are set as submodules, so you can pull them when cloning with:

git clone --recurse-submodules https://git.lumen.sh/haloopdy/3dtoys.git

Or if you already cloned, you can do this after the fact:

git submodule update --init

Then, to build any example, just do make name.exe. For example, to build maze.c, you would do

make maze.exe
./maze.exe

If you're having trouble building, you can try to force past the warnings (they're usually nothing):

make FORCE=1 maze.exe

Unigi

For the time being, unigi is designed such that it expects you to compile your entire program as a single unit. This means you must include all your .c files into the main file, in the right order.

This may change in the future.

Unigi expects some kind of graphics backend to run. In this case, our samples use SDL1, so you'll need to get that.

Haloo3d

You can compile haloo3d using the makefile provided in the library repo, or include the .h and .c files directly into the main translation unit like unigi currently expects.

For these samples, they expect you to build the haloo3d_full.a library using make full in the haloo3d submodule. For convenience, the makefile for the samples assumes you are using the submodule and runs make in there for you.