The PanoCamAdder is an addon for Blender.
It is helpfull to create 3D models from equirectangular panoramas.
The PanoCamAdder is also helpfull for creating models especially for KRpano 3D-depthmap panorama tours.
The addon comes in two versions:
- It adds a 360°-viewer camera setup.
- It creates a Material with a panorama-texture node.
- It creates a World setup with a desaturated panorama for the background.
You can add multiple PanoCams, Materials and Worlds to each file!
- All free features.
- Easy toggeling between different 360 cameras
- Zoom slider for the 360 viewer.
- Quick viewport settings.
- Prepare the models for KRpano with just one click.
- Read out the panorama positions/rotations (translated to KRpano 3D space) to create 3D-depthmap panorama tours.
- Add hotspots to the models to read out the location and rotation values (translated to KRpano 3D space).
- Print preformed xml-code for positioning panoramas and hotspots quickly in KRpano.
The PanoCamAdder+ is full compatible to the free vesrion!
Means: If you start with the free version, you can finish your project with PanoCamAdder+.
For what is it usefull?
You can use all the features of Blender to create different things with the model later on.
Use texture-baking to create beautiful dollhouses or scenes for a game engine.
You can export the model also as STL file, to use it inside KRpano as Depthmap.
How it works:
Press the „Add PanoCam“, enter a name for your panorama and press the OK button.
This will create:
- A Material „PanoName_MAT„
- A World „PanoName_WORLD„
And it adds three objects to the scene:
- A camera „PanoName_CAM„
- An emty „PanoName_HANDLE„
- And another empty „PanoName_ROT„
The „PanoName_HANDLE“ is the mainhandle for the camera-location and the panorama-rotation.
Move it to position the camera, rotate it to turn the panorama.
The „PanoName_CAM“ is the 360°-Viewer for the current panorama. Press NumPad-0 to activate the camview, hold and drag the middle mouse button to look around.
If you use more than one PanoCam in your scene, you must activate different cameras for the current window. Choose a camera from the dropdown-menu in the 360-Viewer panel and press OK.
Alternatively, if you use the free version, go to the VIEW tab, tick „use local camera“ and select a camera from the dropdown menue.
The „PanoName_ROT“ is needed for the world-setup. Just leave it where it is and ignore it.
To start modelling, add a plane to the scene and apply the „PanoName_MAT“. Load your panorama to the Material. Keep sure the plane is at (0/0/0) and move the „PanoName_HANDLE“ to the corecct camera-height (very important!)
If you want to see a desaturated panorama in the background, select the „PanoName_WORLD“ in the World settings.
Activate Viewport-Shading to make the Material visible. Tick Scene-World to make the background-panorama visible, too.
Prepare the model for Krpano
- Select the model first.
- Than select the PanoName_HANDLE while holding the [SHIFT] key.
- Press „Make Exportready“ and export your model as STL or OBJ.
(How to prepare the models manually is shown in this tutorial.)
Export as STL/OBJ
Go to File/Export/STL to safe the model as STL-file.
Dont forget to tick:
- Selection only
If you want to use the model as textured „dollhouse“, you must eport them as OBJ. But before you have to UV-unwrap it and bake the texture as shown in this tutorial.
Creating 3D-depthmap panorama tours
If you want to create 3D-depthmap panorama tours in KRpano, you will need the exact position and rotation for each panorama and hotspot.
It is very easy to read out the Krpano-values with PanoCamAdder+
- First, load all your finished and prepared models into one single Blend-file as shown in this tutorial.
- Add hotspots, if you like.
- If everything is well placed, select each model and hotspot to read out the location/rotation valus in the KrpanoValues panel.
- It is also possible, to print a preformed xml-code for the hotspots and the panorama-aligning.
<style name="Style_Pano_02" prealign="-0.0|1.0621|0.0" ox="413.173" oy="0.0" oz="339.929" linkedscene="Scene_Pano_02" /> <style name="Style_Pano_04" prealign="-0.0|3.7533|0.0" ox="14.6254" oy="0.0" oz="-321.7581" linkedscene="Scene_Pano_04" /> <hotspot name="Hotspot_01" style="" tx="413.173" ty="126.1291" tz="339.929" rx="-90.0" ry="-180.0" rz="-0.0" /> <hotspot name="Hotspot_02" style="" tx="658.8543" ty="-0.0" tz="149.5747" rx="0.0" ry="90.0" rz="-0.0" /> <hotspot name="Hotspot_03" style="" tx="-89.8124" ty="-35.625" tz="-118.4566" rx="90.0" ry="-0.0" rz="-90.0" />