PDA

View Full Version : Fish eye view to 3D Sphere?


|Malc|
03-01-2005, 02:44 PM
Ok, what im trying to do here is turn a sceen i created in layout into a surface on the inside of an object, first thought was to use a sphere but a box might work to, so that when you turn and rotate the sphere it looks as though you changing your view point in the room. its hard to explane but but lets assume your in the middle of this object with a fixed view forward. You rotate the sphere down and from the camra view it would apper as if though your view had shifted up twords the celling. Confused?
My end goal is to creat a room in open GL in witch you can look around the room as if though it were 3D when in fact your just rotateing this shpere or box around the cammra letting you see the entire room.
is there a way to set the cammra to render in a fish eye view?
Your brain storming would be very helpful.
I would like to not use Quicktime VR for this.

jasonfox
03-01-2005, 05:39 PM
Lightwave (in fact all 3D programs) cameras have "perfect" distortion free lenses. Therefore a fisheye lens is not available (although I think there is a plug-in being developed to do this, I can't remember who by !).

The best way to do this, would be to emulate what you do in the real world to produce panoramas, that is take/render multiple images of the environment from a "tripod" mounted camera and then stitch them together in something like Realviz Stitcher.

This is particularly easy from a 3D package as you can get exact increments of images which you can render overnight !

Once you have stitched the images together, you can then export a single image that can be mapped onto the inside of a cube, sphere or cylinder in openGL.

Larrikin
03-01-2005, 08:51 PM
Just download the Special Projection Engine (http://www.arrakis.es/~juanj/) by Juan Jose Gonzalez. It's an excellent plugin and should be just what you want. It's free too.

CGTalk Moderation
03-01-2006, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.