About Store Forum Documentation Contact



Post Reply 
question about blocks class.
Author Message
Rollcage Offline
Member

Post: #1
question about blocks class.
Is it possible to have multiple "blocks" containers in one area? It seems asif you can only have one per area.

It would be great to have access to the blocks source so we can modify to have multiple chunks of blocks per area and control when they are drawn / updated. This would pretty much turn esenthel into a voxel capable engine.
05-18-2013 05:03 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: question about blocks class.
Hello,

Blocks are in no way bound to an area. You can create them independently of an area.
You might as well store 4 blocks in one area:
Blocks blocks[2][2];
05-18-2013 12:16 PM
Find all posts by this user Quote this message in a reply
Rollcage Offline
Member

Post: #3
RE: question about blocks class.
OK thanks for that.

Regarding the texturing of blocks, currently the texture is applied to every side of the block. Cube maps would be so handy because the sides of the block can be different to the top. Eg. The minecraft style dirt and grass block.

I don't think this is currently possible.
05-19-2013 03:32 AM
Find all posts by this user Quote this message in a reply
Post Reply