Mal Graty
9586b0f685
Minor improvements when loading extensions
2025-02-05 15:18:08 +00:00
Tom Rothamel
6aa0ee45bf
doc: Matrix uniforms.
2025-02-05 01:18:16 -05:00
Tom Rothamel
54e567160c
gl2: Improved missing uniform handling.
...
* Do a lookup and function call rather than a big if statement.
* Use the suffix to perform matrix computations.
2025-02-04 22:29:07 -05:00
Tom Rothamel
6c40f39930
gl2: Allow transforms to supply view and projection matrices.
...
And while at it, rename u_camera to u_projection, as the camera is
really both projection and view.
2025-02-04 02:18:10 -05:00
Tom Rothamel
9eefa84bf2
gl2: Rename the model matrix, and add u_cameraview.
...
This makes all the matrices we need available in uniforms. The reason
for u_transform and u_cameraview is both to make these available for
further processing in Program.missing.
2025-02-03 23:00:00 -05:00
Tom Rothamel
9d1f34995a
gl2: Break out the different kinds of matrices.
2025-02-03 22:38:03 -05:00
Tom Rothamel
0883e74935
gl2: Default to highp floats on gl2es.
...
To prevent issues where mediump is rounded and causes problems.
2025-02-02 22:52:15 -05:00
Tom Rothamel
f257dc1c41
assimp: Free the scene once import is done.
2025-02-01 16:59:26 -05:00
Tom Rothamel
1b079ef358
assimp: Route IO through Ren'Py.
2025-02-01 15:39:17 -05:00
Andrej Klychin
07b853f77f
Merge pull request #6127 from dm1sh/handle_uninitialized_newest_mtime
...
Handle newest_mtime initialized as None while determining newest game save
2025-02-01 17:24:02 +02:00
dm1sh
8db8651eb0
Handle newest_mtime initialized as None while determining newest game save
2025-02-01 18:02:48 +03:00
Ren'Py Bot
3568c02c42
Merge branch 'fix'
2025-02-01 04:30:40 -05:00
Tom Rothamel
5e3b209ba2
Fix the name of config.dissolve_shrinks.
...
Fixes #6122 .
2025-01-31 22:07:18 -05:00
Lezalith
4a097934de
Doc: Config defaults updated.
2025-01-30 23:13:01 +01:00
Lezalith
159f6a94ce
Doc: config.web_video_prompt commented out
...
Currently a to-do variable.
2025-01-30 23:12:49 +01:00
Lezalith
c726573089
Doc: Typos.
2025-01-30 23:12:21 +01:00
Lezalith
b2499105ec
Doc: Recommend VSCode in Quickstart
...
Used to recommend Editra back when it was an option in the launcher itself.
2025-01-30 23:10:26 +01:00
Tom Rothamel
315b0a9118
The _reset style property shouldn't be exposed to sl.
2025-01-29 23:13:58 -05:00
Tom Rothamel
cb6101eab4
Only clear focus when a displayable is not grabbed.
...
Fixes #6121 .
2025-01-29 23:13:58 -05:00
Tom Rothamel
8773f1b0ed
Update compat fixes for tokenizer changes in Python 3.12. ( #6037 )
2025-01-28 22:11:01 -05:00
Tom Rothamel
ecf19de428
Merge branch 'master' into update-token-fixes
2025-01-28 22:10:31 -05:00
Tom Rothamel
c182a7cc72
atl: Deal with a boolean becoming a tuple.
2025-01-27 23:17:26 -05:00
Tom Rothamel
3b5be04369
Add assimp as a dependency.
2025-01-27 01:31:38 -05:00
Tom Rothamel
38b91afaa1
assimp: Add to the build process.
2025-01-27 01:30:42 -05:00
Tom Rothamel
cb382804c3
doc: Ubuntu version increase.
2025-01-27 01:30:42 -05:00
Tom Rothamel
364eef9392
assimp: Rename modelloader to assimp.
2025-01-27 01:30:42 -05:00
Tom Rothamel
773b428996
ml: Integrate modelloader with render memory management.
2025-01-27 01:30:42 -05:00
Tom Rothamel
043a7c142e
Fix bad range conversion.
2025-01-27 01:30:42 -05:00
Tom Rothamel
a312a6f77e
ml: Move to callback-based model loading.
...
This allows a callback to go mesh-by-mesh, asking about textures
(and eventually, material properties) before making the render.
2025-01-27 01:30:42 -05:00
Tom Rothamel
ccc502e8a6
Add the im.Null() image manipulator.
...
This allows the creation of a 1x1 clear pixel. The intent is to
use this when a texture is missing.
2025-01-27 01:30:42 -05:00
Tom Rothamel
b2af375e0a
Search for archive files in sub-directories of game/.
...
Per #6013 .
2025-01-27 01:29:25 -05:00
Tom Rothamel
14c191cf7f
ml: Texture access.
2025-01-27 01:26:36 -05:00
Tom Rothamel
3a47bea97f
ml: Load embedded textures.
2025-01-27 01:26:36 -05:00
Tom Rothamel
373235c179
ml: Allow mat2 and mat3, compute the normal matrix.
2025-01-27 01:26:36 -05:00
Tom Rothamel
b0765aaf3a
ml: Allow Matrix to compute its transpose.
2025-01-27 01:26:36 -05:00
Tom Rothamel
8b7b17c5ac
ml: Walk the node tree and handle matrix transformations.
2025-01-27 01:26:36 -05:00
Tom Rothamel
82d2384b09
cy3: Replace old for syntax with range syntax.
...
In older versions of Cython, the `for` loop syntax `for 0 <= i < n:`
was used. This has been replaced with the more Pythonic
`for i in range(n):` syntax, which the Cyright tool handles better.
Both syntaxes are optimized in modern Cython.
2025-01-27 01:26:36 -05:00
Tom Rothamel
37647ecfea
ml: Load to the point where a model becomes visible.
2025-01-27 01:26:36 -05:00
Tom Rothamel
3dd9bff6ea
ml: Get Asset Importer loading the model.
2025-01-27 01:26:36 -05:00
Lezalith
8e5445c6bf
Doc: Fix quick maths
...
(There are 6 items in the list)
2025-01-26 18:16:35 +01:00
Lezalith
a6142487c8
Doc: Clearer Premultiplied Alpha explanation
...
I felt like the discrepancy between "transparent pixel" and "transparent black" was confusing. This seems much clearer and hopefully technically correct.
2025-01-26 18:16:01 +01:00
Ren'Py Bot
2acbd61df4
Merge branch 'fix'
2025-01-25 04:30:40 -05:00
Tom Rothamel
2e45c3e609
doc: Fixes.
...
Fixes #6097 .
2025-01-24 21:29:51 -05:00
Ren'Py Bot
87cc2c334d
Merge branch 'fix'
2025-01-24 04:30:40 -05:00
Tom Rothamel
8c7a3b13bf
Merge pull request #6105 from nullvoid8/docs_nearrect
...
Update `nearrect` documentation
2025-01-23 22:32:49 -05:00
Tom Rothamel
83c75d1a0f
Merge pull request #6107 from Kassy2048/limit-cython-processes
...
Limit the number of cython processes ran in parallel
2025-01-23 22:15:11 -05:00
Kassy
ac83e934a1
Limit the number of cython processes ran in parallel
...
Running all the cython tasks in parallel at once is a bit violent. On my Docker
container for instance, it makes some processes be killed before they complete
because of resources exhaustion.
Using a ThreadPoolExecutor instance to limit the number of parallel tasks
guarantees there will be at least as much processes at the number of CPU plus 4
(up to 32) so that should be as fast as before without risking to reach the
host resources limit.
2025-01-23 21:01:32 +01:00
Tom Rothamel
9ce1334039
Merge branch 'fix'
2025-01-22 22:31:54 -05:00
Tom Rothamel
e8ece0a442
Implement creating rpa archives in subdirectories ( #6103 )
2025-01-22 22:22:01 -05:00
Tom Rothamel
4a0738f2aa
Document build.version.
...
Fixes #6102 .
2025-01-22 22:19:42 -05:00