Each model for each angle

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Zeberpal
Posts: 189
Joined: Sun Apr 28, 2013 2:06 am
Location: RU

Each model for each angle

Post by Zeberpal »

Hello!

Doom change actor's sprite depending on angle. There is 8 different angles for 8 sprites for actor (PLAYA1, PLAYA2A8, PLAYA3B7, PLAYA4B6, PLAYA5; same for nomirrored sprites: PLAYA1, PLAYA2,PLAYA3, PLAYA4, PLAYA5,PLAYA6,PLAYA7,PLAYA8)

Image


Let's say I want to do the same thing, but with models.
I 3D-matte-paint 8 different angles, so it's literally 8 different models.

Image
Image

Question is, is it even possible to intergrate with MODELDEF or ZSCRIPT or whatever? This method would help me create very alive creatures with symbyosis of 2D and 3D graphics, yet I need no interpolation between angles, just like classic Doom. Pre-rendered sprites just look flat and fake.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Each model for each angle

Post by wildweasel »

I'm not sure I understand where the advantage of this sort of setup is - you're basically throwing out the primary advantage of using 3D models (free rotation) with no discernable benefits. You might as well prerender them and use the renders as sprites instead.
User avatar
Zeberpal
Posts: 189
Joined: Sun Apr 28, 2013 2:06 am
Location: RU

Re: Each model for each angle

Post by Zeberpal »

I'm not sure why I thought it could be a good idea, I'm suprised myself. Perhaphs I just want to find a way to make 3d models look more 2D-ish and conceptish, yet feel dimensional.
User avatar
ramon.dexter
Posts: 1529
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Each model for each angle

Post by ramon.dexter »

Zeberpal wrote:Perhaphs I just want to find a way to make 3d models look more 2D-ish and conceptish, yet feel dimensional.
The model has to be created that way. You cannsimply make it somethign with post processing, if it wasn't created that way.
User avatar
R4L
Global Moderator
Posts: 404
Joined: Fri Mar 03, 2017 9:53 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11 Pro
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Each model for each angle

Post by R4L »

Maybe you should check this out.
Post Reply

Return to “Scripting”