Voxels for hud - is it possible?
Moderator: GZDoom Developers
-
- Posts: 2100
- Joined: Sun Aug 18, 2013 9:41 am
- Location: Philadelphia, PA
Re: Voxels for hud - is it possible?
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.
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.
-
- 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?
Why to use voxels when you can use hi-res sprites or even models?
-
- Posts: 2599
- Joined: Tue Nov 29, 2005 4:37 am
Re: Voxels for hud - is it possible?
For that rustic feeling? :p
-
- 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?
OK, voxels are very fun.
-
- Posts: 486
- Joined: Tue Nov 29, 2005 2:15 pm
- Graphics Processor: nVidia with Vulkan support
Re: Voxels for hud - is it possible?
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.
-
- 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?
Why not make a minedoom? Place voxel boxes and get them. It will be fun!
-
-
- Posts: 17936
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Voxels for hud - is it possible?
Engine really, really, really not designed for it.
-
- 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?
I think it would be good, I will make a thread.
-
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: Voxels for hud - is it possible?
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.
-
-
- 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?
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.
-
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: Voxels for hud - is it possible?
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.
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.
-
-
- Posts: 17468
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: Voxels for hud - is it possible?
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...
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...
-
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: Voxels for hud - is it possible?
I think I'd rather just do visibility and distance checks, I'd have to be insane to try that method first
Also, released
Also, released
-
- Posts: 53
- Joined: Sun Jul 25, 2010 7:25 pm
Re: Voxels for hud - is it possible?
Gez wrote:Engine really, really, really not designed for it.
-
-
- Posts: 17468
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia