Using an exr image in sketchup

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Using an exr image in sketchup

Post by crc » Sat Apr 14, 2007 11:55 am

Hi, so after exploring around the forums, I would like to try using an exr as an environment map. I know it is listed as supported under the new exporter, but I don't know how to get it into the sketchup model.

Anyone tried this yet?

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Sat Apr 14, 2007 5:38 pm

It is very easy. For now, the EXR must be in same directory as your XML/IGS file. There is no way to see the EXR image in the Sketchup model before you render. I don't think this will ever be possible. If you could somehow convert the EXR to JPEG and apply the image to a dome in your model, you could possibly get an approximate representation of what the environment map would look like in the render, but I have never tried this.

crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Post by crc » Tue Apr 17, 2007 4:32 am

So, I put the .exr file in the Indigo directory, which is where I put my igs files.
I select Environment Map from the Render Settings dialog, than I export and I get an error saying that no environment map has been set.
Than Indigo throws up an error, and than shuts down.
So I go to the Ruby console thinking I can type in "Indigo.igs" to hand edit the igs file and add in the exr map, but I get a "cannot read the localinifile.txt" error.
Not sure where I set the environment map, and I don't know how to hand edit an igs file.
thanks

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Tue Apr 17, 2007 4:55 am

crc wrote:I select Environment Map from the Render Settings dialog, than I export and I get an error saying that no environment map has been set.
thanks
Monday morning again isn't it? :wink: :wink:

You are using SkIndigo0.7test7 aren't you?
You are using Indigo 0.7test7 aren't you?
Did you look at the new SkIndigo menu option "Set Environment Map"?

If it still doesn't make sense how to do it, let me know. You should not have any reason to hand-edit your IGS file when using environment maps.
I hope you haven't found a bug.

Regards,
Whaat

crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Post by crc » Tue Apr 17, 2007 5:18 am

Oh man,
I think someone is giving me de-caf in the morning. :roll: I got to stop coming in and doing this,
but at least I'm learning.

:)

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Tue Apr 17, 2007 5:42 am

:lol:

No problem! Glad you are supporting the plugin! I'd love to see some of your Sketchup->Indigo renders posted.

peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Thu Apr 19, 2007 12:10 am

Here's a test render I did just now. It uses an .exr for lighting. I hope there will be an easy solution for adding a nice sun (especially for the shadows).
Thanks for the plugin Whaat!

Regards,

Peter
Attachments
Second.jpg
Second.jpg (144.65 KiB) Viewed 4890 times
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

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

Post by Kram1032 » Thu Apr 19, 2007 12:59 am

looks great :D
but the HDRi looks quite cutout-and-placed-in-background....

peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Sat Apr 21, 2007 1:02 am

Hi Kram, there's actually a treeline object (made with a blend material (texture+clipmap). I know it looks confusing. Sorry about that.

Regards,

Peter
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

rogallo
Posts: 5
Joined: Thu Mar 29, 2007 9:03 pm

Post by rogallo » Sat Apr 21, 2007 8:14 pm

ok, i downloadedfew .exr files and i can't render a scene using spherical type of enviroment map. I'm using latest indigo and skindigo test versions.
The error I get:
"Fatal Error: ImageExcep: Error encountered while reading RAW image. (In element 'spherical', around line 32, column 13)"

with Lat_Long settings renderer works just fine but, I'm not sure what width parameter does. I tried changing it from 640 up to 10000 nad nothing seems to happen.
other than that , i'm friggin impressed by both skindigo and indigo development. :)

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

Post by Kram1032 » Sat Apr 21, 2007 8:18 pm

spherical HDRi s have to be in .float, for some reason ;)

sperical ... .float
LatLon ..... .exr

rogallo
Posts: 5
Joined: Thu Mar 29, 2007 9:03 pm

Post by rogallo » Sat Apr 21, 2007 8:48 pm

where do i get .float files from? i tried to goole it but no results...

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

Post by Kram1032 » Sat Apr 21, 2007 8:52 pm

dunno
you have to convert them to LatLong + .exr, by using HDRi-shop or Photoshop, or something like that... (at least, I THINK, photoshop can convert them)
.float isn't really good, btw: huge file-size.
You really should use LatLong in Indigo....

crc
Posts: 153
Joined: Wed Feb 28, 2007 9:30 am
Location: Portland, Oregon

Post by crc » Fri Apr 27, 2007 5:52 am

I've been testing scenes using .exr images, but I'm having some problems.
What width should the exr image be set to in the Skindigo exporter, the scene width or the actual width of the exr image? I keep getting exr images that are all distorted, stretched out even though i've tried different settings.
Any help with how indigo places the image is greatly appreciated!
Thanks-

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Fri Apr 27, 2007 6:10 am

I do not know exactly how Indigo places the exr image, but I do know that the width settings has no effect on a Lat_Long EXR image. This parameter is only used for Spherical maps in .float format.

AFAIK, there is no present way to adjust the placement of the EXR image in Indigo. I believe the middle of the EXR image is placed at the horizon (z=0) but beyond that, I don't know.

Post Reply
22 posts

Who is online

Users browsing this forum: No registered users and 1 guest