Go to: Related nodes. Attributes.
EnvBall uses an image or series of images of a highly
reflective chrome ball in an environment (real world or
computer-generated) to re-create that environment. This is possible
because the reflections in the chrome ball provide a nearly 360
degree view of the environment.
To create an image of a chrome ball, first place a highly
reflective chrome ball (sphere) in the environment (real world or
computer generated) that you want to re-create. Place the ball at
the exact location (in the original environment) where you want
your model to appear (in the re-created environment), and take note
of the ball's distance from any floor/walls/ceiling or large
objects. Photograph (or render) the ball using a telephoto lens,
and take note of the camera's elevation (the angle between the
camera's view and the environment's ground plane), and the camera's
inclination (the angle between the camera's view and the
environment's YZ plane). The photo essentially contains a
compressed sample of the entire environment, except for the area
directly behind the ball. The highest resolution is in the
direction of the camera, so the image provides the best data
compression for that point of view. There is much more detail about
how to use EnvBall in the Rendering documentation, Aside from the
attributes listed here, EnvBall inherits additional attributes from
TextureEnv. In the table below,
important attributes have their names listed in bold in the
description column.
This node is MP safe
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
envBall |
textureEnv |
texture/environment:drawdb/shader/environment/envBall |
kEnvBall |
kBase
kNamedObject
kDependencyNode
kTextureEnv
kEnvBall |
Related nodes
layeredTexture, envCube, envSphere,
envSky, envChrome, bump3d,
uvChooser, bump2d, texture2d,
ramp, file,
cloth, water,
stencil, checker, fractal,
bulge, grid,
mountain, texture3d, projection, cloud,
granite, crater, leather,
stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture
Attributes (20)
back, bottom,
elevation, eyeSpace, front,
image, imageB,
imageG, imageR,
inclination, infoBits, left,
pointCamera, pointCameraX, pointCameraY, pointCameraZ, reflect, right,
skyRadius, top
Long name (short name) |
Type |
Default |
Flags |
|
pointCamera
(p ) |
float3 |
0.0, 0.0, 0.0 |
|
|
pointCameraX
(px ) |
float |
0.0 |
|
|
|
pointCameraY
(py ) |
float |
0.0 |
|
|
|
pointCameraZ
(pz ) |
float |
0.0 |
|
|
|
image
(so ) |
float3 |
0.5, 0.5, 0.5 |
|
|
|
|
|
inclination
(i ) |
float |
0.0 |
|
|
elevation
(e ) |
float |
0.0 |
|
|
skyRadius
(sr ) |
float |
0.0 |
|
|
bottom
(bo ) |
float |
0.0 |
|
|
top (to ) |
float |
0.0 |
|
|
left
(le ) |
float |
0.0 |
|
|
right
(ri ) |
float |
0.0 |
|
|
front
(fr ) |
float |
0.0 |
|
|
back
(ba ) |
float |
0.0 |
|
|
reflect
(ref ) |
bool |
true |
|
|
eyeSpace
(eye ) |
bool |
false |
|
|
infoBits
(ib ) |
integer |
0 |
|