issue combining models

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze 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.
Spacehitchhiker42
Posts: 4
Joined: Fri Mar 15, 2019 6:02 pm

issue combining models

Post by Spacehitchhiker42 »

I've created a weapon that is composed of 2 models, one is the weapon itself, one is an energy beam. both models are lined up in misfit3d, but when i try the weapon in GZDoom, it looks like the energy beam is overlapping with the outside of the weapon. what am i doing wrong here?

here's the file
http://doomshack.org/uploads/superlaser.pk3

Thanks!
User avatar
Cherno
Posts: 1322
Joined: Tue Dec 06, 2016 11:25 am

Re: issue combining models

Post by Cherno »

Check if both models have the same offset from the "world center" (0,0,0). Remember that a model's origin/pivot point doesn'T matter as far as GZDoom is concerned, only the raw coordinate values are taken into account.
Spacehitchhiker42
Posts: 4
Joined: Fri Mar 15, 2019 6:02 pm

Re: issue combining models

Post by Spacehitchhiker42 »

as far as raw coordinates go, they're lined up.
Diode
Posts: 53
Joined: Mon Feb 29, 2016 2:34 pm

Re: issue combining models

Post by Diode »

Looks like an alpha sorting problem to me, unless I'm misinterpreting what it's supposed to look like.

Alpha sorting is broken on first person models, so if that's the problem, you're going to have to re-think your design.
Spacehitchhiker42
Posts: 4
Joined: Fri Mar 15, 2019 6:02 pm

Re: issue combining models

Post by Spacehitchhiker42 »

Diode wrote: Alpha sorting is broken on first person models, so if that's the problem, you're going to have to re-think your design.
after some more tinkering around i kinda figured that out. I've rendered all the frames in my modeling program and i'll just use j\hires sprites for that particular weapon

Return to “Assets (and other stuff)”