Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## Re: [FreePV-dev] interactive panoramic viewer

 Re: [FreePV-dev] interactive panoramic viewer From: Daniel M. German - 2007-04-04 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

I'm Leon, I'm the cs student that is applying for the interactive panoramic viewer idea,
I was talking with Yuval about the renderer and he commented to me, that there is a
way to transform cylindrical and equirectangular format to cubic format, furthermore Leon>
he told me you could have info about this, if you have any paper, web page or algorithm
please let me know and send it to my mail.

Thanks for all...

León Moctezuma.
-- 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 . ```

### Thread view

 [FreePV-dev] interactive panoramic viewer From: Leon Moctezuma - 2007-04-04 00:19:38 Attachments: Message as HTML ```Hi Daniel I'm Leon, I'm the cs student that is applying for the interactive panoramic viewer idea, I was talking with Yuval about the renderer and he commented to me, that there is a way to transform cylindrical and equirectangular format to cubic format, furthermore he told me you could have info about this, if you have any paper, web page or algorithm please let me know and send it to my mail. Thanks for all... Le=F3n Moctezuma. ```
 Re: [FreePV-dev] interactive panoramic viewer From: Daniel M. German - 2007-04-04 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

I'm Leon, I'm the cs student that is applying for the interactive panoramic viewer idea,
I was talking with Yuval about the renderer and he commented to me, that there is a
way to transform cylindrical and equirectangular format to cubic format, furthermore Leon>
he told me you could have info about this, if you have any paper, web page or algorithm
please let me know and send it to my mail.

Thanks for all...

León Moctezuma.
-- 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 . ```
 Re: [FreePV-dev] interactive panoramic viewer From: Aldo Hoeben | fieldOfView - 2007-04-04 07:21:21 ```> 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. > But would you really want to add such an expensive conversion to a viewer? Especially if you can just build the geometry of a cylinder or sphere instead? Intuitively, I'ld say reprojecting everything to a cube before displaying it would be too expensive for a viewer. What's wrong with using cylinder and sphere (and possibly fisheye, sinusoidal) geometry? -- Aldo Hoeben | fieldOfView aldo@... +31-(0)10 4267327 http://www.fieldOfView.com ; immersive impressive imaging ```
 Re: [FreePV-dev] interactive panoramic viewer From: Pablo d'Angelo - 2007-04-04 07:52:07 ```Aldo Hoeben|fieldOfView schrieb: >> 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. While the functions in that file are not very long, they can be quite hard to understand ;-) > But would you really want to add such an expensive conversion to a > viewer? Especially if you can just build the geometry of a cylinder or > sphere instead? I agree with that. The graphics hardware has been designed for such transformations. ciao Pablo ```
 Re: [FreePV-dev] interactive panoramic viewer From: Thomas Rauscher - 2007-04-04 15:01:24 ```Hello, on Wednesday, April 4, 2007, 09:52:00 Pablo wrote: >> But would you really want to add such an expensive conversion to a >> viewer? Especially if you can just build the geometry of a cylinder or >> sphere instead? PdA> I agree with that. The graphics hardware has been designed for such PdA> transformations. Also this would result in two remappings where you lose image quality in the intermediate step for no good reason (at least in my eyes). MfG, Thomas. ```