Autocubic is a project which it will permit to build some simple 3D space directly into Pipmak, without the need to create every scene (or node) with external graphic program.
Autocubic use patches 3D placement added since Pipmak 0.2.7, but I have done also a version which run with old Pipmak 0.2.6 using only 2D patches and recreate the effect of 3D patches by means of a complex prerendered square and triangle images. If someone is curious, check the version 0.0.8 at the end of this page.
Of course the possibility of that system was very limited, but the result obtained was interesting (this demo works better with old Pipmak version 0.2.6, but it can works also in 0.2.7, there are only some visible gaps between patches, which were hidden in old Pipmak release)
Now I'm working on next release of Autocubic which will use the new APIs given by Pipmak 0.2.7.
The idea is to divide the space into a 3D grid that corresponds to a three-dimensional array.
Each individual element of the matrix describes how to draw the sides of the corresponding cell of the space.
In this way you can get the result shown in the following figures:
You can move in each cells of the space and pipmak recalculate the view from that point!
To make more realistic representation, Autocubic calculates (in a simple way...) also the brightness of the walls and the projection of the shadows...
The only things you have to do, is add some plain texture image files like these:
And a textual description of your space (I'm working to semplify the syntax of this description...)
At the next address it's possible download the a demo (0.2.1) of new Autocubic:
http://andrea.viarengo.googlepages.com/ac21.pipmak
There still a lot of things to do, but:
What is missing:
There is a bug in 0.2.7: if you move in the space with the overlayed map open, Pipmak crash. This bug seems disapears with this workaround (I tryed only on WinXP):
The problem should be resolved in build r205 I have prepared binary from SVN205 (sorry it's only for WindowsXP and probably doesn't work on VISTA)
http://andrea.viarengo.googlepages.com/Pipmak-r205-WXP.zip
Another more simple example of new 3D Pipmak features using patch 3D placement could be the "Random Forest generator"
http://andrea.viarengo.googlepages.com/forest.pipmak
Forest generator is included into Autocubic.
_ - page created by Andrea Viarengo_