[No] Voxels for hud - is it possible?

Moderator: GZDoom Developers

Voxels for hud - is it possible?

Postby conradrdw » Mon Aug 26, 2013 3:37 pm

I have made a voxel for HUD, for my project, but it doesn't works in zdoom. I don't want to use gzdoom's openGL cause i like zdoom's software. is it possible to add voxel support for HUD sprites?
conradrdw
 
Joined: 15 Feb 2013
Location: Ukraine

Re: Voxels for hud - is it possible?

Postby randi » Mon Aug 26, 2013 4:15 pm

Of course it's possible, but seriously: Why? It doesn't offer any more flexibility than sprites do, and sprites will always look better. So why bother? I fail to see the attraction to this idea that keeps popping periodically.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Re: Voxels for hud - is it possible?

Postby RV-007 » Mon Aug 26, 2013 7:37 pm

Blame Legos Inc., lol.
User avatar
RV-007
anti-13ashar_society, lol
Banned User
 
Joined: 02 Sep 2011
Location: Dying w/ civilization or living after it

Re: Voxels for hud - is it possible?

Postby NeuralStunner » Mon Aug 26, 2013 9:39 pm

randi wrote:I fail to see the attraction to this idea that keeps popping periodically.
I think the main thing is the 3D look that is achieved when the weapon moves around onscreen. It's really the closest thing anyone can get to viewmodels in a software renderer outside of Quake.

An actual software model system (probably prerendering to sprites, which I think is what you've done for voxels) would be a nice thing to have. It'd have its own limitations but I could see it being useful.
User avatar
NeuralStunner
Not "Neutral"
 
 
 
Joined: 21 Jul 2009
Location: capital N, capital S, no space
Discord: NeuralStunner#4201
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Voxels for hud - is it possible?

Postby Nash » Mon Aug 26, 2013 11:21 pm

Thing is, the voxel resolution/performance trade-off is just horrible. I tried making a huge voxel once (pretty much at the limits, 256^3?) and littering the map with it... only 10 copies of it on screen and it's already dunking the FPS down a lot... and this is on an i7 920 machine!

"Well duh, make the voxels smaller then"

Then it would look crappy.
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Voxels for hud - is it possible?

Postby conradrdw » Tue Aug 27, 2013 3:24 am

Because spawning this voxel as an object again and again in front of player takes much more performance then it could be, but anyway looka awfull when i start moving. Please, I know you can add this!
Of course it is not finished now so looking not the best, but anyway its much more interesting for me then sprites.

Image

Image
conradrdw
 
Joined: 15 Feb 2013
Location: Ukraine

Re: Voxels for hud - is it possible?

Postby Graf Zahl » Tue Aug 27, 2013 3:37 am

Why even use voxels for that? There's absolutely no imaginable way how they could ever look good as HUD sprites. That they work in GZDoom is more an accident than intentional.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Voxels for hud - is it possible?

Postby Snarboo » Tue Aug 27, 2013 9:22 pm

I actually find the aesthetic in those screenshots charming. Kinda makes me wonder what Quake would have been like had they gone with voxels. :p
User avatar
Snarboo
Bacon doesn't know it's not dogs
 
Joined: 29 Nov 2005

Re: Voxels for hud - is it possible?

Postby conradrdw » Tue Aug 27, 2013 9:55 pm

I make all the objects in my project voxels. so i want a voxel hud too. I would be glad if this support is done.
conradrdw
 
Joined: 15 Feb 2013
Location: Ukraine

Re: Voxels for hud - is it possible?

Postby GFD » Tue Aug 27, 2013 10:01 pm

I could see this looking good if used well; it is pretty charming, reminds me of Ace of Spades or that voxel Wolfenstein thing. Also might be easier for some people than trying to make sprites if they want to use a voxel model they've already made. +1
User avatar
GFD
My brain's probably worth a lot of money!
 
Joined: 31 May 2010
Location: Canada

Re: Voxels for hud - is it possible?

Postby Zhs2 » Fri Aug 30, 2013 10:42 pm

Standing in with the approval train, whatever that's worth. Of course, centered weapons would probably be most preferable in the case of voxels (to cite the Quake mention up there), but why the heck not if it fits the graphical vision of your project, I say.
User avatar
Zhs2
Power of meh.
 
Joined: 07 Nov 2008
Location: Maryland, USA, but probably also in someone's mod somewhere
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Voxels for hud - is it possible?

Postby Amuscaria » Tue Sep 03, 2013 5:47 pm

I could be wrong, but what advantages does using this have over just sprites? Software render doesn't have dynamic lighting, so you're not going to save work on light your sprites. As far as I understand, animating voxels isn't like animating a 3D model where you animate a skeleton (i could be wrong about this as well) so you still need frames and therefore different voxel renders. Graphically, you'll never match the efficacy of voxel huds over sprites - if you want detail, you suffer major performance losses for rendering essentially thousands of pixel-sized sprites in tendem. If you wanted fast speed, you get an extremely low resolution comparable to that of classic Wolfenstein.

Also, the perspective at which you view the voxels is always going to be the same - from the first person. Given you have no lighting, no animation, and no graphical benefits from using this as is, if you just wanted a voxel looking graphic for aesthetic reasons, why not just take a screencapture of a voxel render and just use that as a sprite. If would be practically no different.

I'm not sure if an developer would spend the time at adding a feature that offers no real use outside what I imagine can only be an extremely narrow niche.
User avatar
Amuscaria
The Sentient Mushroom
 
Joined: 26 Jul 2004
Location: Growing from mycelium near you.

Re: Voxels for hud - is it possible?

Postby Nash » Wed Sep 04, 2013 3:47 am

I understand what the OP wants in terms of aesthetical consistency (I've played his project before when he posted it in the Bugs forum, it is actually kind of cool; a lot of custom-made voxels) but unless someone is willing to code it, I think the only solution the OP has is to fake it with whatever method he is doing right now...
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Voxels for hud - is it possible?

Postby Snarboo » Wed Sep 04, 2013 11:07 am

This seems like it would be a pittance to add, so redundant or not, I don't see why it shouldn't make it in with the caveat that it will look kinda weird or crappy to most people.
User avatar
Snarboo
Bacon doesn't know it's not dogs
 
Joined: 29 Nov 2005

Re: Voxels for hud - is it possible?

Postby mallo » Fri Sep 06, 2013 9:57 am

conradrdw wrote:I make all the objects in my project voxels.

Even monsters?
Voxel monsters look crappy when they change direction. :?
User avatar
mallo
GO TO NEXT SECTOR.
 
Joined: 22 May 2010
Location: Once upon a land in a far off time

Next

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest