Commit Graph
26 Commits
Author SHA1 Message Date
Illusion b403495da2 fix(obj): assign correct type to textures that have already been loaded. implement .mtl transparency keyword 2023-11-03 02:43:05 +02:00
Illusion 8decddbf14 textures: add support for emission textures 2023-11-02 22:02:00 +02:00
Illusion eba6894a07 todo 2023-11-02 04:15:59 +02:00
Illusion 08659a0a78 feat: basic texture support
- add texture support (ambient, diffuse, specular)
- use opacity in fragment shader
- calculate normal matrix on cpu for matricies with big determinants
2023-11-02 04:15:59 +02:00
Illusion 4b15990703 fix(obj): negative indexing for vertex normals and texcoords as well 2023-11-02 04:15:59 +02:00
Illusion 1f11904e4b calc normal mat on cpu. use blinn-phong lighting. adjust lighting intensities 2023-11-02 04:15:59 +02:00
Illusion 12ace9cb13 fix(obj): load all files in mtllib statement 2023-10-31 06:20:27 +02:00
Illusion 81f588d633 obj: handle negative vertex indices and dont panic if we got less than 3 vertices/normals 2023-10-31 03:50:01 +02:00
Illusion 2987c8a854 chore: bump to version 0.2.0 2023-10-30 06:25:30 +02:00
Illusion dc2197ab08 ui: better objects table. better font. keybinds window. update fps every 100ms instead of every frame 2023-10-30 06:22:01 +02:00
Illusion 5eaefd9aab log: logging to file, console and stdout 2023-10-25 03:05:53 +02:00
Illusion 23e127e908 settings/ui: add consistent config and settings window. add toggleable single instance option 2023-10-24 03:14:19 +02:00
Illusion 54cac634e8 aabb/camera: thicker aabb lines and more natural camera movement + removed unused pointlight boxes 2023-10-24 02:10:44 +02:00
Illusion 7f4d5f8bcc add build.rs to export GIT_HASH for us 2023-10-24 00:35:28 +02:00
Illusion 9988028bf0 only allow one instance of the program and use IPC to load models from other instances 2023-10-23 04:51:59 +02:00
Illusion 2923cf1250 show memory usage of loaded model(s) 2023-10-23 04:50:08 +02:00
Illusion c06b7d9366 clean up opengl buffers when dropping aabb 2023-10-23 04:49:03 +02:00
Illusion b8d55e8c61 importer: clean up commented code 2023-10-21 04:19:29 +03:00
Illusion 81485d1702 importer/stl: finish ascii stl loader 2023-10-21 04:19:29 +03:00
Illusion 0e45405d79 importer/stl: binary stl loader is implemented 2023-10-21 04:19:29 +03:00
Illusion c20f485d1b importer/obj: basic material handling. dont panic when encountering v/vt components 2023-10-21 04:19:29 +03:00
Illusion 421c7f5db3 WIP: obj loader mostly done 2023-10-21 04:19:29 +03:00
Illusion 8b5143d6cb version 0.1.1 2023-10-17 19:24:19 +02:00
Illusion 2ff98a52bc various QOL improvements and bug fixes 2023-10-17 01:14:56 +02:00
Illusion 99363b2fc5 fix: disable grid by default and make scaling smaller 2023-10-14 22:51:08 +02:00
Illusion 724940f27f initial commit 2023-10-14 22:41:16 +02:00