Automap and models

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Apeirogon
Posts: 1605
Joined: Mon Jun 12, 2017 12:57 am

Automap and models

Post by Apeirogon »

am_cheat 2 dont show actors that use model instead of sprite on automap.
Is it ok and iddt cheat can show only sprite actors?
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Re: Automap and models

Post by Gutawer »

All your models should have a sprite backing them up anyway (I've had issues where actors with a model and no sprites just can't be placed down in the editor). The cheat can only show sprite actors since its not drawing the map as a 3d space, but as a 2d space.
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Automap and models

Post by Nash »

I wonder if it's possible to "render" the model offscreen (say from the front angle) and output that as a texture to be drawn as a sprite... :?:

(similar to the idea me, Rachael and dpJudas talked about on Discord once regarding a "dressing room" feature)
User avatar
Chris
Posts: 2940
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Automap and models

Post by Chris »

Would it be possible to render the model (and/or voxel) on the automap using the expected angle with orthographic projection?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Automap and models

Post by Graf Zahl »

The automap doesn't use a depth buffer so there will be some problems with such an approach because things may overlap in a non-trivial fashion (that is, unless you clear the depth buffer after each model render.)
Hypersonic
Posts: 134
Joined: Mon Aug 14, 2017 3:04 pm

Re: Automap and models

Post by Hypersonic »

It would be neat to have a separate 3D automap which uses the same 3D engine as when playing, just move the camera away from the player's eyes to way up in the air looking down like in Diablo, like Doom Builder visual mode.

Trying out the chase command with chase_dist 9999 it seems that it would work out fairly well, if only the camera could 'puncture' through the ceiling. Though vertical sprites are difficult to see, but just like the current map mode they could be drawn horizontally instead of vertically. Models would solve this problem. Orthographic projection would solve the problem of walls blocking the view of floors of adjacent sectors.
Last edited by Hypersonic on Thu Nov 16, 2017 1:07 pm, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Automap and models

Post by Graf Zahl »

*just*... :?
User avatar
Apeirogon
Posts: 1605
Joined: Mon Jun 12, 2017 12:57 am

Re: Automap and models

Post by Apeirogon »

Gutawer wrote:All your models should have a sprite backing them up anyway (I've had issues where actors with a model and no sprites just can't be placed down in the editor). The cheat can only show sprite actors since its not drawing the map as a 3d space, but as a 2d space.
But all that still projecting to 2D plane of monitor...
Hypersonic wrote:It would be neat to have a separate 3D automap which uses the same 3D engine as when playing, just move the camera away from the player's eyes to way up in the air looking down like in Diablo, like Doom Builder visual mode.
Try play in descent to point "I destroy reactor, where exit?". This have good look only in dead space.
Graf Zahl wrote:The automap doesn't use a depth buffer so there will be some problems with such an approach because things may overlap in a non-trivial fashion (that is, unless you clear the depth buffer after each model render.)
.
If I correct, map sprite draw as billboard x/y axis. So what if draw model at side view? Find actor slope, in case if it use some dark trigonometric magick to be always perpendicular to floor with any slope, through cathetus of right angled triangle, with one angle equal to finding angle, than find normal to this cathetus in direction of north-south and draw it from this point of view.
Post Reply

Return to “Bugs [GZDoom]”