Commit Graph

77 Commits

Author SHA1 Message Date
Cat Flynn c4edf127e9 fix: remap coordinates to make Y up 2024-08-21 13:30:21 +01:00
Cat Flynn 11d5330c73 fix: copy particle id on construction 2024-08-20 20:22:56 +01:00
Cat Flynn 56aa50251b feat: add particle map 2024-08-20 00:48:41 +01:00
Cat Flynn a5ff616e86 refactor: move orbiter->particle 2024-08-18 14:12:08 +01:00
Cat Flynn 4d9adf2e7f refactor: move sphere to visualizer 2024-08-18 13:22:04 +01:00
Cat Flynn 284c82f7ea build: remove astro dep from application 2024-08-18 01:45:57 +01:00
Cat Flynn bb9b8320ec refactor: extract OrbiterVisualizer class 2024-08-18 01:43:57 +01:00
Cat Flynn 129d65c31e feat: rename application 2024-08-18 00:24:57 +01:00
Cat Flynn 2059b4ed16 refactor: remove astro references
removed from:
main.cpp
orbiter.cpp
2024-08-18 00:24:32 +01:00
Cat Flynn a9c836dea0 feat: extract orbit to library folder 2024-08-17 21:51:42 +01:00
Cat Flynn 60d97b8a51 chore: update astro 2024-08-17 13:46:15 +01:00
ktyl 76eaaa24a2 feat: compute eccentric anomaly with binary search 2024-04-06 11:45:01 +01:00
ktyl 5ff74be9fe feat: cycle animation with C key 2024-03-04 08:36:32 +00:00
ktyl 0b4e84323c wip: receive key input 2024-03-03 23:52:34 +00:00
ktyl 441a0748d1 refactor: extract Orbiter class
split render logic across objects
move rendering code from main loop to Orbiter
make objects responsible for setting up their own render contexts
2024-03-03 23:17:07 +00:00
ktyl 51c755be64 chore: formatting 2024-03-03 23:17:07 +00:00
ktyl d96515f8ac refactor: extract retrieving cartesian elements 2024-03-03 23:17:03 +00:00
ktyl ad281f5b68 feat(orbit-animation): cycle animation 2024-03-03 23:16:29 +00:00
ktyl 3a71a4899d feat(orbit-animation): update vertices over time 2024-03-03 23:16:11 +00:00
ktyl 2384028542 feat(widget): draw axis widget aligned to orbit 2023-10-05 23:25:37 +01:00
ktyl 9f2c05bf6f feat: correct elliptical orbital motion 2023-08-15 00:15:36 +02:00
ktyl 75cf44e2fd chore: make orbit animation read better 2023-08-15 00:15:36 +02:00
ktyl 8391c0c23e feat: position orbiter along orbit
chore: move pi to header
2023-08-15 00:15:29 +02:00
ktyl ad51be518b feat: circular orbit 2023-08-14 01:47:55 +02:00
ktyl 16bc542a69 feat: multiple spheres 2023-08-14 01:47:55 +02:00
ktyl 8c9bacbd04 refactor: extract vertex generation from ctor 2023-08-14 01:47:55 +02:00
ktyl ae78f0a399 refactor: extract sphere model matrix calc 2023-08-14 01:47:55 +02:00
ktyl f752fa0c80 fix: correct matrix order 2023-08-14 01:47:21 +02:00
ktyl 26600b8688 chore: fix typo 2023-08-12 00:26:13 +02:00
ktyl 2b6444dfac feat: resizable window 2023-08-12 00:16:35 +02:00
ktyl 4795d88b91 refactor: extract gfx functions 2023-08-06 15:49:59 +02:00
ktyl 37025fbb09 chore: name main script 2023-08-06 15:25:44 +02:00
Cat Flynn 80ddb7dd82 feat: draw orbit with astro 2023-08-06 15:24:43 +02:00
Cat Flynn cf5418780b chore: move depth test setting to gfx init 2023-08-06 13:12:16 +02:00
Cat Flynn 1f217971fd feat: unlit shader program 2023-08-06 13:12:16 +02:00
Cat Flynn c161f3e54a feat: scale down sphere 2023-08-06 13:12:15 +02:00
Cat Flynn fdabe9aadd feat: draw tilted circle
feat: generate orbit points at an angle
2023-08-06 13:11:13 +02:00
Cat Flynn c774045c92 feat: enable depth testing 2023-08-03 20:07:51 +02:00
Cat Flynn c6a4cfa418 feat: fix aspect ratio 2023-08-03 20:07:51 +02:00
Cat Flynn 85e0bf3d6c fix: exit with error on shader compilation failure 2023-08-03 20:07:51 +02:00
Cat Flynn 20658ba15a feat: directional lighting 2023-08-03 20:07:46 +02:00
Cat Flynn abb990b9d4 feat: ambient lighting 2023-08-03 08:43:34 +02:00
Cat Flynn ef67495aef doc: add isosphere implementation source link 2023-08-03 01:21:18 +02:00
Cat Flynn 4bab4bbcf7 feat: slow rotation 2023-08-03 01:20:15 +02:00
Cat Flynn a444deb51a feat: subdivide isosphere
https://schneide.blog/2016/07/15/generating-an-icosphere-in-c/
2023-08-03 01:19:56 +02:00
Cat Flynn 74ccc647f4 chore: simplify time usage 2023-08-03 01:05:13 +02:00
Cat Flynn 0ce3d54139 chore: delete redundant class
chore: remove redundant include

chore: remove redundant declaration
2023-08-03 01:05:12 +02:00
Cat Flynn f22fcee399 refactor: extract uniform updates from triangle 2023-08-02 23:40:47 +02:00
Cat Flynn 025238c73f feat: render isocahedron 2023-08-02 01:55:53 +02:00
Cat Flynn e713ed8123 fix: return negative on error 2023-08-02 01:55:28 +02:00