Commit Graph
182 Commits
Author SHA1 Message Date
Martin Gerhardy ae4db01bc1 TWINE: fixed top and bottom handling of polygon and sphere rendering
this fixes invalid memory access
2023-01-17 19:12:55 +01:00
Martin Gerhardy aaa7645a52 TWINE: convert the holomap releated code to be more like the original source release 2023-01-17 19:11:34 +01:00
Martin Gerhardy 0064723b24 TWINE: support different angles for lba1 and lba2 2023-01-16 17:46:28 +01:00
Martin Gerhardy c32a1d6b2e TWINE: renamed members 2023-01-15 11:28:58 +01:00
Martin Gerhardy 1ab3df79a8 TWINE: renamed methods and members to match the original sources 2023-01-15 11:28:58 +01:00
Martin Gerhardy 9163381d4b TWINE: renamed methods to match original sources 2023-01-15 11:28:57 +01:00
Martin Gerhardy 5059a77b43 TWINE: renamed and removed members 2023-01-15 11:28:57 +01:00
Martin Gerhardy 215440ee83 TWINE: renamed members and use isPolygonVisible in preparePolygons
.. as found in the original
2023-01-15 11:28:57 +01:00
Martin Gerhardy 8315498dfb TWINE: renamed stuff to match more of the original sources 2023-01-15 11:28:57 +01:00
Martin Gerhardy db4eb789e7 TWINE: added missing clip functionality
see https://bugs.scummvm.org/ticket/12074

but this doesn't yet fix the holomap clipping bug
2022-09-02 17:08:43 +02:00
Martin Gerhardy 29319ce443 TWINE: added original function name 2022-07-24 19:45:24 +02:00
Martin Gerhardy 613d8e342d TWINE: renamed a few more methods and defines 2022-06-11 14:52:19 +02:00
Martin Gerhardy bed47375bc TWINE: fixed mixing of render types and material types 2021-12-27 21:40:00 +01:00
Martin Gerhardy 14177d7144 TWINE: boat window rendering is broken (renderPolygonsCopper
https://bugs.scummvm.org/ticket/12820
2021-12-27 21:38:28 +01:00
Martin Gerhardy 7d47c43b57 TWINE: Weird colors in sewers on Citadel island
https://bugs.scummvm.org/ticket/13163
2021-12-27 19:23:56 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy 784d088ec6 TWINE: fixed regression in circle clip handling
and properly fixed the rendering artifacts now

https://bugs.scummvm.org/ticket/13123
2021-12-16 20:07:03 +01:00
Martin Gerhardy 24b7e04424 TWINE: fixed polygon clipping issue
https://bugs.scummvm.org/ticket/12020
2021-11-29 16:26:47 +01:00
Martin Gerhardy a0262ed13b TWINE: Rendering artifacts if 3d model is clipped
https://bugs.scummvm.org/ticket/12020
2021-11-29 16:11:36 +01:00
Martin Gerhardy 46723348fc TWINE: added clipping to model rendering
this fixes the rendering issue with drowing
2021-10-11 20:31:58 +02:00
Martin Gerhardy 10402047b7 TWINE: added missing reset of clipping area 2021-10-11 20:31:58 +02:00
Martin Gerhardy f9e6995539 TWINE: prepare compilePolygons to support clipping 2021-10-11 20:31:58 +02:00
Martin Gerhardy 3c6e9ad2c9 TWINE: renamed variable 2021-10-11 20:31:58 +02:00
Martin Gerhardy 379ddd1ff2 TWINE: converted more render methods 2021-10-10 16:24:51 +02:00
Martin Gerhardy d8761a1bd0 TWINE: forward color as int16
because some of the polygon fill methods rely on the color value being a range
from start to end
2021-10-10 11:52:39 +02:00
Martin Gerhardy 002de89fad TWINE: the color values can contain two values - start and end color 2021-10-10 11:52:39 +02:00
Martin Gerhardy 37c48f7e44 TWINE: fixed filler methods 2021-10-10 11:52:39 +02:00
Martin Gerhardy 40dc338671 TWINE: fixed low detail render method 2021-10-10 11:52:39 +02:00
Martin Gerhardy 2d6abce5ca TWINE: renamed method 2021-10-10 11:52:39 +02:00
Martin Gerhardy 808516dc2f TWINE: circle rendering is using proper fill methods now 2021-10-10 11:52:39 +02:00
Martin Gerhardy 010a29a413 TWINE: prepare for color blending in marble fill method 2021-10-10 11:52:39 +02:00
Martin Gerhardy d157596665 TWINE: started to implement polygon render types for circles 2021-10-10 11:52:39 +02:00
Martin Gerhardy 87d9232202 TWINE: renamed variables 2021-10-10 11:52:39 +02:00
Martin Gerhardy da0e5a8193 TWINE: improved polygon render methods 2021-10-10 11:52:39 +02:00
Martin Gerhardy efc5e0bcf5 TWINE: added low poly details render methods 2021-10-10 11:52:39 +02:00
Martin Gerhardy b39e1c260d TWINE: implemented most of the polygon details mappings 2021-10-10 11:52:39 +02:00
Martin Gerhardy a2b1ae288f TWINE: improved renderHolomapPolygons readability 2021-10-08 19:00:01 +02:00
Martin Gerhardy 08833c3d0f TWINE: renamed variables 2021-10-08 19:00:01 +02:00
Martin Gerhardy 1587e87617 TWINE: prepare holomap code to work with other surfaces and images 2021-09-15 17:34:50 +02:00
Martin Gerhardy 359c1ba2cf TWINE: fixed holomap arrow clipping 2021-09-08 19:53:53 +02:00
Martin Gerhardy dd73daacf5 TWINE: fixed potential buffer underflow in renderPolygonsGouraud 2021-09-06 20:05:49 +02:00
Martin Gerhardy af8aa09bbe TWINE: renamed variable 2021-09-06 20:05:30 +02:00
Martin Gerhardy 30fe3ef07a TWINE: cleanup renderPolygonsGouraud 2021-09-06 20:00:26 +02:00
Martin Gerhardy 946fa1678e TWINE: re-did the renderPolygonsBopper method
better - but still not yet there. Try it with:

  set_holomap_trajectory 15

and check the boat windows
2021-09-06 19:53:11 +02:00
Martin Gerhardy 334a5c3109 TWINE: comments 2021-09-06 19:52:46 +02:00
Martin Gerhardy f4e5730cdc TWINE: translated french comment 2021-09-06 19:51:50 +02:00
Martin Gerhardy a095e97e1a TWINE: renderPolygonsMarble cleanup 2021-09-06 19:51:50 +02:00
Martin Gerhardy aa89e09dfe TWINE: renderPolygonsMarble renamed variables 2021-09-06 19:51:50 +02:00
Martin Gerhardy 76d496578a TWINE: fixed alignment issues for polytab access 2021-09-06 19:51:50 +02:00
Martin Gerhardy 3a05eb228c TWINE: further fixes in renderPolygonsMarble 2021-09-06 19:51:50 +02:00