PDA

View Full Version : Making a textured Environment



Philbert
07-13-2009, 10:22 PM
I shot this panorama of my backyard today. It's a full 360 image except for maybe directly under the tripod. The question is how to get it into a sphere that LW can use for an Image Probe or Textured Environment. I used Photoshop's Polar Coordinates filter which worked, but I had to point the LW camera down to see the horizon. Anyone have any tips for that or a suggestion for another tool?

http://i151.photobucket.com/albums/s136/willohmsford/th_backyard_stitch-1.jpg (http://i151.photobucket.com/albums/s136/willohmsford/backyard_stitch-1.jpg)

toby
07-14-2009, 04:54 AM
looks pretty nice to me!
are you sure you set the right axis in the texture environment? This was done with axis on Y

Philbert
07-14-2009, 05:43 AM
OK for an environment that will work, but not for an Image Probe if I make one., which I was considering doing.

For example, if I look at a Dosch light probe it looks just like a horizontal image:

http://www.doschdesign.com/images2/Red-DH-1.jpg

Philbert
07-14-2009, 05:54 AM
Oh wait, I think I can load it as an environment, then render it out of LW with the Advanced camera. That also took a bit of finagling since, you wouldn't know this buy on my house (the blown out one) the sliding door is supposed to be on the right side, not the left. So I had to set the scale to negative, the rotation to 180 on the bank.

Isn't it supposed to show the environment in OpenGL? I have Camera View Background set to Background Image

JeffrySG
07-14-2009, 06:22 AM
There are some photoshop filters that will turn a equirectangular (what you called spherical) map into a light probe map. The PS polar coordinates will not do the exact same thing I'm pretty sure. Flexify is a great set of filters to do such things right in photoshop. Or you can do it in LW like you did - which seemed to work well too.

http://www.flamingpear.com/flexify.html

rsfd
07-14-2009, 08:22 AM
Why do you want to change your equirectangular image into a light probe?

Judging from your panorama, you already have an equirectangular image, which is perfect for textured environment with spherical projection or spherical mapped onto a "real" geometry sphere (you could add a black/grey/green/whatelse color strip at the bottom to achieve an aspect ratio of 1:2, which would result in a distortion-free projection).

Light probe images are usually "chrome ball" panoramas ready for image world.
They are more "low-end".
The cubic projection (horizontal/vertical cross) is afaik only useable when UV-mapped onto a cube.

Textured environment doesn't show up in OpenGL.
If you want to see it there, you will have to map the image onto a sphere.

Philbert
07-14-2009, 09:33 AM
I was always under the impression that an Image Probe was higher-end. If you can use an HDRI in textured Environment, that's fine I'll gladly use it there. No problem.

rsfd
07-14-2009, 10:31 AM
Equirectangular .hdr or .exr images in Textured Environment are working fine.
As these panos are shot "directly", they are usually of a much higher quality than light probe images, which are shot "indirectly" via chrome/mirror balls.
Panos shot with a pano head give better sharpness, less distortion, better color and so on, so if you can, take these.
(If you're looking for that as intro to hdr lighting, you probably want to have a look at SmartIBL over at http://www.hdrlabs.com/news/index.php. They also offer some hdr sets in their sIBL archive for free).

Philbert
07-14-2009, 10:40 AM
Thanks, I have couple of collections of Dosch HDR's that I've been using for a few years.

dwburman
07-16-2009, 12:13 AM
Isn't it supposed to show the environment in OpenGL? I have Camera View Background set to Background Image

The Background Image this setting refers to is the background image you set in the Compositing Panel.

Blochi
07-16-2009, 01:15 AM
Hey Philbert,

Here are some thoughts to consider:
- Textured Environment shows up fine in Viper and FPrime.
- Usually, texture environment is flipped, so you might want to put it on there with a Width Wrap -1. Sphere Geometry is the same.

Even if you're not using my sets, the Smart IBL plugin is really worth a look. www.smartibl.com. It will build a setup, where Texture Environment is synced with a Ball, via expression.

BTW- if you rather like using the Lightprobe image, you just tag it as that, and the Smart IBL plugin will use Image World. It will even create a Ball object, that uses a UV texture to correctly map the Lightprobe image. Basically a reprojection without the need of a separate render... I'm pretty proud of that sphere object, actually ;)

Cheers,
Blochi

Philbert
07-16-2009, 04:14 AM
Thanks it doesn't really matter to me if I'm using Textured Environment or Image World, either one is fine with me as long as I can use an HDRI. Since it works either way then I'm all good. I will look at Smart IBL though. Thanks