|Victor Giers ddffb06539 corrected some things||1 year ago|
|hotel_cubemap||1 year ago|
|rough_cubemap||1 year ago|
|studio_cubemap||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|cubemap-rendersetup.blend||1 year ago|
|equi_to_cube.py||1 year ago|
|hotel_room.png||1 year ago|
|rough.png||1 year ago|
|studio.png||1 year ago|
Python script to create sky image maps in rectangular format from such in equirectangular format, Blender setup to render equirectangular image maps.
And for use in three.js, each segment of the cube comes as a seperate file as well (nx, ny, nz, px, py, pz):
cubemap-rendersetup.blend has removed or decreased to the fullest all kinds of unnecessary render settings if rendering an HDRI only (did you know 1 sample is enough for this job?). The camera is set to the centerpoint, its 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.
python equi_to_cube.py equimap.png
The presented HDRIs are from HDRI-Haven,
the scripts are made by people from Stackoverflow.
I did nothing but using glue here!