I3DExNewVolumePrimitive Struct Reference
[External Interfaces]

Inheritance diagram for I3DExNewVolumePrimitive:

IMCUnknown List of all members.

Public Member Functions

virtual void MCCOMAPI BeginRender ()=0
virtual void MCCOMAPI EndRender ()=0
virtual void MCCOMAPI TraceRay (const Ray3D &ray, const Ray3D &localRay, real64 tmin, real64 tmax, TMCColorRGBA &inOutColor, I3DExRaytracer *raytracer, I3DShInstance *instance, boolean isShadowRay, boolean isIndirectRay)=0

Detailed Description

This interface contains extra methods for volume primitives allowing more advanced interaction with the scene. If this interface is implemented, neither GetVolumeDensity nor GetVolumeAttenuation are called.


Member Function Documentation

virtual void MCCOMAPI I3DExNewVolumePrimitive::BeginRender (   )  [pure virtual]
 

Called at the beginning of a rendering. (Not called yet)

virtual void MCCOMAPI I3DExNewVolumePrimitive::EndRender (   )  [pure virtual]
 

Called at the end of a rendering. (Not called yet)

virtual void MCCOMAPI I3DExNewVolumePrimitive::TraceRay (  const Ray3D &  ray,
const Ray3D &  localRay,
real64  tmin,
real64  tmax,
TMCColorRGBA &  inOutColor,
I3DExRaytracer *  raytracer,
I3DShInstance *  instance,
boolean  isShadowRay,
boolean  isIndirectRay
)  [pure virtual]
 

Filter a ray by a volume primitive.

Parameters:
ray The ray in global coordinates
localRay The ray in local coordinates
tmin The beginning of the segment
tmax The end of the segment
inOutColor On input, the color of the point behind the ray. On ouput the color of the light once filtered through the volume
raytracer A pointer to the raytracer used for the lighting
instance The instance of the volume primitive
isShadowRay True if the ray is a shadow ray.


The documentation for this struct was generated from the following file:
Generated on Mon Mar 14 12:29:01 2005 for Carrara SDK Doc by  doxygen 1.3.9.1