Tut-converting hdr images to exr

Discuss stuff not about Indigo.
Post Reply
9 posts • Page 1 of 1
User avatar
afecelis
Posts: 749
Joined: Tue Aug 01, 2006 4:14 am
Location: Colombia
3D Software: Blender
Contact:

Tut-converting hdr images to exr

Post by afecelis » Mon Jan 15, 2007 2:50 am

ok, here's a quick tut of how I get it done. BTW, Manitwo also helped me a lot on finding the tools and getting the job done! Thnx Manitwo! :wink:
1.Download hdr2exr
http://hem.bredband.net/b230591/hdr2exr ... _win32.zip
or from my mirror:
http://www.danielpatton.com/afecelis/In ... _win32.zip

2.Create a folder in C: and call it "hdr2exr"; unzip the files there:
Image

3.Right click on "My Computer", select "properties", "advanced", on the lower part select "environment variables", from the new window that pops up, in the lower part (system variables) scroll down and select "path" and click on "edit"; then add "C:\hdr2exr" at the end of the path; make sure to separate using semicolons (as in my screenshot, or adjust the path according to where you placed/unzipped the program).
Image
Click on OK to confirm the changes done so that the system starts using them.
Now we can execute hdr2exr from a command line anywhere in our system :)

4. Download Manitwo's suggested tool "cmdhere", a nice app that adds the possibility of opening a dos terminal by selecting any folder an right clicking on it. Grab it here:
http://www.zdnet.de/downloads/prg/0/1/e ... 01-wc.html
or from Microsoft's powertoys site:
http://www.microsoft.com/windowsxp/down ... rtoys.mspx
direct link:
http://download.microsoft.com/download/ ... ySetup.exe
Or, Just in case; from my mirror:
http://www.danielpatton.com/afecelis/In ... ySetup.exe

5. Install cmdhere, and then right click on the folder where you got the .hdr images you want to convert. Select "Open Command Window Here"
Image

6.In the DOS terminal that opens up type "hdr2exr myimage.hdr myimage.exr " (in my case: "hdr2exr urban.hdr urban.exr") and wait for a while.
Image

7. Your exr gets created in the same folder as your hdr :wink: everyone's happy! (check out the exr created in the screenshot above).

Now you just use it in your blender exporter as "Texture Map" in your "environment type"

hope it helps! :D

Regards,
Alvaro F. Celis

ps. It seems like Indigo only works with LatLong hdr images, spherical ones make it crash. In case you need to convert them from spherical to latlong using hdrshop, here Manitwo describes the process:
In case someone doesn't know:
to convert a (lets say) spherical hdr to a latlong hdr,
goto hdrshop->image->panorama->panoramic transformations
source image -> format = mirrored ball
destination image -> format = Latitude/Longitude
-> ok
You can download hdrshop from here:
http://gl.ict.usc.edu/HDRShop/
Look for the "download v1" button which links to the free version.

And, you can find several free and good hdr images in the net but the evrmotion Free HDRI CD collection seems to be a very good start point:

http://www.evermotion.org/index.php?unf ... =exclusive

have fun! :D
Last edited by afecelis on Wed Jan 17, 2007 9:55 am, edited 7 times in total.
AMD Ryzen 7 1800 @3.6ghz, 32GB ddr4 3200 mhz Ram, Nvidia RTX 3060 12GB, Win10, Blender/Sketchup/Modo/Cinema4d

atmmatt
Posts: 104
Joined: Sun Oct 22, 2006 4:33 am
Location: Pennsylvania - USA

Post by atmmatt » Mon Jan 15, 2007 7:01 am

:)

Really nice tutorial. Luckily for me I learned how to convert a while back the hard way but this is excellent for people not knowing.

I made it sticky, I liked it too much :lol:

P.S. Thanks for the evermotion link!!! I've been looking for ages for a nighttime hdr!
"To be, or not to be" That is a question?

User avatar
afecelis
Posts: 749
Joined: Tue Aug 01, 2006 4:14 am
Location: Colombia
3D Software: Blender
Contact:

Post by afecelis » Mon Jan 15, 2007 9:11 am

thanks atmmatt! glad you find it useful! and thanks for "stickyfying"it :wink:

There are also some very cool free hdri images at the accustudio site:
http://www.accustudio.com/
follow the "exchange" link and select "hdri" :D

ps. Sorry for posting it in offtopic, but I didn't find a "tutorials" thread. Perhaps it should be created and this topic could be moved there...hint hint! ;)
AMD Ryzen 7 1800 @3.6ghz, 32GB ddr4 3200 mhz Ram, Nvidia RTX 3060 12GB, Win10, Blender/Sketchup/Modo/Cinema4d

atmmatt
Posts: 104
Joined: Sun Oct 22, 2006 4:33 am
Location: Pennsylvania - USA

Post by atmmatt » Mon Jan 15, 2007 3:30 pm

Yay more hrdi :)

Well there is the tutorial part of the site, but no section for forum hm.
http://www.indigorenderer.com/joomla/in ... &Itemid=62

If not a section maybe a sticky for only tutorials. Would probably need more tutorials for a whole section.

Maybe people can write simple tutorials on how they made their scenes from some modeling aspects up to the specific settings and tricks etc *my own wink wink*

This hdr image caught my eye. All internal blender render but I will try a render from indigo tonight.
http://www.gfphoto.com/matt/dusk.jpg
Last edited by atmmatt on Tue Jan 16, 2007 3:35 am, edited 1 time in total.
"To be, or not to be" That is a question?

User avatar
afecelis
Posts: 749
Joined: Tue Aug 01, 2006 4:14 am
Location: Colombia
3D Software: Blender
Contact:

Post by afecelis » Mon Jan 15, 2007 3:43 pm

Nice image! go for the Indigo version! :wink:
AMD Ryzen 7 1800 @3.6ghz, 32GB ddr4 3200 mhz Ram, Nvidia RTX 3060 12GB, Win10, Blender/Sketchup/Modo/Cinema4d

atmmatt
Posts: 104
Joined: Sun Oct 22, 2006 4:33 am
Location: Pennsylvania - USA

Post by atmmatt » Tue Jan 16, 2007 3:35 am

Rendered for 8 hours. It needs more experimenting but the hdr in Indigo is awesome!

http://www.gfphoto.com/matt/indigo/mountbig.jpg

(I realized this morning I was hijacking your thread sorry just wanted to show some results with the hdr)
"To be, or not to be" That is a question?

User avatar
matsta
Posts: 730
Joined: Mon Jan 29, 2007 7:50 am
Location: 127.0.0.1

Post by matsta » Mon Feb 26, 2007 7:43 am

worked like a charm. but the first mirror didnt work. used microsoft

shot dude

User avatar
leonrott
Posts: 8
Joined: Sun Jan 14, 2007 4:08 pm

Cool

Post by leonrott » Mon May 14, 2007 4:33 am

Good work!!, but the cmdhere dont work in vista but dont matters, the converter works fine!! thanks :D

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon May 14, 2007 4:51 am

it's not a vista power toy, but an XP-power toy ;)

Post Reply
9 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 19 guests