vkdoom_m/src/rendering/hwrenderer
Dileep V. Reddy 25f1407228 Cleaning up implementation of isometric camera with optional orthographic projection.
All CVars, mapinfo variables, and playerinfo/playerpawn variables are gone.
A Camera actor named 'SpectatorCamera' is defined in warsrc/static/zscript/actors/shared/camera.zs

The following new flag bits were defined in the 'DViewPosition' struct for use with actor->ViewPos in src/playsim/actor.h:
	VPSF_ALLOWOUTOFBOUNDS =		1 << 3,			// Allow viewpoint to go out of bounds (hardware renderer only).
	VPSF_ORTHOGRAPHIC =		1 << 4,			// Use orthographic projection.
	VPSF_ISOMETRICSPRITES =		1 << 5,			// Displace sprites towards camera and don't billboard (drawn from isometric perspective).

Basically, spawn a SpectatorCamera actor with the appropriate flags and set it to player.camera.
See example template: https://www.mediafire.com/file/fv8rytayjt9l6g1/isometric_actor_wads.zip/file

Has been tested with multiplayer death and disconnection (and respawns). Not tested with portals.
Still only works with hardware renderer (mostly). But should be compatible with older mods and libraries.
2024-02-01 08:43:34 -05:00
..
scene Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
doom_aabbtree.cpp - missed some MAX's. 2021-10-30 10:45:58 +02:00
doom_aabbtree.h - Backend update from Raze 2021-04-19 12:58:35 +02:00
doom_levelmesh.cpp Upload acceleration structures for the level mesh 2022-06-22 07:55:19 +02:00
doom_levelmesh.h Upload acceleration structures for the level mesh 2022-06-22 07:55:19 +02:00
hw_dynlightdata.cpp - ensure that shadowmap indices only get set when shadowmaps are enabled. 2021-08-11 10:06:22 +02:00
hw_entrypoint.cpp Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
hw_models.cpp allow modeldef flags to be overriden 2024-01-16 10:27:08 -05:00
hw_models.h allow modeldef flags to be overriden 2024-01-16 10:27:08 -05:00
hw_precache.cpp ActorModelData cleanup in preparation for decoupled model animations 2023-11-20 22:08:33 -05:00
hw_vertexbuilder.cpp Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2 2021-11-10 19:57:49 +08:00
hw_vertexbuilder.h Add missing include guards 2023-05-29 07:35:26 +02:00