Voxels?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
DooMAD
Posts: 44
Joined: Fri Dec 30, 2005 5:13 pm
Location: UK

Re: Voxels?

Post by DooMAD »

Personally, I had no plans to make HUD objects from voxels. Aside from the part where they're comparatively huge, you only see them from one angle anyway, so there didn't really seem much point to me. That said, it someone else puts the work in and makes some that are faithful to the originals and still look good, that would be fine.
User avatar
Vegeta(dw)
Posts: 366
Joined: Fri May 09, 2008 10:23 am

Re: Voxels?

Post by Vegeta(dw) »

Graf Zahl wrote: And this amount of voxels will probably kill GZDoom's hardware renderer.
Don't worry, I only use Gzdoom to clean my ass
Gez
 
 
Posts: 17937
Joined: Fri Jul 06, 2007 3:22 pm

Re: Voxels?

Post by Gez »

Thank you for this highly insightful comment. It really needed to be part of this thread.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space

Re: Voxels?

Post by NeuralStunner »

Vegeta(dw) wrote:Don't worry, I only use Gzdoom to clean my ass
Good to hear you have good dental hygene.
User avatar
Chris
Posts: 2959
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Voxels?

Post by Chris »

DooMAD wrote:Aside from the part where they're comparatively huge, you only see them from one angle anyway
Not if they move around the screen. HUD voxel weapons would have the benefit of not needing to worry about if the sprite is angled right, if it's aiming too high or too low, if the parts farther from you are properly scaled, etc. Weapon bobbing would also keep perspective correct, instead of being a just flat image shifted around on screen. Certain HUID powerup icons, like the Wings of Wrath, could benefit, too.
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: Voxels?

Post by phi108 »

I guess to make a hud voxel gun, you'd take the basic shape of the pickup, up the resolution, and apply colors and details as seen in the hud sprite. Bobbing could be "better" than the sprite, and you'd have the benefit of allowing angled or centered guns as per people's tastes, and other effects. (and stereoscopic viewing would give more depth than a sprite... :mrgreen: )
User avatar
Enjay
 
 
Posts: 26816
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Voxels?

Post by Enjay »

But wouldn't you see the edge of every voxel? Isn't that kind of the point of them? On something like a smooth, rounded barrel I think they would look horrible.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49202
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Voxels?

Post by Graf Zahl »

Load the demo map that's floating around and have a look at the lamp. It's indeed horrible. I
User avatar
DooMAD
Posts: 44
Joined: Fri Dec 30, 2005 5:13 pm
Location: UK

Re: Voxels?

Post by DooMAD »

Green Armour is about 30% done, still have to tidy up the top and back, and then do it all again for the second frame so it blinks:

Image
User avatar
JustinC
Posts: 416
Joined: Tue Feb 23, 2010 11:58 am

Re: Voxels?

Post by JustinC »

phi108 wrote:I guess to make a hud voxel gun, you'd take the basic shape of the pickup, up the resolution, and apply colors and details as seen in the hud sprite. Bobbing could be "better" than the sprite, and you'd have the benefit of allowing angled or centered guns as per people's tastes, and other effects. (and stereoscopic viewing would give more depth than a sprite... :mrgreen: )
Hmmmmm.....I dunno. I think its going to be harder than that.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: Voxels?

Post by Amuscaria »

The only problem i see with a voxel gun is that it's not any better than the hug sprite. Since the sprite always "faces" you anyway, it defeats the purpose of a voxel. Also, the voxel at the edges will be "turned" towards you, distorting your weapon form and shading. But, I can't be sure. I guess it's how it's done.
janiform
Posts: 237
Joined: Tue Jul 31, 2007 10:56 am

Re: Voxels?

Post by janiform »

Regarding voxels in a GL port, perhaps it's worth mentioning that Lucius plans to implement GPU-based voxel rendering in DarkXL and DaggerXL: http://daggerxl.50.forumer.com/viewtopi ... t=10#p8035
User avatar
DooMAD
Posts: 44
Joined: Fri Dec 30, 2005 5:13 pm
Location: UK

Re: Voxels?

Post by DooMAD »

zdoom_vox.zip updated yet again. Green Armour, Blue Armour and Berzerk Kit are all now included.

Also made an attempt on the helmet pickup, but I got the shape wrong and it looks kind of shitty. Will have to do better on that one before it's decent enough to go in.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space

Re: Voxels?

Post by NeuralStunner »

Looks pretty cool! 8-)

The only issues I see are ones I already mentioned, also there are black voxels along all the top edges of the eye switches. That looks kinda weird.
User avatar
JustinC
Posts: 416
Joined: Tue Feb 23, 2010 11:58 am

Re: Voxels?

Post by JustinC »

How large is your general voxel ingame? (I mean like, how big is say....a green armor in Doom?)

Return to “General”