Christoph Oelckers
|
902f8c9706
|
- silenced lots of warnings for deliberate type conversions.
The ones in d_net.cpp are not in active code.
|
2022-10-30 16:51:35 +01:00 |
|
Christoph Oelckers
|
e6807964ae
|
- don't use Build utilities in the render backend.
|
2022-10-22 12:16:57 +02:00 |
|
Christoph Oelckers
|
c87b4a581b
|
- got rid of the WallStart/End macros
They never got much use and the places where they were used work just as well without them
|
2022-10-22 12:16:56 +02:00 |
|
Christoph Oelckers
|
32e1f07b60
|
- eliminate all use of integer coordinates in the sector geometry creation code.
This eliminates the last small remnants of texture twitching in SW as well.
|
2022-10-05 18:31:46 +02:00 |
|
Christoph Oelckers
|
3a9f9988f4
|
- redid clipinsidebox* functions.
* Completely rewritten to be less obtuse.
* Consolidated the two variants.
* Renamed to be clearer about what they do.
|
2022-10-05 18:31:45 +02:00 |
|
Christoph Oelckers
|
c84d75b8bf
|
- use inline access functions to read floorz/ceilingz.
|
2022-08-27 09:58:16 +02:00 |
|
Christoph Oelckers
|
0672572e63
|
- renamed sectortype::floorz and ceilingz as preparation for floatification
|
2022-08-27 09:47:48 +02:00 |
|
Christoph Oelckers
|
111dbd7a7d
|
- backend update from GZDoom.
mainly TAngle overhaul and needed code adjustments.
|
2022-08-26 18:28:22 +02:00 |
|
Christoph Oelckers
|
a1339f014c
|
- store indices in sectionsPerSector.
|
2022-02-20 23:11:04 +01:00 |
|
Christoph Oelckers
|
e3f1893e02
|
- avoid conversions for vertex comparisons in CollectLoops and for sectorgeometry.cpp's poscompare values.
|
2022-02-15 22:34:03 +01:00 |
|
Christoph Oelckers
|
a781517780
|
- renamed PlanesAtPointf to PlanesAtPoint
The old PlanesAtPoint is not needed anymore.
|
2022-02-15 22:18:24 +01:00 |
|
Christoph Oelckers
|
08500ca757
|
- eliminated coordinate factors from UV generator.
|
2022-02-15 22:18:24 +01:00 |
|
Christoph Oelckers
|
bd95da423a
|
- use PlanesAtPointf in most places where PlanesAtPoint was used.
|
2022-02-15 22:18:24 +01:00 |
|
Christoph Oelckers
|
cd55658786
|
- use floats for vertices.
|
2022-02-15 22:18:23 +01:00 |
|
Christoph Oelckers
|
f44736a5b6
|
-use an access function for reading wall positions so that we have a non-modifiable value wherever this is possible.
|
2022-02-15 22:18:23 +01:00 |
|
Christoph Oelckers
|
89ef81da55
|
- renamed walltype::pos as preparation for refactoring.
no functional changes here
|
2022-02-15 22:18:22 +01:00 |
|
Christoph Oelckers
|
f09bbb8b5e
|
- fixed the normals for sloped planes.
|
2022-01-12 16:02:45 +01:00 |
|
Christoph Oelckers
|
a15e5399fa
|
- don't use a full sector backup in the triangulator for comparing changes.
Instead use a smaller struct only containing the relevant data.
|
2021-12-30 09:58:14 +01:00 |
|
Christoph Oelckers
|
059412b75e
|
- first batch of routing all write access to sectortype::ceilingz and floorz through a function interface.
We need this for implementing "precise" rendering to flag vertices as dirty.
|
2021-12-30 09:58:14 +01:00 |
|
Mitchell Richters
|
a1900253e5
|
- Fix GCC warning warning: "/*" within comment [-Wcomment] .
|
2021-12-30 09:57:31 +01:00 |
|
Mitchell Richters
|
09e00a69fe
|
- Replace walltype y with pos.Y calls and eliminate walltype pos union.
|
2021-12-30 09:57:04 +01:00 |
|
Mitchell Richters
|
51b647da87
|
- Replace walltype x with pos.X calls.
|
2021-12-30 09:57:04 +01:00 |
|
Mitchell Richters
|
118ceb18ca
|
- Capitalise vec2_t y variable.
|
2021-12-30 09:57:02 +01:00 |
|
Mitchell Richters
|
3c9cd926ba
|
- Capitalise vec2_t x variable.
|
2021-12-30 09:57:02 +01:00 |
|
Mitchell Richters
|
83000fab77
|
- Remove last remaining node builder code.
|
2021-12-30 09:53:11 +01:00 |
|
Mitchell Richters
|
95d60deecd
|
- Rename remaining hw_sections*.* files to hw_sections.* .
|
2021-12-30 09:53:11 +01:00 |
|
Christoph Oelckers
|
fc41a2bd85
|
- renamed sections2 and sections2PerSector.
No more need for a '2'.
|
2021-12-30 09:53:10 +01:00 |
|
Christoph Oelckers
|
bb9313454d
|
- removed SectorGeometry class.
|
2021-12-30 09:53:09 +01:00 |
|
Christoph Oelckers
|
d8a3035bcc
|
- invalidate plane meshes when the sector is retriangulated.
After this any old mesh has become invalid and needs to be rebuilt.
|
2021-12-30 09:53:09 +01:00 |
|
Christoph Oelckers
|
37e49ed775
|
After this any old mesh has become invalid and needs to be rebuilt.
- use only one Section type.
|
2021-12-30 09:53:09 +01:00 |
|
Christoph Oelckers
|
8e01d559e8
|
- store sector as an index in Section2 and renamed walls to lines.
Now everything has the same name and type as in the old section.
|
2021-12-30 09:53:08 +01:00 |
|
Christoph Oelckers
|
a407e86ff6
|
- migrated automap to new SectionGeometry class.
|
2021-12-30 09:53:08 +01:00 |
|
Christoph Oelckers
|
4364e68d05
|
- automap work to transition to new sections.
|
2021-12-30 09:53:08 +01:00 |
|
Christoph Oelckers
|
411e3e6f9c
|
- make SectionGeometry create some data.
|
2021-12-30 09:53:07 +01:00 |
|
Christoph Oelckers
|
69593fd5c7
|
- Triangulation WIP
# Conflicts:
# source/core/sectorgeometry.cpp
|
2021-12-30 09:53:07 +01:00 |
|
Christoph Oelckers
|
449362dcb3
|
- better debug output.
|
2021-12-30 09:53:07 +01:00 |
|
Christoph Oelckers
|
7b14aacdf4
|
- match alignment of NPOT flat textures to the software renderer
Tested in RR E1L4, sector 224+40, probably needs more checking in other places as well to confirm that it is correct there as well.
|
2021-12-26 23:10:04 +01:00 |
|
Christoph Oelckers
|
1a3b9f8ac0
|
- made several arrays holding sector related data dynamic.
|
2021-12-26 23:10:02 +01:00 |
|
Christoph Oelckers
|
838bed7800
|
- final cleanup of sectnum related stuff.
Made sure that remaining uses of sector indices are safe to be kept and deleted a few redundant functions.
|
2021-12-26 23:10:01 +01:00 |
|
Christoph Oelckers
|
f9b1164747
|
- use point2Wall wherever possible.
|
2021-12-26 23:09:48 +01:00 |
|
Christoph Oelckers
|
12f6b05cbe
|
- use access functions, all done by search & replace.
|
2021-12-26 23:09:44 +01:00 |
|
Christoph Oelckers
|
387a03c7ee
|
- fixed triangulation via node builder for sectors with invalid walls.
The array indices were not properly adjusted for the missing elements an
|
2021-12-12 00:23:35 +01:00 |
|
Christoph Oelckers
|
01abe7b2ac
|
- addressed most unused/uninitialized variable warnings from MSVC.
|
2021-11-29 00:55:30 +01:00 |
|
Christoph Oelckers
|
6dcd7e2557
|
- do not crash on badly defined walls where the end point is missing.
|
2021-09-12 18:18:26 +02:00 |
|
Christoph Oelckers
|
5d3f7947bf
|
- avoid calling the node builder to triangulate degenerate sectors.
This tends to crash.
|
2021-08-14 09:48:05 +02:00 |
|
Christoph Oelckers
|
62a5a720e8
|
- Check for maps with bad setup of their wall lists.
Lo Wang In Time's map 11 does not include wall 0 into its sector, which caused crashes when trying to triangulate this sector.
|
2021-07-06 10:29:24 +02:00 |
|
Christoph Oelckers
|
15635ec7c8
|
- fixed crash when trying to triangulate broken sectors.
In these cases it is possible that the wall index may go below 0.
|
2021-06-11 23:18:46 +02:00 |
|
Christoph Oelckers
|
2b8a80c6ce
|
- added the out-of-bounds vertex handler to the secondary triangulator as well.
If SW does this, triangulation must not be attempted as it will inevitably fail.
|
2021-05-29 13:19:44 +02:00 |
|
Christoph Oelckers
|
0b181c67b9
|
- don't skip lines when an empty one gets deleted.
|
2021-05-23 17:22:29 +02:00 |
|
Christoph Oelckers
|
f212421547
|
- don't let the triangulator choke on empty sectors.
|
2021-05-23 17:19:01 +02:00 |
|