Fun stuff with unigi and haloo3d
Go to file
2024-08-22 22:40:25 -04:00
haloo3d@ece5d2155e Even better mouse ai? 2024-08-22 22:40:25 -04:00
old Small cleanup 2024-08-18 19:13:25 -04:00
resources Mouse implemented! 2024-08-22 15:30:42 -04:00
unigi Near 60fps 2024-08-13 00:40:03 -04:00
.gitignore Paintings ALMOST worked 2024-08-21 23:52:01 -04:00
.gitmodules Added submodules 2024-08-12 20:34:22 -04:00
camera.h Nearly working freecam 2024-08-13 02:08:21 -04:00
ecs2_comps.h Small cleanup 2024-08-18 19:13:25 -04:00
ecs2.h Clarifications in ecs 2024-08-22 02:14:27 -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
Makefile Somewhat working maze thing 2024-08-18 04:33:01 -04:00
maze_ecstypes.h Mouse implemented! 2024-08-22 15:30:42 -04:00
maze_todo.txt Very fast fb fill 2024-08-17 18:11:00 -04:00
maze.c Even better mouse ai? 2024-08-22 22:40:25 -04:00
README.md Update readme 2024-08-22 02:02:37 -04:00
scene_freecam.c Inverted sky 2024-08-15 23:45:30 -04:00
scene.c Inverted sky 2024-08-15 23:45:30 -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

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

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.