MeltingPlastic Posted December 6, 2011 Share Posted December 6, 2011 Hello All! I've been lurking around the forums for a long time now - (reading blogs etc), And I thought I would post on what I've been using the evaluation kit for: The Following video is a proof of concept for using blocks as a construction tool for building dynamic structures that can interact with each other. Its written in BlitzMax and uses an oct-tree structure for the 2 block-groups. in this video the stairs is one block-group and the structure on top is another block-group. the blocks in each structure are then grouped to form "chunks" that are used for larger meshes and rigid-bodies. Quote Link to comment Share on other sites More sharing options...
cassius Posted December 6, 2011 Share Posted December 6, 2011 clever stuff. nice work. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Scott Richmond Posted December 6, 2011 Share Posted December 6, 2011 Hey that's really impressive mate! Nice work. How does it distinguish between two block groups when you're creating them? Do you push a button to finish editing the first group and move on to the next? Quote Programmer, Modeller Intel Core i7 930 @ 3.5GHz | GeForce 480 GTX | 6GB DDR3 RAM | Windows 7 Premium x64 Visual Studio 2008 | Photoshop CS3 | Maya 2009 Website: http://srichnet.info Link to comment Share on other sites More sharing options...
MeltingPlastic Posted December 7, 2011 Author Share Posted December 7, 2011 thanks for the feedback! yes I press x to switch the current group that is being edited, in the future I might make it so that if the green creation cube isn't touching another block - a new group is automatically created. Quote Link to comment Share on other sites More sharing options...
Scott Richmond Posted December 7, 2011 Share Posted December 7, 2011 Also noticed the textures attempt to scale during merging. How does that work? Quote Programmer, Modeller Intel Core i7 930 @ 3.5GHz | GeForce 480 GTX | 6GB DDR3 RAM | Windows 7 Premium x64 Visual Studio 2008 | Photoshop CS3 | Maya 2009 Website: http://srichnet.info Link to comment Share on other sites More sharing options...
MeltingPlastic Posted December 7, 2011 Author Share Posted December 7, 2011 Also noticed the textures attempt to scale during merging. How does that work? well each block-group holds a list of "chunks" which are defined as rectangular groups of blocks, these are formed by an algorithm that searches through all blocks in the block-group. I run that algorithm if a block is added, or removed from the block-group. once the chunks are created, I assign simple scaled cube mesh's to the dimensions of each chunk (these meshes could have their textures scaled back to hide the effect - but i kept them to show a peek of whats going on. These chunks also have rectangular rigid bodies affiliated with them as well. I should note that the stairs in this video is also a dynamic set of jointed rigid bodies even though it doesn't move much in the vid . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.