170 Commits

Author SHA1 Message Date
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
Martin Gerhardy
9f36ac4309 TWINE: removed labels in renderPolygonsMarble 2021-09-06 19:51:50 +02:00
Martin Gerhardy
2caaa9380a TWINE: added disassembled code to render methods 2021-09-06 19:51:50 +02:00
Martin Gerhardy
f7ecae3c2c TWINE: comments 2021-09-06 19:51:50 +02:00
Martin Gerhardy
357a4c3460 TWINE: fixed issue #12842 (model is sliding when idling) 2021-08-30 22:04:41 +02:00
Martin Gerhardy
985d3501b0 TWINE: fixed shading for model rendering
see issue #12861 (Polygons more visible than they should be (no smoothing))
2021-08-31 07:09:01 +02:00
Martin Gerhardy
015fbb0797 TWINE: hack to fix the broken window rendering on the holomap
https://bugs.scummvm.org/ticket/12820

this needs a proper fix. But for now this is better than the rendering glitch that appears
2021-08-19 20:46:13 +02:00
Martin Gerhardy
07beec2957 TWINE: fixed div0 zero for rendering circles 2021-08-17 18:30:55 +02:00
Martin Gerhardy
ca7e9ae08e TWINE: removed unused getBaseRotationPosition call
this is already part of setBaseRotation
2021-08-17 18:30:30 +02:00
Martin Gerhardy
9c4907479a TWINE: merged projection methods 2021-08-16 17:15:42 +02:00
Martin Gerhardy
1b34bf6e0a TWINE: fixed parts of holomap planet rendering 2021-08-16 17:06:52 +02:00
Martin Gerhardy
b4813d1b65 TWINE: prepare to remove the _destPos member 2021-08-15 12:30:09 +02:00
Martin Gerhardy
97ae393b0a TWINE: reduced usage of the global _destPos
also identified a few potential issues and marked them with a TODO
2021-08-15 12:30:09 +02:00