Commit Graph

13 Commits

Author SHA1 Message Date
Christian Semmler
ddba1bc5c1
Fix DirectDrawPalette_SDL3GPUImpl::SetEntries (#189) 2025-05-28 18:22:24 -07:00
Anonymous Maarten
8f8bf3142e
Fix color space of SDL3_gpu texture (#188) 2025-05-28 03:40:46 +00:00
Anonymous Maarten
19f1bedd16
Add depth buffer (#185)
* Add depth buffer and calcuate normals

* Forgot do divide with the determinant

* Address review
2025-05-27 19:44:37 -07:00
Anders Jenbo
6bbddf5508
Implement Viewport::Pick() (#183) 2025-05-26 22:07:57 -07:00
Anders Jenbo
4e3cf45aba
Implement Direct3DRMPickedArray constructor (#181) 2025-05-26 07:39:43 -07:00
Anonymous Maarten
e1cddc5c0e
Move DirectDraw entry functions to backends (#178) 2025-05-26 01:33:39 +00:00
Anders Jenbo
3df6be1122
Correct FOV calculation (#176)
* Correct FOV calculation

* Update miniwin/sdl3gpu/src/miniwin_d3drmviewport.cpp

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-26 01:09:41 +00:00
AllMeatball
b1a04f43ff
Make FOV perspective work better (#174)
* Add camera position to the rendering

* Rebase with anders' camera code

* Add perspective matrix

* Add (at least) a better fov

* Fix formatting

* Zero out matrix in perspective function

* Fix formatting again

* Make functions static in D3DRM viewport code

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

* Implement GetGroupMaterial() (#175)

* Fix naming conflict

* Fix conflict in HMM_Perspective_LH_NO

* Fix formating

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-25 15:57:51 -07:00
Anders Jenbo
343bbbd563
Add camera position to the rendering (#173) 2025-05-25 22:36:04 +00:00
Anders Jenbo
cea10248aa
Implement GetGroupMaterial() (#175) 2025-05-25 14:35:02 -07:00
Anonymous Maarten
48958c304e
Verbose logging and static multiply (#172)
* Log SDL3GPU device creation errors

* Give D3DRMMatrixMultiply static visibility
2025-05-25 20:16:48 +00:00
Anders Jenbo
0fe44b28b8
Set viewport frustrum again (#171) 2025-05-25 20:03:13 +00:00
Anonymous Maarten
b24271a51b
Move miniwin to sdl3gpu subdirectory + add suffix to classes (#170) 2025-05-25 17:38:02 +00:00