Commit graph

229 commits

Author SHA1 Message Date
ManDude 67bb1193a8
[runtime] GPU sprite renderer (#1075)
* sprite_3d first attempt

* fixs

* fix Q usage

* ??

* attempt 2

* Update sprite_3d.vert

* works-ish

* works properly!

* scissor fix

* simplify shader

* texture support except everything is broken for some reason

* stuff

* Update SpriteRenderer.cpp

* meltdown

* Revert "simplify shader"

This reverts commit 97bd9b77be.

* Revert "Revert "simplify shader""

This reverts commit 32fb46ce90.

* fix blend

* fix blend and prim

* fix depth write and texture rendering

* fix bugs

* remove noperspective

* fix and finalize sprite 3D vert shader

* optimize 3D program

* 2D sprites! almost first try

* fixes + merge shader code

* HUD sprite support and clean up code

* oopsie

* fix 3d sprites

* minor cleanup and increase sprite buffer to 8k sprites

* clang

* replace some uses of `glBufferSubData` with `glBufferData`
2022-01-15 12:31:38 -05:00
github-actions f76c87d7fe Updated github pages site 2022-01-12 15:48:40 +00:00
github-actions 4bb1cbf304 Updated github pages site 2022-01-11 00:29:35 +00:00
github-actions 599f8f7e26 Updated github pages site 2022-01-09 22:46:32 +00:00
github-actions 950f8a79bc Updated github pages site 2022-01-09 22:44:37 +00:00
github-actions ac37d82a44 Updated github pages site 2022-01-09 16:44:15 +00:00
github-actions d9b01de007 Updated github pages site 2022-01-09 16:40:45 +00:00
github-actions 1aab98b335 Updated github pages site 2022-01-09 01:59:14 +00:00
github-actions bc94822ed1 Updated github pages site 2022-01-08 23:24:53 +00:00
github-actions 7b1572883c Updated github pages site 2022-01-08 18:40:32 +00:00
github-actions 3ceeafbd46 Updated github pages site 2022-01-07 21:14:45 +00:00
github-actions 06541db768 Updated github pages site 2022-01-07 16:53:53 +00:00
github-actions 026c7245a2 Updated github pages site 2022-01-07 13:50:39 +00:00
github-actions 833115a76d Updated github pages site 2022-01-06 23:48:36 +00:00
ManDude 2e18cb605a
[runtime] optimize DirectRenderer for multiple textures + optimize sprite renderer (#1054)
* optimize sprite texture flush + update shaders

* fix bugs

* change logic a bit

* crunch PNGs

* hud size fix

* clang

* remove shaders from list

* use really small alpha cut-off point for sprites

* ad `flat` to vertex shaders too

* increase cut-off very slightly

* take *2 into account

* ok for real this should be good enough
2022-01-06 18:47:20 -05:00
github-actions 74a791c67f Updated github pages site 2022-01-05 04:38:09 +00:00
github-actions b84a04a14c Updated github pages site 2022-01-05 04:17:40 +00:00
github-actions b11a45d836 Updated github pages site 2022-01-05 04:12:12 +00:00
github-actions c35ab4a223 Updated github pages site 2022-01-05 02:58:20 +00:00
Tyler Wilding 60cbeedaa5
docs: fix link to gallery (#1052) 2022-01-04 21:57:05 -05:00
github-actions 7aa5322a0e Updated github pages site 2022-01-05 02:06:42 +00:00
Tyler Wilding 7117a512c7
docs: Refresh the homepage and add some basic gallery support (#1051)
* docs: refresh the homepage

* docs: basic gallery support added

* homepage background image back to jpg

* docs: remove data file tracker, as it's soon to be removed
2022-01-04 21:05:27 -05:00
github-actions db563d9b55 Updated github pages site 2022-01-05 01:33:48 +00:00
github-actions 1c8080a687 Updated github pages site 2022-01-03 04:20:17 +00:00
water111 b999422305
[tie] add wind effect (#1046)
* wip tie wind stuff

* wind

* clang
2022-01-02 19:02:28 -05:00
github-actions 4419052a76 Updated github pages site 2021-12-31 02:28:48 +00:00
github-actions 3f84bd85e7 Updated github pages site 2021-12-30 23:50:00 +00:00
ManDude 9ff71412e5
[runtime] pckernel implementation (#1032)
* toggle for ripping level models

* Create pckernel.gc

* builds and works

* fix defs

* resolution info works

* native letterboxing

* menu

* Fullscreen buttons

* Update glfw

* fix fullscreen taking over everything for some reason

* fix screenshots and add more menu options

* Cleanup DMA mess in load boundary render code (first try!!)

* Update default-menu.gc

* clang

* fix accidental macros in pairs

* refs

* fix null reference bugs

* add lavatube

* custom aspect ratios work (3D only)

* custom aspect ratios work (3D only)

* fix aspect ratio and non-4x3 debug text

* change `sceOpen`

* deadzone setting

* merge fixes

* check out `debug-pad-display`

* update readme imgs

* settings save works

* oops

* settings read/load (incomplete)

* add `:stop` to debugger and fix detach on Windows

* settings load works

* fullscreen and aspect ratio setting fixes

* swap menu options for convenience

* settings loads automatically properly

* fix panic and font hack edge case

* add rolling, ogre, snow, swamp, sunken b, jungle b

* Fixed borderless on windows please work

* Update fake_iso.txt

* remove error from opengl debug filter

* update refs

* minor tfrag tod palette lookup change

* accidentally nuked all opengl errors
2021-12-30 18:48:37 -05:00
github-actions 72fe06826f Updated github pages site 2021-12-30 01:04:14 +00:00
github-actions 3f85b68671 Updated github pages site 2021-12-29 04:17:53 +00:00
github-actions 696a6d87be Updated github pages site 2021-12-29 00:16:22 +00:00
github-actions 3a035f2ba3 Updated github pages site 2021-12-28 23:54:23 +00:00
github-actions 359e7bcfdd Updated github pages site 2021-12-28 20:15:00 +00:00
Tyler Wilding 0d79b85d1c
docs: add new porting tfrag page to docs (#1033) 2021-12-28 14:26:49 -05:00
github-actions e2ffaee7e1 Updated github pages site 2021-12-26 17:35:02 +00:00
water111 a8342aef31
[graphics] TIE extractor (#1026)
* temp

* temp

* wip

* more progress on the instance asm

* first half of tie extraction, up to dma lists

* more tie extraction

* first part figured out maybe

* bp1 loop seems to work, bp2 loop does not

* bp1 and bp2 appear working. sadly ip is needed

* ip1 outline, not working ip2

* just kidding, ip2 seems to work

* extraction seems to work

* basic rendering working

* tie fixes

* performance optimization of tie renderer

* hook up tie to engine

* fix more bugs

* cleanup and perf improvements

* fix tests

* ref tests

* mm256i for gcc

* CLANG

* windows

* more compile fixes

* fix fast time of day

* small fixes

* fix after merge

* clang
2021-12-26 12:33:51 -05:00
github-actions ff61d32095 Updated github pages site 2021-12-26 16:44:21 +00:00
ManDude c245f37feb
[decomp] joint and related (#1003)
* update jak 2 config and hack to make game text dumpable

* update stuff

* update src

* do `cspace<-parented-transformq-joint!`

* progress.... kind of...

* more drawable stuff

* clagng

* bones begin

* more bones

* even more bones

* everything builds

* touches

* errors

* ?

* fix `quicksandlurker`

* updates

* update refs

* more fixes

* update refs
2021-12-26 11:43:16 -05:00
github-actions cee7752c2a Updated github pages site 2021-12-19 00:14:56 +00:00
github-actions fdb24782f1 Updated github pages site 2021-12-18 22:16:29 +00:00
github-actions 8c05d2a549 Updated github pages site 2021-12-18 21:06:41 +00:00
github-actions 31f49397a8 Updated github pages site 2021-12-18 06:33:59 +00:00
github-actions 694b895f04 Updated github pages site 2021-12-18 06:32:32 +00:00
github-actions 604a8630f3 Updated github pages site 2021-12-15 04:50:39 +00:00
github-actions 698d99df13 Updated github pages site 2021-12-13 04:28:40 +00:00
water111 f6b40637a3
add declare-file debug (#1004) 2021-12-12 12:52:23 -05:00
github-actions a10f9da8b8 Updated github pages site 2021-12-11 18:28:34 +00:00
github-actions 1cac684f1b Updated github pages site 2021-12-09 23:40:49 +00:00
github-actions c0dfc58021 Updated github pages site 2021-12-04 18:50:58 +00:00
Tyler Wilding 9d9c944dc5
docs: include the -lock file to hopefully make CI builds consist with local ones (#991) 2021-12-04 13:49:28 -05:00