Latest Entries »

This time we have implemented the algorithm for the hollowing out of VoxelObjects (with the changing of the boxes to planes a fairly simple few steps away) and the physical interaction between the player and terrain as well as player controls and the chase cam. Played with lighting a bit more too.

By brother also drew a drawing of me and him while I was asleep. The resemblance of us is uncanny so I decided I’d make it part of the game eventually for the fun of it (: Here it is just floating in the background for now.

Look at me! Look at me! Oh right.. the camera is following me!

The artistic picture my brother drew. It will become an integral part of the game!

Obi-wan is ready to fight.

Oh look... he's hollow inside! 😀

Estimated time worked: 1 day.

Implemented this round:

  • Hollowing out of objects so that unnecessary internal cubes are not added to the scene node.
  • Camera following of player.
  • Player controls.

TODOs:

  • Add a TerraMonkey terrain to the game engine.
  • Better camera movement.
  • Change in direction for player VoxelObject to face the direction its moving.
  • Arbitrary sizing of VoxelObjects.
  • Centering of VoxelObjects so that its position is at its x, z center

A Healthy Chicken

This week I got the VoxyEngine/Editor working with the loading and displaying of Shionn’s dotmodel files. This will allow reuse of the already generated files that came with the source, as well as the ability to make use of the Dot Modeler as the program to use for generating models for the game. With the help of people from the JMonkey Engine forums  I made  some changes in the back end to allow for the use of arbitrary RGBA values for block colors where previously colors came from a predefined set of textures that was simply wrapped around each block. The result: improved efficiency and flexibility. We now also batch the cubes for each of the VoxelObject objects together which has resulted in a 1560% increase in frame rate performance of the game. Yes!

I also played around with the bloom effect. What do you think? 😀

Our first attempt at loading dotmodels with no color, along with a stress test. Notice the abysmal frame rate of 5 per second.

Close up of the shaded chickens. Looking good!

First attempt at coloring the chickens. But alas there is no shading!

The final result after applying vertex coloring and batching of cubes. Look at that low object count and high frame rate! Now that's a healthy chicken! 😀

So in the end everything worked out well. Two last optimizations that we could make with one being easier than the other are:

  1. Only add cubes to the scene node that are not completely surrounded by other cubes (easy!)
  2. Render only the surfaces that can be seen on the outside (harder!)
Once we have one of the above done we will finally have a near-perfect, or perfect chicken!

Estimated time worked: 1 and a half days.

Implemented this round:

  • Loading of unexported dotmodel (.dot) objects.
  • Vertex Coloring
  • Batching
  • Enabled bloom effect (minor).

TODOs:

  • Hollowing out of objects so that unnecessary internal cubes are not added to the scene node.
  • Add a TerraMonkey terrain to the game engine.
  • Camera following of player.
  • Player controls.

We may not bother about the following for a while since we can always use the Dot Modeler…

  • Better VoxyEditor controls.
  • Rotation of voxel model in VoxyEditor.
  • Loading of DotModeler model files.

Coloring Snag

A bunch of pics for the JMonkey forum I posted for help. Luckily someone has come to my aid now! 😀

It’s been yet another busy (or not so busy) week of development, and a lot of things have happened over the course of the week. Shionn, the creator of DotModeler which I mentioned last week has since contacted me with the source code for his project and should help development of this project along, which was very kind of him. Although due to his project being implemented directly with LWJGL I may not directly integrate the projects together, but they will be useful references nonetheless, and I will continue implementing this project with JME3. The .dot models are bound to be useful as well, and I plan to allow the import of them in to the editor as well.

Apart from that I played around with NiftyGUI (which I must say is very nifty, and is integrated with JME3) and easily allowed me to create a simple user interface for the editor.

Designer Shapes in Design

I did design a sample voxel object of a hippo which due to an error was not saved properly (I may have closed the window too quickly while it was still saving. Hopefully it’s not a bug!) I ended up settling with testing my new functionality with some “Designer” objects created by me (:

Designer Shapes

Designer Shapes

Estimated time worked: 2 days and a bit.

Implemented this round:

  • Color selection for voxels (including menu options).
  • Saving of voxel object (including menu options).
  • Loading of voxel object (including menu options).
  • Deletion and replacement of voxel blocks.

TODOs:

  • Better VoxyEditor controls.
  • Rotation of voxel model in VoxyEditor.
  • Loading of DotModeler model files.

A new beginning.

Welcome to Voxyforest where you’re at the beginning of a new voxel based life sim style game.
Having loved games like Animal Crossing as a child (this was back during the GameCube era) and having made a walkthrough back in the days, I have been recently reinspired to create a game like that on my own, partially from the influence of the Animal Crossing Movie.

The idea is to use simple shapes to represent the world, with many objects being consisted of “voxels” 3d pixel like shapes. This would save on the lack of graphical skills on my part, while still being able to have a game fit in to a particular style (one that I happen to like as well).

Having decided I needed voxel modelling software, I headed off to google and found some useful tools: In particular DotModeler a 3D voxel modelling software for the style of graphics I want. However having not been developed for native operations on windows machines, odd glitches occured, that with the paring of the program menus being written in French set me off to look for another option. It turned out quite difficult to find modelling programs of that sort so I decided the best option was just for me to write my own modeler.

After many hours of fumbling with a new SDK (JMonkeyEngine 3 Platform – which btw has been fantastic for 3D development in Java for me so far) I managed to get a simple editor up:

Functionality implemented this update:

  • Drawing of grids.
  • Adding of blocks to the VoxelBox.

To be implemented:

  • Saving of objects.
  • Loading of objects.
  • Choice of voxel colours.

I also have a very simple test scene up, which has me a little bit motivated (:

* For completness sake, I also found another modeling program SolidDots for the iPhone. Unfortunately I don’t have an iPhone to check it out, but it would be great if I could integrate the ability to use this program for creating objects for Voxyforest. I would also like to integrate the “board extending sculpting” idea to VoxyEditor.

Create your own website, free on WordPress.com.Create your own website.
Start free