Commit Graph

49 Commits

Author SHA1 Message Date
CakeLancelot a3856cdc9d
Merge pull request #2 from CakeLancelot/main
dx2cg: Allow usage as module and handle a few more features used by built-in Unity shaders
2024-02-14 05:11:14 -06:00
CakeLancelot 672d7e2b42 Address PR review comments 2024-02-14 03:15:09 -06:00
CakeLancelot d5b58d96da dx2cg: Implement RECT, CUBE texture types
Also tried to implement 3D texture type, but that will likely require a few other instructions to get working - namely texldp and dcl_volume.
2024-02-13 03:18:19 -06:00
CakeLancelot 06869164a1 dx2cg: Implement mov_sat instruction
Basically just mov but clamp the result.
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx9-graphics-reference-asm-ps-instructions-modifiers-ps-2-0#saturate
2024-02-13 03:18:19 -06:00
CakeLancelot 99c80c9c7b dx2cg: Allow usage as Python module
e.g.
from dx2cg.swapper import process_shader
cg_shader = process_shader(text)
2024-02-13 01:40:07 -06:00
Gent Semaj 4196766a2b
Client credentials and change root password 2024-01-26 15:28:53 -05:00
Gent Semaj 7922fc060a
Set XDB server charset to utf8 2024-01-26 13:46:43 -05:00
Gent Semaj 5bf1ce01e3
Change db name to XDB 2024-01-24 20:09:14 -05:00
Gent Semaj 27143ccb01
Schemas, split fields, and padding 2024-01-24 17:47:06 -05:00
Gent Semaj 349e7b6e07
Table schemas 2024-01-24 16:10:26 -05:00
Gent Semaj 9fd6441606
Fix for large packet size 2024-01-24 13:57:43 -05:00
Gent Semaj 8b1bd5b1ee
Update gitignore 2024-01-24 13:52:59 -05:00
Gent Semaj 4f7b6b28e4
Fix DB table mappings 2024-01-24 13:52:41 -05:00
Gent Semaj 99193a198b
Add `json2xdb` 2024-01-24 05:15:00 -05:00
CakeLancelot 249af1d2d3 Ensure all objects are deleted after export + use env var for user directory 2024-01-19 14:30:17 -06:00
gsemaj c7b4182a4b
Export terrain meshes as FBX instead of OBJ 2024-01-19 10:42:49 -08:00
FinnHornhoover b70816fa64
Non-updating rank table fix and tiebreaker logic (#1) 2023-12-25 21:37:22 +01:00
dongresource 9deba1956f [rankendpoint] Add invocation instructions 2023-12-24 21:35:35 +01:00
dongresource 1a3a530c7f [rankendpoint] Get DB path and endpoint route from env vars
Also reverted the use of main() that made it incompatible with uwsgi and
flask run.
2023-12-24 20:57:05 +01:00
dongresource f62f3af483 Revert "Autorun Flask app"
This reverts commit e0e0b3c5e3.

Flask applications are not supposed to be run this way. We run the
endpoints with uwsgi in prod or with the flask program for debugging.

https://flask.palletsprojects.com/en/3.0.x/api/#flask.Flask.run
2023-12-24 03:36:33 +01:00
gsemaj f02c960497
Use same rank for tied scores 2023-12-22 22:14:05 -08:00
gsemaj e0e0b3c5e3
Autorun Flask app 2023-12-22 22:04:05 -08:00
gsemaj 615bd3d9a3
Add ranked endpoint server 2023-12-22 21:48:18 -08:00
gsemaj 4d6490933d
Add option for score capping 2023-12-19 13:21:37 -05:00
gsemaj 073666e6f4
Add OG racing score conversion script 2023-10-11 18:54:35 -04:00
gsemaj 7af28d8e70
fix submesh overlap 2023-09-09 17:45:47 -07:00
gsemaj 3bb3df7a2d
Split terrain into chunks of chunk_size 2023-09-09 16:40:22 -07:00
gsemaj f6dc2d690f
code to show all selected faces 2023-09-09 11:24:47 -07:00
gsemaj af2988e062
fix error 2023-09-09 10:43:43 -07:00
gsemaj 03a3e21532
Fix UVs 2023-09-09 10:28:48 -07:00
gsemaj 20d5f6231c
Export as OBJ 2023-07-20 14:27:39 -04:00
gsemaj 131297552e
Fix normals 2023-07-20 14:27:24 -04:00
gsemaj ef8ae1fb6e
Fix vertex positioning and outfile name 2023-07-20 14:04:00 -04:00
gsemaj 3aabb35f33
Add terrain mesh extractor 2023-07-13 16:18:09 -04:00
gsemaj 7b750db9f9 Update README 2022-08-11 15:56:07 -04:00
gsemaj aa564926a0 Fix CameraPos translation 2022-08-11 15:46:58 -04:00
gsemaj 2496f04987 Add semantic to f2a struct 2022-08-11 13:21:33 -04:00
gsemaj 916857edc3 Unity 3 fixes 2022-08-11 12:20:51 -04:00
gsemaj 3791e889c8 Add support for multiple subprograms 2022-08-11 11:53:38 -04:00
gsemaj d0e67d55c9 Standalone support for basic fragment shaders 2022-08-11 04:06:03 -04:00
gsemaj 869d5b1976 Add support for SetTexture 2022-08-10 21:03:56 -04:00
gsemaj 8725dd1e4e Entry points and arg fix 2022-08-10 21:01:51 -04:00
gsemaj 8fbe59e5a1 Fix `rcp` bug 2022-08-10 20:09:59 -04:00
gsemaj a53fb21621 Add .gitignore 2022-08-10 20:09:22 -04:00
gsemaj 9dd5db86eb Update README 2022-08-10 20:06:02 -04:00
gsemaj 4ace5f065f Add dx2cg 2022-08-10 19:47:13 -04:00
CakeLancelot 08c7ec1278 Add .gitattributes 2021-09-20 13:53:15 -05:00
CakeLancelot fe6e2538a5 Add username collision pruning script for 3 -> 4 migration
Co-authored-by: dongresource <dongresource@protonmail.com>
2021-09-20 13:38:52 -05:00
OpenFusionProject 552f53a27c
Initial commit 2021-05-02 23:45:30 -05:00