render method

render

Render the scene into external file from given camera’s perspective. The default output size is 1024x768 and output format is png

def render(self, camera, file_name):
    ...
ParameterTypeDescription
cameraaspose.threed.entities.CameraFrom which camera’s perspective to render the scene
file_namestrThe file name of output file

render

Render the scene into bitmap from given camera’s perspective.

def render(self, camera, bitmap):
    ...
ParameterTypeDescription
cameraaspose.threed.entities.CameraFrom which camera’s perspective to render the scene
bitmapaspose.threed.render.TextureDataTarget of the rendered result

render

Render the scene into bitmap from given camera’s perspective.

def render(self, camera, bitmap, options):
    ...
ParameterTypeDescription
cameraaspose.threed.entities.CameraFrom which camera’s perspective to render the scene
bitmapaspose.threed.render.TextureDataTarget of the rendered result
optionsImageRenderOptionsThe option to customize some internal settings.

render

Render the scene into external file from given camera’s perspective.

def render(self, camera, file_name, size, format):
    ...
ParameterTypeDescription
cameraaspose.threed.entities.CameraFrom which camera’s perspective to render the scene
file_namestrThe file name of output file
sizeaspose.threed.utilities.Vector2The size of final rendered image
formatstrThe image format of the output file

render

Render the scene into external file from given camera’s perspective.

def render(self, camera, file_name, size, format, options):
    ...
ParameterTypeDescription
cameraaspose.threed.entities.CameraFrom which camera’s perspective to render the scene
file_namestrThe file name of output file
sizeaspose.threed.utilities.Vector2The size of final rendered image
formatstrThe image format of the output file
optionsImageRenderOptionsThe option to customize some internal settings.

See Also