TiansHUo
TiansHUo

Reputation: 8629

Is there a way to pre-render a virtual panoramic scene?

I would like to put a photorealistic virtual scene on a tablet so when the user rotates the tablet, it shows as if the tablet is a window to an virtual world.

Pre-rendered scenes can be rendered photorealistic, while real-time rendering has a "computer-made look". Given that for one scene, the POV can be rotated but not translated in space, is it possible that a pre-rendered virtual panoramic scene give an immersive impression?
I doubt that this is easy, since rotating the view point will cause some sort of distortion. This kind of distortion is easy for apps like Starwalk, but difficult for photos. Can anyone point me out a direction?

I know that this will be tremendously easy for restricting motion in only one direction, but I would like the user to have a full 3d experience.

Upvotes: 0

Views: 340

Answers (2)

TiansHUo
TiansHUo

Reputation: 8629

I've found that http://code.google.com/p/panoramagl/ can render cubic, spherical and cylindrical panoramic images, so the problem transforms to how to make render a panorama which can be solved by stitching. I will still leave this answer open to see if anyone else has better answers.

Upvotes: 1

ChrisF
ChrisF

Reputation: 137148

You need to either warp the photographs before applying them as textures to your "sky dome" or use non uniform texture coordinates. If done right this will even out most of the distortions giving a more realistic appearance.

Another alternative is to use more photographs so that you are only actually using the central area of each one.

Upvotes: 2

Related Questions