Voxels for hud - is it possible?

Moderator: GZDoom Developers

User avatar
TheMightyHeracross
Posts: 2100
Joined: Sun Aug 18, 2013 9:41 am
Location: Philadelphia, PA

Re: Voxels for hud - is it possible?

Post by TheMightyHeracross »

Yes. Even DECORATE, ACS, 16 angle support, etc.
But he says, "I need it, add it!" He is expecting it from the devs.
Remember when Blaskowitz was talking about how he needed that angled chaingun?
Pretty much what I meant.
User avatar
Lisac_the_fox
Posts: 137
Joined: Fri Oct 18, 2013 7:22 am
Location: In front of hell, looking down into the deep red abyss.

Re: Voxels for hud - is it possible?

Post by Lisac_the_fox »

Why to use voxels when you can use hi-res sprites or even models?
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Voxels for hud - is it possible?

Post by Snarboo »

For that rustic feeling? :p
User avatar
Lisac_the_fox
Posts: 137
Joined: Fri Oct 18, 2013 7:22 am
Location: In front of hell, looking down into the deep red abyss.

Re: Voxels for hud - is it possible?

Post by Lisac_the_fox »

OK, voxels are very fun.
User avatar
StrikerMan780
Posts: 486
Joined: Tue Nov 29, 2005 2:15 pm
Graphics Processor: nVidia with Vulkan support

Re: Voxels for hud - is it possible?

Post by StrikerMan780 »

It would look really nice if one incorporated weapon drift. Ie. Weapon drifts slightly behind your own movements, ala. Most modern shooters, or even MineCraft.
User avatar
Lisac_the_fox
Posts: 137
Joined: Fri Oct 18, 2013 7:22 am
Location: In front of hell, looking down into the deep red abyss.

Re: Voxels for hud - is it possible?

Post by Lisac_the_fox »

Why not make a minedoom? Place voxel boxes and get them. It will be fun!
Gez
 
 
Posts: 17936
Joined: Fri Jul 06, 2007 3:22 pm

Re: Voxels for hud - is it possible?

Post by Gez »

Engine really, really, really not designed for it.
User avatar
Lisac_the_fox
Posts: 137
Joined: Fri Oct 18, 2013 7:22 am
Location: In front of hell, looking down into the deep red abyss.

Re: Voxels for hud - is it possible?

Post by Lisac_the_fox »

I think it would be good, I will make a thread.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Voxels for hud - is it possible?

Post by The Zombie Killer »

It's possible, and I tried to make something like it before, I had working block breaking, and a map etc, but it was pretty buggy since like Gez said, the engine isn't designed for it.
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 for hud - is it possible?

Post by NeuralStunner »

You will simply not be able to get appreciable performance out of the huge number of actors needed. Rendering isn't the issue, it's game logic itself. (Collision &c.) I ran into that snag myself while trying to work out a full-destructibility system.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Voxels for hud - is it possible?

Post by The Zombie Killer »

Which is why much of that old mod I made didn't really get finished. I ended up making maps and then making players build in them.
I'm currently reworking it, and I might actually have a release soon, regardless of these issues.
The grass block voxels look weird because they were just quickly converted from the Minecraft texture.
Image
User avatar
Nash
 
 
Posts: 17468
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Voxels for hud - is it possible?

Post by Nash »

I kind of have an idea. But it's a good way to kill yourself by the time you're done coding this. ;)

Store world in a huge array. All player movement is handled virtually. So input keys will actually feed data that will update player positions in data world (or fake world if you will). All player movement and collision simulation is ran virtually. Nothing is actually happening in Doom's physical world.

Then using that data, you have routines to "draw" the world, objects and players (moving and spawning block actors) at a designated and fixed spot in the map. You're going to predefine the "draw distance" so to speak by setting the physical map area to whatever you want (1024^3 for example) so the rendering and actor processing overhead for the voxels will always remain constant, eventhough the world could be (almost) infinitely big.

Very impractical and crazy but if you have nothing better to do with your life...
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Voxels for hud - is it possible?

Post by The Zombie Killer »

I think I'd rather just do visibility and distance checks, I'd have to be insane to try that method first :p

Also, released
TheMisterCat
Posts: 53
Joined: Sun Jul 25, 2010 7:25 pm

Re: Voxels for hud - is it possible?

Post by TheMisterCat »

Gez wrote:Engine really, really, really not designed for it.
Image
User avatar
Nash
 
 
Posts: 17468
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Voxels for hud - is it possible?

Post by Nash »

:O

Return to “Closed Feature Suggestions [GZDoom]”