From: Daniel M. German <dmg@uv...>  20070404 06:39:10

Hi Leon, Look at the source code of panotools. In particular check the file math.c. you will find all the math (very simple, actually) you need there. The cubic projection is really 6 rectilinear projections, each pointing in the direction of the orthogonal to the plane of the cube, with a field of view of 90 degrees vertical and horizontal. To go from cylindrical to cubic I recommend you do a composition of two functions: from cylindrical to equirectangular, and then from equirectangular to cubic (rectlinear). This is a good source of information: http://mathworld.wolfram.com/EquirectangularProjection.html Leon Moctezuma twisted the bytes to say: Leon> Hi Daniel Leon> I'm Leon, I'm the cs student that is applying for the interactive panoramic Leon> viewer idea, Leon> I was talking with Yuval about the renderer and he commented to me, that Leon> there is a Leon> way to transform cylindrical and equirectangular format to cubic format, Leon> furthermore Leon> he told me you could have info about this, if you have any paper, web page Leon> or algorithm Leon> please let me know and send it to my mail. Leon> Thanks for all... Leon> León Moctezuma. Leon> Hi Daniel<br><br>I'm Leon, I'm the cs student that is applying for the interactive panoramic viewer idea,<br>I was talking with Yuval about the renderer and he commented to me, that there is a<br>way to transform cylindrical and equirectangular format to cubic format, furthermore Leon> <br>he told me you could have info about this, if you have any paper, web page or algorithm<br>please let me know and send it to my mail.<br><br>Thanks for all...<br><br>León Moctezuma.<br>  Daniel M. German "Great algorithms are Francis Sullivan > the poetry of computation" http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . 