Dilvish Posted September 8, 2016 Posted September 8, 2016 (edited) I learned recently about a 360 degree panorama viewer called Pannellum. https://pannellum.org/ It's pretty easy to set up and use. It all works in Javascript and WebGL, so you don't have to install any plugins. You can click on the little arrows to move from room to room. Here is an example. http://isometricland...riagehouse.json http://isometricland...use_broken.json (Note that I am slowly replacing the images with new ones. So not every "room" has radiosity yet, among other things.) Here's the POV-Ray camera code I use. This part is crucial. // Camera #declare Camera_Up = -y*2; #declare Camera_Right = +z*2; #declare Camera_Location = <0,0,0>; #declare Camera_Direction = -x; #declare Camera_LookAt = Camera_Location + Camera_Direction; #ifndef (view_direction) #declare view_direction = frame_number; #end #switch (view_direction) #case (0) #declare Camera_Rotate = <0,000,0,>; #break #case (1) #declare Camera_Rotate = <0,090,0,>; #break #case (2) #declare Camera_Rotate = <0,180,0,>; #break #case (3) #declare Camera_Rotate = <0,270,0,>; #break #case (4) #declare Camera_Rotate = <0,0,090,>; #break #case (5) #declare Camera_Rotate = <0,0,270,>; #break #end #declare Camera_Transform = transform { rotate Camera_Rotate } camera { up Camera_Up right Camera_Right location Camera_Location direction Camera_Direction transform {Camera_Transform} } It creates 6 separate images that form the faces of a cube, resulting in a cube map. Here's a definition of a cube map. https://en.wikipedia...ki/Cube_mapping Enjoy! Edited September 8, 2016 by Dilvish Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.