Houdini crowds, redshift fisheye

   2770   1   1
User Avatar
Member
4 posts
Joined:
Offline
I am currently rendering crowds in houdini/mantra and the rest of the scene in redshift from out of maya with 180* fisheye lens. I can get the results close using the ASAD lens for mantra renders, but it is not close enough. Looking for suggestions on a better solution.

Looked at unpacking crowd and rendering it in redshift in houdini, too many agents, too time intensive to unpack, renders too slow.

Suggestions and ideas?

Rob Au
User Avatar
Member
8045 posts
Joined: Sept. 2011
Offline
write a custom lens shader. It depends on what type of fish eye you need to know what function to use, but common ones are equiangular and stereographic, but equidistant is also used. a bit of google will usually find source in one language or another, which is fairly simple to adapt to vex.

mantra lens shaders take uv as input (screen space) and output P and I. You can look at the source for the asad lens for how it works. Just replace the rectilinear projection used by asad with your own fisheye function.
  • Quick Links