Public Member Functions

IScanRenderer Class Reference

Search for all occurrences

Detailed Description

This class provides an interface into the standard 3ds Max scanline renderer.

This renderer has a Class_ID of Class_ID(SREND_CLASS_ID,0). This class is available in release 2.0 and later only. All methods of this class are implemented by the system.

See also:
Class Renderer.

#include <render.h>

Inheritance diagram for IScanRenderer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  SetAntialias (BOOL b)=0
  Sets the 'Anti-Aliasing' setting of the renderer to the value passed.
virtual BOOL  GetAntialias ()=0
  Returns TRUE if anti-aliasing is on; FALSE if off.
virtual void  SetFilter (BOOL b)=0
  Sets the 'Filter Maps' setting to the value passed.
virtual BOOL  GetFilter ()=0
  Returns TRUE if Filter Maps is on; FALSE if off.
virtual void  SetShadows (BOOL b)=0
  Sets the 'Shadows' setting to the value passed.
virtual BOOL  GetShadows ()=0
  Returns TRUE if the rendering of shadow is on; FALSE if off.
virtual void  SetMapping (BOOL b)=0
  Sets the 'Mapping' setting to the value passed.
virtual BOOL  GetMapping ()=0
  Returns TRUE if the Mapping setting is on; FALSE if off.
virtual void  SetForceWire (BOOL b)=0
  Sets the 'Force Wireframe' setting to the value passed.
virtual BOOL  GetForceWire ()=0
  Returns TRUE if Force Wire is on; FALSE if off.
virtual void  SetAutoReflect (BOOL b)=0
  Sets the 'Auto-Reflect/Refract and Mirrors' setting to the value passed.
virtual BOOL  GetAutoReflect ()=0
  Returns TRUE if auto reflect is on; FALSE if off.
virtual void  SetObjMotBlur (BOOL b)=0
  Sets Object Motion Blur to on or off.
virtual BOOL  GetObjMotBlur ()=0
  Returns TRUE if object motion blur is on; FALSE if off.
virtual void  SetVelMotBlur (BOOL b)=0
  Sets Velocity Motion Blur to on or off.
virtual BOOL  GetVelMotBlur ()=0
  Returns TRUE if velocity motion blur is on; FALSE if off.
virtual void  SetPixelSize (float size)=0
  This method is obsolete.
virtual void  SetAutoReflLevels (int n)=0
  Sets the Auto Reflect/Refract Maps Rendering Iterations setting to the value passed.
virtual void  SetWireThickness (float t)=0
  Sets the ''Wire Thickness' setting to the value passed.
virtual void  SetObjBlurDuration (float dur)=0
virtual void  SetVelBlurDuration (float dur)=0
virtual void  SetNBlurFrames (int n)=0
  Sets the Motion Blur Duration setting to the value passed.
virtual void  SetNBlurSamples (int n)=0
  Sets the Object Motion Blur Samples setting to the value passed.
virtual void  SetMaxRayDepth (int n)=0
  Sets the '3ds Max Quadtree Depth' setting for Ray-Traced shadows to the value passed.
virtual int  GetMaxRayDepth ()
virtual void  SetAntiAliasFilter (FilterKernel *pKernel)=0
virtual FilterKernel GetAntiAliasFilter ()=0
virtual void  SetAntiAliasFilterSz (float size)=0
virtual float  GetAntiAliasFilterSz ()=0
virtual void  SetPixelSamplerEnable (BOOL on)=0
virtual BOOL  GetPixelSamplerEnable ()=0

Member Function Documentation

virtual void SetAntialias ( BOOL  b ) [pure virtual]

Sets the 'Anti-Aliasing' setting of the renderer to the value passed.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetAntialias ( ) [pure virtual]

Returns TRUE if anti-aliasing is on; FALSE if off.

virtual void SetFilter ( BOOL  b ) [pure virtual]

Sets the 'Filter Maps' setting to the value passed.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetFilter ( ) [pure virtual]

Returns TRUE if Filter Maps is on; FALSE if off.

virtual void SetShadows ( BOOL  b ) [pure virtual]

Sets the 'Shadows' setting to the value passed.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetShadows ( ) [pure virtual]

Returns TRUE if the rendering of shadow is on; FALSE if off.

virtual void SetMapping ( BOOL  b ) [pure virtual]

Sets the 'Mapping' setting to the value passed.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetMapping ( ) [pure virtual]

Returns TRUE if the Mapping setting is on; FALSE if off.

virtual void SetForceWire ( BOOL  b ) [pure virtual]

Sets the 'Force Wireframe' setting to the value passed.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetForceWire ( ) [pure virtual]

Returns TRUE if Force Wire is on; FALSE if off.

virtual void SetAutoReflect ( BOOL  b ) [pure virtual]

Sets the 'Auto-Reflect/Refract and Mirrors' setting to the value passed.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetAutoReflect ( ) [pure virtual]

Returns TRUE if auto reflect is on; FALSE if off.

virtual void SetObjMotBlur ( BOOL  b ) [pure virtual]

Sets Object Motion Blur to on or off.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetObjMotBlur ( ) [pure virtual]

Returns TRUE if object motion blur is on; FALSE if off.

virtual void SetVelMotBlur ( BOOL  b ) [pure virtual]

Sets Velocity Motion Blur to on or off.

Parameters:
BOOL b

TRUE for on; FALSE for off.
virtual BOOL GetVelMotBlur ( ) [pure virtual]

Returns TRUE if velocity motion blur is on; FALSE if off.

virtual void SetPixelSize ( float  size ) [pure virtual]

This method is obsolete.

virtual void SetAutoReflLevels ( int  n ) [pure virtual]

Sets the Auto Reflect/Refract Maps Rendering Iterations setting to the value passed.

Parameters:
int n

The value to set in the range of 1 to 10.
virtual void SetWireThickness ( float  t ) [pure virtual]

Sets the ''Wire Thickness' setting to the value passed.

Parameters:
float t

The value to set in the range of 0.0 to 10000.0.
virtual void SetObjBlurDuration ( float  dur ) [pure virtual]
virtual void SetVelBlurDuration ( float  dur ) [pure virtual]
virtual void SetNBlurFrames ( int  n ) [pure virtual]

Sets the Motion Blur Duration setting to the value passed.

Parameters:
int n

The value to set in the range of 1 to 16.
virtual void SetNBlurSamples ( int  n ) [pure virtual]

Sets the Object Motion Blur Samples setting to the value passed.

Parameters:
int n

The value to set in the range of 1 to 16.
virtual void SetMaxRayDepth ( int  n ) [pure virtual]

Sets the '3ds Max Quadtree Depth' setting for Ray-Traced shadows to the value passed.

Parameters:
int n

The value to set in the range of 0-10.
virtual int GetMaxRayDepth ( ) [inline, virtual]
Remarks:
Returns the maximum ray depth.
{ return 7; }
virtual void SetAntiAliasFilter ( FilterKernel pKernel ) [pure virtual]
Remarks:
Sets the anti-aliasing filter to the one passed.
Parameters:
FilterKernel *pKernel

Points to the filter to use. See Class FilterKernel.
virtual FilterKernel* GetAntiAliasFilter ( ) [pure virtual]
Remarks:
Returns a pointer to the anti-aliasing filter in use. See Class FilterKernel.
virtual void SetAntiAliasFilterSz ( float  size ) [pure virtual]
Remarks:
Sets the anti-aliasing filter size to the given value.
Parameters:
float size

The size to set.
virtual float GetAntiAliasFilterSz ( ) [pure virtual]
Remarks:
Returns the anti-aliasing filter size.
virtual void SetPixelSamplerEnable ( BOOL  on ) [pure virtual]
Remarks:
Sets if sampling is enabled or disabled.
Parameters:
BOOL on

TRUE for enabled (on); FALSE for disabled (off).
virtual BOOL GetPixelSamplerEnable ( ) [pure virtual]
Remarks:
Returns TRUE if anti-aliasing is on; FALSE if off.

IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer
IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer IScanRenderer