wrote some things
This commit is contained in:
@@ -10,7 +10,7 @@ To:
|
||||
|
||||

|
||||
|
||||
And to use three.js, each segment of the cube comes as a seperate file as well (nx, ny, nz, px, py, pz):
|
||||
And for use in three.js, each segment of the cube comes as a seperate file as well (nx, ny, nz, px, py, pz):
|
||||
|
||||
nx
|
||||

|
||||
@@ -20,8 +20,13 @@ ny
|
||||
|
||||
etc.
|
||||
|
||||
## Usage:
|
||||
## Usage:
|
||||
#### Convert .hdr to equirectangular .png with Blender
|
||||
cubemap-rendersetup.blend has removed or decreased to the fullest all kinds of unnecessary render settings if rendering an HDRI only. The camera is set to the centerpoint, it's perspective 360° equirectangularly set up.
|
||||
Why would I do this?
|
||||
I tried converting an HDRI (.hdr) to a .png or .jpg by hand - the colors got messed up. Rerendering with this setup did the trick.
|
||||
|
||||
#### Convert equirectangular image to cubemap with Python
|
||||
```
|
||||
python equi_to_cube.py equimap.png
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user