Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP + Matrix1] Voxel viewer (kvx format)

Author
Message
Manson_NS
19
Years of Service
User Offline
Joined: 4th May 2004
Location: Denmark
Posted: 20th May 2010 12:29
KVX file viewer as per the old build games - Duke Nukem 3D, Blood, Shadow Warrior etc.
Very pixelated stuff I might add, realy only usefull for weird retro games.
The attached file contains a few voxels and an editor by the original creator Ken Silverman and is available at his website:
http://advsys.net/ken/download.htm#slab6
a few more voxel packs can be found at http://moreplease.free.fr/HRP/Devan/voxeldownload.htmlhttp://moreplease.free.fr/HRP/Devan/voxeldownload.html
However these extra packs might call for an upgrade to handle more than 256 colors (vow)

This is a very rough code, and I'd much appreciate some help with the coloring, as I have only been able to come up with two solutions for coloring - creating a mesh with FVF format 338 and coloring with the diffuse parameters, or as 274 and creating an image containing the palette. The later of these is much more colorful (and usefull) however I hate having to create an image just to color a pixelated model.

FVF 274:




FVF 338:

Attachments

Login to view attachments
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 21st May 2010 06:20
Are there any advantages to using these voxel models instead of a normal model? Ken's demos seem to run very fast with very large terrain models, which is exactly what I'd like to play with. However, this code just seems to make the model mesh in a pixelated format, which takes 30000 or more polygons.

Manson_NS
19
Years of Service
User Offline
Joined: 4th May 2004
Location: Denmark
Posted: 29th May 2010 01:02
Nope, none compared to just firering up a normal model - it's realy most for nostalgy purposes or the fun of it I guess
JLMoondog
Moderator
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location: Paradox
Posted: 27th Jun 2010 03:42
Does this create real voxel graphics, or does it imitate it? The cool thing about the voxel remakes were you could wip out your knife and literally cut up anything in the level. Shot something and pieces exploded off of it, was quit cool to see in action.

Login to post a reply

Server time is: 2024-04-25 15:41:13
Your offset time is: 2024-04-25 15:41:13