Copy the code above or download the file or do whatever. Just get the code, open your Blender Project you want to get a Pano of.
Go to the Scripting Tab at the top1 and make a new file with the "New" button, or execute bpy.ops.text.new()
(/j)
Paste the code in there and press the ▶ button, it'll create a null object (axis thingi) and cameras parented to that. It creates it at the Cursor position, so keep that in mind. To move the cameras, move the axis (don't move the cameras, only select the axis, it'll be the only thing selected when you ran the script, don't move the cameras independently, it'll break everything and be no fun)
Set your render resolution to a square, it doesn't matter what resolution, I wouldn't go under 512, cuz then it'll look horrible.
Rendering it has two possibilities I can think of: either render each image seperately and save it, or use render burst (I hope you know how to install an addon)
- Go to the outliner and select the first camera
- Press F12
- Save the render as the name of the camera, so panorama_x.png or save them as whatever and rename them later, but don't come asking for help when the stitching doesn't work correctly
- Repeat for all cameras
- Continue with Making the Resourcepack
- Go into the output properties and change the file path in output to wherever you want your renders to end up
- Go into the Render Properties, scroll down to the Render Burst section and press the "Render!" button
- Continue with Making the Resourcepack
- Make a folder for your resourcepack
- Add a pack.mcmeta file (see example above, and change the pack_format to whatever is in whenever you read this, or whatever version you need, go research I'm not here to guide you through making a texture pack)
- (Optional) Add a pack.png (idk what the restrictions are, I always make mine 64x64)
- Create the following folder structure:
yourCoolTexturePackFolder/
├─ assets/
│ ├─ minecraft/
│ │ ├─ textures/
│ │ │ ├─ gui/
│ │ │ │ ├─ title/
│ │ │ │ │ ├─ background/
│ │ │ │ │ │ ├─ panorama_0.png
│ │ │ │ │ │ ├─ panorama_1.png
│ │ │ │ │ │ ├─ panorama_2.png
│ │ │ │ │ │ ├─ panorama_3.png
│ │ │ │ │ │ ├─ panorama_4.png
│ │ │ │ │ │ ├─ panorama_5.png
├─ pack.png
├─ pack.mcmeta
- If it's not obvious, move the panorama images into the background folder
- Install the resource pack like any other
- Profit
Also please don't just copy paste my code into an addon, not cuz I don't want it to be used or smtg, but cuz it's horrible, I'll ask at mcprep if they want the functionality, and then I'll make the code, yk, not garbage
Footnotes
-
If you're using pre 2.8 Blender, please upgrade, if you can't, the dropdown I think should have a tab, haven't touched an old version of Blender in years ↩
Btw an example