MontyTRC89 / Tomb-Editor

Tomb Editor
56 stars 17 forks source link

Adjustable step height #768

Closed Nickelony closed 8 months ago

Nickelony commented 9 months ago

464

This is achieved through removing the Level.HeightUnit const completely and storing geometry height in raw world units as an int. Older prj2 files will have their Y values multiplied by 256 to match original world size. Step height can be switched around using [ ] keys.

ToDo:

Known issues:

Nickelony commented 8 months ago

It's done and tested! In the future we may allow the user to choose which type of rounding (Default, ToFloor, ToCeiling or Integer) should be used for RayTracing since each one of them makes the lighting look quite different, but for now, this is as close to original as possible.

This was honestly the most painful update I worked on, even more insane than the extra subdivisions stuff.