- Tue Oct 06, 2009 3:49 am
#310712
When working with HDRI's in SketchUp I thought it was frustrating not knowing how the HDRI-images were oriented.
I wanted to use them for background, illumination and reflections but I couldn't control the Offset-parameters.
Now I've made my own work-around:
A "HDRI-sphere" with the the .hdr-image mapped to the inside and a compass to translate the U Offset rotation. (I guess it could be expanded to cover the V Offset rotation as well...)
Place your model at the center of the sphere and the result is rather close to WYSIWYG and fast to adjust but takes some steps to setup:
- Make a flipped jpg from a HDRI-image. In this example I used "radsky-017.hdr" that comes with the Maxwell installation. The .hdr is opened in Photoshop, flipped horizontally, mode changed to 8 Bits/Channel and saved as a .jpg-image (I call it a "HDRI-jpg").
- The HDRI-jpg is mapped onto the inside of the sphere using a ruby-script called "UVtools.rb" (UVtools does not map perfectly at the "poles" of the sphere, but rather nicely though). After one HDRI-jpg has been mapped, it can simply be replaced by other HDRI-jpgs.
- The model should be build or placed near the center of the sphere - or the sphere should be moved so that it's center is close to the model. The larger the sphere, the closer to WYSIWYG-effect.

In this image the Sidney Opera House is placed in the center of the sphere.
- Rotate the sphere in order to get the desired HDRI-orientation in the render-view. Use the little circular face on top of the sphere as rotation-plane.
(IMPORTANT: Rotate only the sphere, not the compass).
In this example the HDRI has been turned 40 degrees counter-clockwise. Therefore the black arrow points at 40!

SketchUp render-view with desired HDRI-orientation.

- Browse for the original HDRI-image.
- In "U Offset" enter the degrees pointed out by the black arrow (in this example: 40)
- Hide the HDRI-sphere or turn off the layer "HDRI" before exporting.
- Render!

Render result equals the SketchUp-view.
If the HDRI-image is used as a background it might get pixelated (the resolution is too low).
A simple solution is to open the .hdr-file in Photoshop and change the Image Size.

In this render the "radsky-017.hdr" has been made 350% larger.
I've named it "radsky-017_highres.hdr" and only use it in the background slot in the HDRI Settings Window, in order to save RAM.
Please download my HDRI-sphere here.
/ Stefan
I wanted to use them for background, illumination and reflections but I couldn't control the Offset-parameters.
Now I've made my own work-around:
A "HDRI-sphere" with the the .hdr-image mapped to the inside and a compass to translate the U Offset rotation. (I guess it could be expanded to cover the V Offset rotation as well...)
Place your model at the center of the sphere and the result is rather close to WYSIWYG and fast to adjust but takes some steps to setup:
- Make a flipped jpg from a HDRI-image. In this example I used "radsky-017.hdr" that comes with the Maxwell installation. The .hdr is opened in Photoshop, flipped horizontally, mode changed to 8 Bits/Channel and saved as a .jpg-image (I call it a "HDRI-jpg").
- The HDRI-jpg is mapped onto the inside of the sphere using a ruby-script called "UVtools.rb" (UVtools does not map perfectly at the "poles" of the sphere, but rather nicely though). After one HDRI-jpg has been mapped, it can simply be replaced by other HDRI-jpgs.
- The model should be build or placed near the center of the sphere - or the sphere should be moved so that it's center is close to the model. The larger the sphere, the closer to WYSIWYG-effect.

In this image the Sidney Opera House is placed in the center of the sphere.
- Rotate the sphere in order to get the desired HDRI-orientation in the render-view. Use the little circular face on top of the sphere as rotation-plane.
(IMPORTANT: Rotate only the sphere, not the compass).
In this example the HDRI has been turned 40 degrees counter-clockwise. Therefore the black arrow points at 40!

SketchUp render-view with desired HDRI-orientation.

- Browse for the original HDRI-image.
- In "U Offset" enter the degrees pointed out by the black arrow (in this example: 40)
- Hide the HDRI-sphere or turn off the layer "HDRI" before exporting.
- Render!

Render result equals the SketchUp-view.
If the HDRI-image is used as a background it might get pixelated (the resolution is too low).
A simple solution is to open the .hdr-file in Photoshop and change the Image Size.

In this render the "radsky-017.hdr" has been made 350% larger.
I've named it "radsky-017_highres.hdr" and only use it in the background slot in the HDRI Settings Window, in order to save RAM.
Please download my HDRI-sphere here.
/ Stefan
Last edited by stefan_kaplan on Tue Oct 06, 2009 12:24 pm, edited 1 time in total.