Re: [Pipmak-Users] File IO with Pipmak and image manipulation.
Status: Alpha
Brought to you by:
cwalther
From: Andrea V. <and...@gm...> - 2007-03-27 07:29:08
|
Hi Christian, Thank you for the answer, I try to explain to you what I'm doing. I've written a pipmak project with just one cubic node, but this node is generated through patches reading from a map file. The prototype is working good, for the moment I've work just on indoor views and the effect is quite good (rooms and corridors are substantially cubes. Do you remember my last project "myHome virtual tour"?). Using this system you can create some spaces without the necessity to use a 3D/CAD application, So you can navigate inside space with hundred of panoramic views automatically generated... you have only to define some texture for the walls, the doors, the floors and the objects like furniture and so on... I believe this could approach more people to Pipmak, what do you think about that? Off course the views generated using 3D program is better, but sometime to do that is tedious... So you can automatically generate some parts of a project (not all), at least the simple parts... The internal views are more simple because I can use only one level of height (if the eyes of a man are located about at 1.75 meters, the height of my view, and of my cube is about 3.5 meters) The external view are more complicated because one level isn't sufficient to represent the reality with terrain, building with roofs etc.. I will think to the exteriors in a second time. The maps now is a tridimensional array loaded using dofile(), Therefore I need to write a map editor (always using Pipmak), for this reason I need the possibility to write and to read a text file. You understand also the the possibility to distort patch is very important to this project... for the moment I use a square patch, and a trapezoidal view of the same square divided in 3 patch: an upper triangle,a middle rectangle and a lower triangle; this work good with walls without texture (only colored) but less good with far walls with texture... If you are interested, I can show you my first prototype. Bye Andrea |