Creates a 360 Degrees Photosphere effect.
RPG Maker MV 360 Photosphere Effect Plugin By: Soul - soulxregalia.wordpress.com
Installation: After placing this plugin on your js/plugins folder, you must place the following js plugins under your js/plugins folder:
These two must be ABOVE the 360 Photosphere plugin.
If you do not have the plugin, You can download the three.js in their official site: https://threejs.org/
What's the best photo to be uploaded and used for this scene?
A panoramic photo or a photo in the power of twos. Don't upload small ones because it would be pixelated. You can also use equirectangular photographs. They will be seamless when they are wrapped around the sphere.
This does not support the ff yet:
USING YANFLY'S CUSTOM KEYBOARD FUNCTIONS?
If you're using yanfly's custom keyboard functions, remember to type the same control name of the keymap in the Scene or Spriteset Control. For example, if you want to use WASD in controlling the orbit of the sphere, you use whatever you used with Yanfly's plugin. So if you want to use the WASD, use W A S D keys in the controls.
Place all the images under your specified directory. If you are using a non existent folder, create it.
If you want to display the photosphere via scene:
Soul : Photosphere : Scene : imageName: autoOrbit : width : height : Start
If you want to display the photosphere via spriteset:
Soul : Photosphere : Spriteset : Setup : imageName : autoOrbit : width : height : x : y
where imageName is the name of the image used. Make sure you add the file extension as well. where autoOrbit if you want to make the orbiting automatic or not. true or false only. where width is the screen width for the renderer panel where height is the screen height for the renderer panel where x is the x position of the photosphere on the screen where y is the y position of the photosphere on the screen
example: SCENE: Soul : Photosphere : Scene : comfyroom.jpg : true : Start
SPRITESET: Soul : Photosphere : Spriteset : Setup : comfyroom.jpg : true : 512 : 512
However, if you're placing it on the spriteset, it doesn't automatically gets itself added. You have to add it. Use the plugin command
Soul : Photosphere : Spriteset : Show
to show the photosphere or use
Soul : Photosphere : Spriteset : Hide
to hide the photosphere.
So if you, say, want to display it via spriteset, the whole plugin command set would be: Soul : Photosphere : Spriteset : Setup : comfyroom.jpg : true : 512 : 512 Soul : Photosphere : Spriteset : Show
If you want to change the orbit speed when you use your keys, use this plugin command:
Soul : Photosphere : OrbitSpeed : speedNumber
where speedNumber is the speed value you want for the manual orbit.
Soul : Photosphere : OrbitSpeed : 0.01
If you want to change the automatic orbit speed, use this plugin command:
Soul : Photosphere : AutoOrbitSpeed : speedNumber
where speedNumber is the speed value you want for the automatic orbit.
ARE YOU USING A PARALLAX MAPPING PLUGIN?
Make sure that this plugin is ABOVE any plugin that has to do with maps.
Credits to Bjørn Sandvik for ff: Photosphere for ThreeJS tutorial. Photosphere Effect for native ThreeJS.
You are free to: Share, Adapt and Modify this plugin.
Free for Commercial and Non Commercial Use.