Generating environment maps

   7743   6   3
User Avatar
Member
65 posts
Joined: July 2008
Offline
Hi!

How do I easily generate cubical environment maps without having to render 6 images with 6 different cameras seperately? I'd like to use the environmentmap as a reflectionpass for renderman.

Kind regards,


Phong
User Avatar
Member
65 posts
Joined: July 2008
Offline
I just found the isixpack utitility!

Thanks a lot!


Phong
User Avatar
Member
186 posts
Joined: Jan. 2006
Offline
Or just put a null in the middle of your scene and attach these rendering parameters:

render_envmap
vm_samples
vm_picture
res_override

when you render your scene, an environment map will be automatically generated looking from the position of the null.

cheers,
Abdelkareem
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
To add to Abdelkareem's post, you can add these properties to any object to generate reflection maps and use those object-centric maps as reflection maps in the final render pass in stead of using raytracing. You need to have a shader that uses environment maps set up to take advantage of this.


If you render to .rat format you get the “cross” envmap generated automatically for you. Actually you get a .rat file with six rasters named Right Left Top Bottom Front Back. No need for isixpack.


-jeff
There's at least one school like the old school!
User Avatar
Member
65 posts
Joined: July 2008
Offline
Hey cool, thanks a lot! You guys rock!
Where can I attach those properties? As a script probably?

Phong
User Avatar
Member
320 posts
Joined: Aug. 2007
Offline
Phong
Hey cool, thanks a lot! You guys rock!
Where can I attach those properties? As a script probably?

Phong

No script; it's actually really easy. In the parameters pane you'll notice a cog icon. In there you're looking for “edit rendering parameters”.

You'll notice all kinds of good stuff for both RenderMan and Mantra that you can drag & drop onto your object. If you like the parameters being there every time, you can select to “save as permanent defaults” from the same cog drop-down menu.

-Alan
www.alan-warren.com
User Avatar
Member
65 posts
Joined: July 2008
Offline
ok, my environment direction image files get rendered when I hit render, but still there's no .rat file. So I need isixpack to convert those images to a .rat file, but I can't find it on osx leopard.
  • Quick Links