A demonstration of the "Active Voxel" extension

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi guys,

    This is a bit old for some of you, but now you all can try it out... A preview demo of the Active Voxel extension:

    It's an idea I've had for almost 10 years and finally I'm getting close to the level I need to start making extensions.

    The voxel renderer inside is NOT my idea of implementation! It's a person named Judaeu from the Command&Conquer mod scene who made it in C for SDL.

    (Actually, I rewrote it when he said "Er, please god no?" when I asked if it'd be a good idea to use it)

    I plan on experimenting with some small features that the engine never had, though. Give suggestions.

    While rendering the first model which is the heaviest on the processor, it does not affect the MMF FPS on my old 1.5ghz machine. It's stable at 60.

    Everything is software rendered as voxels are not HW accelerated.

    Here are some screenshots from the demo as of now: (the model has race car movement)

    Please login to see this picture.
    This is animated, but of course it doesn't show since it's a PNG :)

    Please login to see this picture.
    APC

    Please login to see this picture.
    Actually, my son textured this ambulance :)

    PROS on using voxels:

    * They're easy to make Please login to see this link.

    * There are tons of voxels to download and use in your game, on crediting their makers Please login to see this link. Please login to see this link.

    * They are "retro" because they're closer to sprites, allows sprite artists to work in a fashion which is more familiar to them than polygon+textures.

    * It allows for artistic impression even though you know nothing about 3d-modelling. Start making 3d-versions of ZEB, anyone?

    * There's an extension for MMF2 coming up.. .This one :)

    CONS... well let's all be positive, people :)

    ---

    Some background:

    Well voxels are most basically an array with three dimensions of pixels:

    boolean pixels[x][y][z]

    Westwood uses voxels for some units in Tiberian Sun, amongst other games (the games are few, though). They invented the file format that these voxels use. Its extension is .VXL and a bit blurry spec is found here: Please login to see this link.

    This format splits a model into PARTS which are later positioned in an animation file...

    The animations are stored in .HVA files, which has its own format. It's pretty basic but does about what you would want with it.

    Models with just one part (like a bus) don't need an HVA. Tiberian Sun automatically constructs tanks of voxel models with two parts and no HVa (body, turret), and the same goes for models with three parts (body, turret, barrel).

    I feel the tank-construction bit should not be a part of the Active Voxel extension, it's too specific.

    ---

    Planned features

    I plan on introducing hotspot and action point to it, to make it more similar to how you program for an AO.

    I would also like to see if I can add the possibility of adding/removing/moving lights for the model. Just think of the feeling to have a by-night scene where your vehicle shines upon coming close to lightposts!

    Please give suggestions or ideas, or just wait a couple of days for the alpha... :)

    ---

    Some tools:

    For making voxels:

    * Open Source Section Editor (don't forget to look at the help file) (Please login to see this link.)

    Animating voxels:

    * Open Source HVA Builder (Please login to see this link.)

    Viewing voxels:

    * Open Source Voxel Viewer (Please login to see this link.)

    Any ideas?

  • All, please try the Please login to see this link. demo to see just how retro it will look :grin:

    Use the two bars on the top to change ambient and specular levels.

    Drag the mouse to spin the car, or use the arrow keys to drive it around (it's rendered in real time)

    Any ideas?

  • Quote from Bornemix

    All, please try the Please login to see this link. demo to see just how retro it will look :grin:


    Crashes for me sorry :(

    Applications | Games | MMF...

    Please login to see this link.

  • This. Is. Amazing.

    Estimation on release date? If it's before christmas then i'm definately including it in my game!

    Please login to see this link.
    Please login to see this link.

  • It writes some logs (I think) to C:\ which causes UAC to hickup. To write to C:\ requires admin rights - sorry about that.

    The extension is open sourced, I've got too little time on my hands to finish it (a shame really, it's embarrasely close to finishing).

    Please login to see this link.

    Any ideas?

  • Oh! I only just noticed this, it didn't light up as "new posts" for some reason.

    Is there no chance of anyone creating this extension as i ADORE it.

    All it would need is rotation options and the other options that active objects have.

    Is there a chance of seeing the mfx that was used to create the example application?

    Please login to see this link.
    Please login to see this link.

  • Oh that's sad ! Voxels are the bridge between pixel art and 3D.
    It would be a must have for clickers.
    Could you at least release officialy the source in the Extension Development forum so that interested developers don't miss it ?

  • This is awesome! Just exactly what i need.
    Look i made a sheep <3

    Please login to see this picture.

    Adam, i know you love it! xD

    Now all i need is a shepherd boy. Then OINC. And ppl can play "Flock! Online"

    p.s. how you add shading tough?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!