Duke4.net Forums: Duke 3D Voxel Pack - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

  • 20 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Duke 3D Voxel Pack

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...
  • 1,234

#31

Maybe try a few enemies and see how they look in game and the public reception to them.

Posted Image
0

User is offline   ReaperMan 

  • 1,250

#32

View PostThe Commander, on Jan 28 2011, 01:05 AM, said:

Maybe try a few enemies and see how they look in game and the public reception to them.


Alright, ill see what i can do.
0

User is offline   Scott_AW 

  • 137

#33

To be cheap, you can just use the HRP models, use poly2vox to convert them, and then in slab6 burn in shading from looking above them. That should do the trick. The HRP models look kind of flat, could use the shading.
0

User is offline   Spirrwell 

  • tile 1018
  • 122

#34

Well it all looks good so far. I've been hoping for an updated Duke model, but even a voxel would be cool. Do you plan on doing a Duke voxel also?

MOTHERBOARD: Gigabyte Z170X-UD5
CPU: Intel Core i7-6770K @ 4.0 GHz
GPU: NVIDIA GTX 980 Ti
RAM: 16 GB DDR4
OS: Windows 10 Professional 64 bit
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...
  • 1,234

#35

I wonder if I should look at seeing if a simple Minecraft type mod is possible using voxels/models and the new clipping feature.
Posted Image
I will play around with some code this weekend and see what I come up with.
Will need to work out if which renders faster/can display more on screen, voxels or models. I would hope voxels do.

Posted Image

This post has been edited by The Commander: 27 January 2011 - 10:14 PM

0

User is offline   ReaperMan 

  • 1,250

#36

View PostScott_AW, on Jan 28 2011, 02:09 AM, said:

To be cheap, you can just use the HRP models, use poly2vox to convert them, and then in slab6 burn in shading from looking above them. That should do the trick. The HRP models look kind of flat, could use the shading.


Actually, i was going to voxelize the turret. It will just take three different voxels to animate, so it shouldn't take too long to make.

Edit: @Spirrwell: i'm going to see how the simple enemies look before i make anything like a voxel Duke Nukem.

This post has been edited by ReaperMan: 27 January 2011 - 09:33 PM

0

User is offline   Jhect 

  • -111

#37

Reaperman please don't do the turret. The turret looks fine with the HRP. I think you should try the pigcop or some of the enemies that looks bad with the HRP. Then we can see if it's really greater than the HRP and at the same time have the real duke feeling. Enemies should be the real challenge :wub:
0

User is offline   Scott_AW 

  • 137

#38

If you're going to do something like minecraft I'd figure simple box models would do for most stuff.

What new clipping thing? Does it work in Classic?
0

User is offline   Lunick 

  • Snazzy Ex Tazzy
  • 4,486

#39

Um would this be any help to you http://moreplease.fr...voxelindex.html

LeoTCK - EDIT: Jimmy, Blow it out your ass!
http://duke3dmaps.tumblr.com/
0

User is online   Micky D 

  • Honored Donor
  • 3,341

#40

View PostJhect, on Jan 28 2011, 05:03 PM, said:

Reaperman please don't do the turret. The turret looks fine with the HRP. I think you should try the pigcop or some of the enemies that looks bad with the HRP. Then we can see if it's really greater than the HRP and at the same time have the real duke feeling. Enemies should be the real challenge :wub:


What Reaperman is doing has nothing to do with the HRP, it's a separate project. What you're saying only makes sense if this thing is used in conjunction with the HRP, which given the intentions of the two replacement packs, is a contradictory and idiotic thing to do.

View PostScott_AW, on Jan 28 2011, 05:23 PM, said:

If you're going to do something like minecraft I'd figure simple box models would do for most stuff.

What new clipping thing? Does it work in Classic?


Yes it does! The feature is called clipshape as it uses clipshape.map files. It basically uses sector-like clipping for sprites. To make them you make a new map in mapster, insert a sprite and start making sectors to resemble the sprite/voxel/model in shape as closely as possible. There are one or two other things to get it working and I don't know the specifics, but if you have a recent version of eduke32, you can look in the "samples" folder for spriteclip.txt which has further information, and you can look at clipshape.map as an example of what to do :wub:

Oh and the feature was coded by helixhorned so you can thank him for the goodness

Polymer wishlist: Global illumination, SSAO, Bloom, reflective surfaces, adjustable specular (wetness), volumetric lighting.
Mapper of the Month December 2014.

Herbs? Tell me more!
0

User is offline   Scott_AW 

  • 137

#41

I shall do this.
0

User is offline   fgsfds 

  • 135

#42

Can you post here def code for animated voxel?
0

User is offline   Scott_AW 

  • 137

#43

Works like this

voxel "frame1.kvx" { scale 1 tile 100 }
voxel "frame2.kvx" { scale 1 tile 101 }
voxel "frame3.kvx" { scale 1 tile 102 }
voxel "frame4.kvx" { scale 1 tile 103 }

And for a multiside object, or just to have one voxel cover a range of tiles.

voxel "model.kvx" { scale 1 tile0 100 tile1 110 }
0

User is offline   Jhect 

  • -111

#44

View PostMicky C, on Jan 28 2011, 08:47 AM, said:

What Reaperman is doing has nothing to do with the HRP, it's a separate project. What you're saying only makes sense if this thing is used in conjunction with the HRP, which given the intentions of the two replacement packs, is a contradictory and idiotic thing to do.



The thing is that the turret is much easier to do. And we all know how it would look when he is done. What we saw with the HRP is that the turret is as hard to create as the objects that looks good with the HRP. Regular enemies like the liztroop should be much harder to create, and it is good to see if it will look good with the voxels. So in that way, you CAN compare it with the HRP. The HRP is a proof that the liztroop is harder to create than the turret.

But all of this doesn't matter.

Liztroop is cooler than the turret :wub:
0

User is offline   ReaperMan 

  • 1,250

#45

View PostMicky C, on Jan 28 2011, 03:47 AM, said:

What Reaperman is doing has nothing to do with the HRP, it's a separate project. What you're saying only makes sense if this thing is used in conjunction with the HRP, which given the intentions of the two replacement packs, is a contradictory and idiotic thing to do.


This^
0

User is online   Gambini 

  • 1,246

#46

Can´t wait to have this. How hard they are to do? i´d like to try doing a few myself, bottles, cups and other junk. But hey! how do they affect performance? how many of them can be in the same level? They should not give any kind of problem considering they´re just a bunch of volumetric pixels, a lot less demanding than models. But since developers only care about fancy models, i doubt they´re going to give any attention to opimize voxels rendering.

My maps

eat my shorts
0

User is offline   Scott_AW 

  • 137

#47

View PostGambini, on Jan 28 2011, 06:31 PM, said:

Can´t wait to have this. How hard they are to do? i´d like to try doing a few myself, bottles, cups and other junk. But hey! how do they affect performance? how many of them can be in the same level? They should not give any kind of problem considering they´re just a bunch of volumetric pixels, a lot less demanding than models. But since developers only care about fancy models, i doubt they´re going to give any attention to opimize voxels rendering.


As long as you're in classic mode, the amount of voxel objects that can be handled on todays computers is pretty impressive. I've found some limits, but thats after racking up tons of sprite counts from uncontrolled emitters(I had to make them distance based).

Right now I'm using grass as an object and have found some slow down with heavy usuage, but it still handles well.

I've tested a room full of enemies, which are higher resolutions than decor models, and it seemed to go well.

The only issue I have found is using too many masked walls, and mask walls in general have some clipping issues with voxels.

The best way to find out is to put as many into a room and see when things start to degrade.

I know I use tons of voxels in the town I have, but the slow down was caused by using masked walls for grass and recovered mostly by switching to a bunch of voxel grass objects.
0

User is offline   Trooper Dan 

  • Duke Plus Developer
  • 2,080

#48

View PostGambini, on Jan 28 2011, 06:31 PM, said:

Can´t wait to have this. How hard they are to do? i´d like to try doing a few myself, bottles, cups and other junk. But hey! how do they affect performance? how many of them can be in the same level? They should not give any kind of problem considering they´re just a bunch of volumetric pixels, a lot less demanding than models. But since developers only care about fancy models, i doubt they´re going to give any attention to opimize voxels rendering.


Voxels do not seem to put a big hit on frame rate, but caching times can be long if a lot of detailed voxels are used. They don't work in Polymer and the DEF scale command doesn't always work on them for some reason. Other than that, they work fine.
0

User is offline   ReaperMan 

  • 1,250

#49

View PostGambini, on Jan 28 2011, 10:31 PM, said:

Can´t wait to have this. How hard they are to do? i´d like to try doing a few myself, bottles, cups and other junk. But hey! how do they affect performance? how many of them can be in the same level? They should not give any kind of problem considering they´re just a bunch of volumetric pixels, a lot less demanding than models. But since developers only care about fancy models, i doubt they´re going to give any attention to opimize voxels rendering.


Does this answer your question about performance? :wub:

Posted Image

As for how hard they are to make it really depends on what you are making.

This post has been edited by ReaperMan: 28 January 2011 - 10:03 PM

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...
  • 1,234

#50

View PostScott_AW, on Jan 28 2011, 07:53 PM, said:

If you're going to do something like minecraft I'd figure simple box models would do for most stuff.

They do, but I wish to know which render can display more with out the cost of FPS, models or voxels.
Early testing shows it somewhat works.

http://www.youtube.c...h?v=s2_34l_4Yn0

Although I tried using a voxel block which looked normal in SLAB6, but in game its texture was all wrong.

EDIT: The above post helps with my question, we both posted at the same time. heh
EDIT 2: Sorry for the slight derailment in your topic ReaperMan, I will remove/delete my posts soon.

Posted Image

This post has been edited by The Commander: 28 January 2011 - 10:12 PM

0

User is online   Micky D 

  • Honored Donor
  • 3,341

#51

View PostReaperMan, on Jan 29 2011, 04:31 PM, said:

Does this answer your question about performance? :wub:


Unfortunately no, I got about 150 fps the last time I played in software mode, and what you're showing looks like a single sector with 4 walls. What's the framerate without all those voxels?

Edit: Actually I'm not sure if that's software mode or not.

Polymer wishlist: Global illumination, SSAO, Bloom, reflective surfaces, adjustable specular (wetness), volumetric lighting.
Mapper of the Month December 2014.

Herbs? Tell me more!

This post has been edited by Micky C: 29 January 2011 - 01:26 AM

0

User is offline   ReaperMan 

  • 1,250

#52

View PostMicky C, on Jan 29 2011, 06:25 AM, said:

Unfortunately no, I got about 150 fps the last time I played in software mode, and what you're showing looks like a single sector with 4 walls. What's the framerate without all those voxels?

Edit: Actually I'm not sure if that's software mode or not.


With all the background programs i had running it averaged at 60 when i took that shot in software mode. It always runs 60 fps when i'm in software mode voxels or not and 180 fps in 32bit (with nothing added).

This post has been edited by ReaperMan: 29 January 2011 - 03:39 PM

0

User is offline   Trooper Dan 

  • Duke Plus Developer
  • 2,080

#53

Make sure that vsync if off, then compare fps with voxels on/off to get useful information. Showing that fps is 59 in that situation doesn't tell us anything useful.
0

User is online   Gambini 

  • 1,246

#54

View PostDeeperThought, on Jan 28 2011, 11:51 PM, said:

They don't work in Polymer


That´s a polymer problem then. And i could not care less, if i´m going to use voxels it´s in 8bits mode.

My maps

eat my shorts
0

User is offline   Scott_AW 

  • 137

#55

http://www.youtube.c...h?v=kP4b5dMRT3A
At 36 seconds I reach one of the highest concentrations of voxel objects in a map I've done so far, tons of grass objects, some enemies, rocks and trees as well.

I had to record in 320x240, since it was skipping too much altough it maintained a high FPS all around.

You can see it dips to about 60fps or a little lower in this area. The tree wall on the side is a few layers deep and could also be affecting performance, I had to remove a ton of masked walls to speed things up. So technically you can have a shit ton of models as long as you space them out. The grass model is actually shrunk for detail purposes, its a 64x64x20 sized model. Trees are 32x32x64 to the largest of 64x64x224. Enemies tend to range between 64 to 80 in height voxel wise.

Then add in the excessive death jib factor and the cannon ball's dirt/dust/grit explosions, things still hold up.

Now a standard duke3d level doesn't use nearly as much sprites as I'm using, so I figure in a basic voxelization of Duke3d, it should run rather nicely, even if you use voxel models for the enemies(maybe just double or even 125% larger than their sprites)

Only drawback, slightly long load time, but nothing compared to other games. The nice thing is that once that little laggy voxel loadup is done, you're good to go.
0

User is offline   K100 

  • 123

#56

http://www.youtube.c...h?v=k7Om0RRDhxw

This is a Duke Nukem voxel model made by Ken Silverman.

You can download it here: http://advsys.net/ken/slab6.zip

Maybe it can help you.

Sorry for my bad english. ^^

French Duke Nukem community: http://dnf-france.fr/
0

User is offline   Scott_AW 

  • 137

#57

Attached Image: 30dukeat30.png

Here's HRP Duke converted from a MD3 at 160 voxels high, which is double the sprite size. At 30, it hits 30 on a Netbook.

At double size it looks the best, but speed wise 120 and 80 are more efficient. And if you keep the traditional frame amounts then it shouldn't be too many models per character.
0

User is online   Micky D 

  • Honored Donor
  • 3,341

#58

Eww I have to say it doesn't look very good, no offense Scott_AW. The problem is the HRP duke model looks good because it shows a lot of detail, which is pretty much lost in the voxel conversion. The original duke sprite looked good because effort was put into it to make it look good at the low resolution which it uses. So any Duke voxel model for in-game use should be made using the original sprites if possible, or perhaps using the model by Ken, if other frames can somehow be generated.

Out of curiosity, how much bigger is the file size of a voxel model than of a sprite of the same resolution?

Polymer wishlist: Global illumination, SSAO, Bloom, reflective surfaces, adjustable specular (wetness), volumetric lighting.
Mapper of the Month December 2014.

Herbs? Tell me more!
0

User is online   Jan Satcitananda 

  • 238

#59

In former times I was trying to convert my own 3D models using Ken's poly2vox tool and Slab6. What I had found is that they shown very little detail despite high voxel resolution, and the automatic lighting looked crappy. Later I abandoned the practice of modeling stuff in 3ds max for converting it into voxels; imho the only way to create a good-looking voxel object is to edit it on the level of separate voxels, like low-resolution pixel bitmaps.

Otherwise this pack looks very promising, keep it up!

Lezing Entertainment presents The LAST PISSED TIME Chapter I
LNGA v0.3, t3h ultimate Duke mod in progress

This post has been edited by CraigFatman: 30 January 2011 - 05:11 AM

0

User is offline   Scott_AW 

  • 137

#60

It is kind of a drawback, the detail of the texturing. That and the colors don't quite convert over to the duke3d palette as nicely.

From what I've found is your best results is to use broad detail, solid colors which have good shade ranges. Like blues, grays and such.

Idealy it would be nice to have the original 3dRealm's production level models, then you'd be good to go.

Otherwise you could just go lowbit, and do 80voxels. It looks low res, but then it might fit better, giver you some good speed.

One problem though is I don't know why there's no texture for the RPG and Jetpack on the HRP duke model.

Attached Image: dukevox.png
0

Share this topic:


  • 20 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks are property of their respective owners and all comments are owned by their posters. Yes, our forum uses cookies. © 2004-2017 Duke4.net and Voidpoint, LLC

Enter your sign in name and password


Sign in options