Jump to content

How to create a panoramic image from my scene


Recommended Posts

Because we are in the coders coner I'm not sure if this is what your are looking for...

Anyway that's what I do to create env map:

-Setup 6 cameras, fov90°.

-Gather the 6 views in a single cubic env map

-use hdrshop to convert to a latitude/longitude(spherical) map if needed.

Maybe this can help :

PanoramaSetup.hipnc

It's very simple.

-Just hit "render 6 views"

-then "render cubic env map"

post-5378-128000455971_thumb.png

ben

Link to comment
Share on other sites

Wow, cool stuff that uv render, I didn't know that this was possible, thanks for that.

But isn't there a solution that doesn't involve raytracing? I just want to make an environment map for may scene so I wouldn't need to use raytrace.

Anyway thanks for the tip.

Link to comment
Share on other sites

the easiest way to create an environment maps from you scene is let mantra do the work for you.

lay down an new geo and attach "auto-generate environment maps" to it. you´ll find it under render properties. when you do so then mantra renders out an cubic environment map ready for use inside houdini. the problem is that you need an commercial license because you have to render out an .rat file for propper results. using an apprentice version mantra renders six images in .picnc format and you have to use isixpack later to generate the cubic map.

petz

envmap.hip

Edited by petz
Link to comment
Share on other sites

the easiest way to create an environment maps from you scene is let mantra do the work for you.

lay down an new geo and attach "auto-generate environment maps" to it. you´ll find it under render properties. when you do so then mantra renders out an cubic environment map ready for use inside houdini. the problem is that you need an commercial license because you have to render out an .rat file for propper results. using an apprentice version mantra renders six images in .picnc format and you have to use isixpack later to generate the cubic map.

petz

Thank you for the file.

I can see mantra create the six maps temporally and delete it so I got the envmap.rat but it isn't the whole enviroment it seems that it is just a part of the cubic environment, I also can´t control it´s resolution from any params on the scene nodes. I also noticed that if I use the interactive render mantra shows me the full environment render on a extra window but I want to save it on render time as a sequence, I didn't know how to do that.

post-5743-128013639797_thumb.jpg

Link to comment
Share on other sites

I can see mantra create the six maps temporally and delete it so I got the envmap.rat but it isn't the whole enviroment it seems that it is just a part of the cubic environment.

when you open envmap.rat with mplay there should exist six channels. one channel for every face of a cube since its an cubic environment map.

I also can´t control it´s resolution from any params on the scene nodes.

attach "resolution" to the geo-node that is used to compute the environment map. it´s under render-properties / view

I also noticed that if I use the interactive render mantra shows me the full environment render on a extra window but I want to save it on render time as a sequence, I didn't know how to do that.

don´t use interactive-render mode to create the env-map.

hth.

petz

Link to comment
Share on other sites

Thank you very much petz!

Everything is working like you said.

How can I convert it to a single latitude long reflection map?

it´s easy! just change the output file from envmap.rat to envmap.pic or any other supported file-type. if it´s not an .rat file you´ll get an lat/long representation of the environment.

petz

Link to comment
Share on other sites

So Coooollll! :D

The only thing that I noticed is that I cant have a image size different from 1024X512 no matter the resolution if you use other format besides .rat.

Is there a way to override it? I tried to use the override resolution parameter but it doesn't work.

Link to comment
Share on other sites

I just got my answer from the manual

"Mantra also supports a cubic environment map stored as standard image files (.tif or .exr) but this format is limited to 1024×512 pixels and has poor anti-aliasing compared to .rat. You should use .rat textures instead."

Sorry to be such a pain, but what would be the workflow if I want the environment bigger than 1024X512 as a latitude long environment?

Edited by Mzigaib
Link to comment
Share on other sites

I just got my answer from the manual

"Mantra also supports a cubic environment map stored as standard image files (.tif or .exr) but this format is limited to 1024×512 pixels and has poor anti-aliasing compared to .rat. You should use .rat textures instead."

Sorry to be such a pain, but what would be the workflow if I want the environment bigger than 1024X512 as a latitude long environment?

in that case you need isixpack to override the default resolution.

file is attached!

petz

envmap_latlong.hip

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Hi,

there is another option: switch the projection of your camera to "polar (panoramic)", and set your output image dimensions ratio to 2:1 (e.g. 1024 x 512 pixel). This gives you a panoramic latitude-longitude render which you can convert to vertical-cross with HDRShop. Finally, make a cubic *.rat with isixpack.

This has the advantage that you can output arbitrary sizes (with Apprentice HD, at least) without much fuss.

Regards,

Carsten

panorama.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...