Skip to main content

A note of mental ray/iray camera terminology.


The original mental ray camera is a pinhole camera. Therefore, some of the terminology differs with a normal camera. I will write them down here.

aperture: This is the film width size. This has no relationship with lens aperture/opening. mental ray's camera was a pinhole camera, there is no lens aperture.

focal: This is the distance from lens to the film (sensor). Pinhole camera always focused, so there is no focal length meaning. But using parameters aperture and focal length, we can compute the horizontal field of view. I think these two parameters exist for this purpose.

aspect ratio: This is film(sensor)'s aspect ratio. There is no relationship with pixel resolution and camera geometry.  aspect ratio = film width/film height. Note: If we use aperture, focal, and aspect ratio, we can compute the vertical field of view.

mental ray/iray camera model (pinhole camera) without lens shader


Current mental ray/iray can have depth of field effect, etc., this terminology is confusing. For the depth of field effect, some lens shaders have parameters like lens_radius and focus_plane_distance.

I recommend to read Andy Kopra's Writing mental ray Shaders, chapter 24 to know about the camera model.

By the way, mental images has completely integrated with NVidia. (http://www.mentalimages.com) The name, mental images, has been changed to NVidia ARC (NVidia Advanced Rendering Center).

At this year's SIGGRAPH, NVidia announced they will support the mental images products (http://www.nvidia.com/object/siggraph-2011.html) and enhance the products with more GPU/cloud support. But, it is a bit sad for me that there is no company called mental images anymore.

Comments

Popular posts from this blog

What is shader?

Shader is one of the important component of mental ray. Let me tell about it a bit. A shader is a program code fragment that computes how light interacts with objects. This was the original concept of shader in early computer graphics time and nowadays the role of shader and its meaning are expanded. In one of the common scenario in computer graphics, objects are usually represented as polygons. First, the intensity of each vertex is computed, then inside the polygon is filled by an interpolation method. This becomes more complex as the computer graphics technology developed. There were two shader development directions. One is a hardware rendering that concentrates rendering speed and interactivity. The other is a software rendering that concentrates the image quality. Nowadays graphics hardware is called GPU (Graphics Processing Unit). The early stage GPU has fixed functionalities. Because fixed functionality can be achieved more performance in practice. The implementation was based ...

mental ray license bug is fixed on an Intel Core i7 machine

There was a critical license related bug in mental ray 3.7 on Intel Core i7 and the fixed version seems to be distributed now. http://forum.mentalimages.com/showthread.php?t=5511 The fixed mental ray (SPM) version (might depends on OEM) is the following. mental ray 3.7: 3.7.1.31 (2009 September 16) or higher mental ray 3.7+: 3.7.53.6 (2009 October 22) or higher The detail of this problem is: When you want to run mental ray on Intel Core i7 machine, you will get the following error message: Sorry, no license available and can not run mental ray even you have enough licenses left. It seems recent Intel's CPU becomes complex to count the number of cores. This bug seems related with this. http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/ Personally, I don't like the license that limits the number of cores. Because the new machines has more cores, but we can not use these cores because of license shortage. If I buy a new machine...