Vizard 7 » Command Index » Vizard modules » viz » <viz>.setMultiSample
7.6

<viz>.setMultiSample

Set multi sampling level

<viz>.setMultiSample(  
samples  
)  
samples
Number of samples

Remarks

This command will set the number of fullscreen anit-aliasing samples to perform after each frame is rendered. The more samples, the smoother geometry edges will be. However, more samples increase rendering time. The common sample levels are 2, 4, and 8.

Note: This command must be called before viz.go()

Return Value

None

Example

#Enable 4x anti-aliasing
viz.setMultiSample(4)

viz.go()