

Initializes various backend systems required to render scene data. initialize ( headless = False, window_on_top = False, lazy_updates = False, verbose = False, max_entities = 10000, max_cameras = 10, max_transforms = 10000, max_meshes = 10000, max_materials = 10000, max_lights = 100, max_textures = 1000, max_volumes = 1000 ) “verbose” - print out information related to loading the scene. Rotation ( quat, optional) – A change in rotation to apply to all entities generated by this functionĪrgs ( std::vector >, optional) – A list of optional arguments that can effect the importer. Scale ( vec3, optional) – A change in scale to apply to all entities generated by this function Position ( vec3, optional) – A change in position to apply to all entities generated by this function These shapes are then translated so that the transform component is centered at the centroid of the shape.įinally, any specified position, scale, and/or rotation are applied to the generated transforms. Next, any textures required by those materials will be loaded.Īfter that, all shapes will be separated by material.įor each separated shape, an entity is created to attach a transform, mesh, and material component together. OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STLįirst, any materials described by the file are used to generate Material components. Supported file formats include: AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXFĬSM HMP IRRMESH IRR LWO LWS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE

If in interactive mode, returns size of the window nvisii. The minimum axis aligned bounding box position for the axis aligned bounding box containing all scene geometry nvisii. get_scene_min_aabb_corner ( ) Return type The maximum axis aligned bounding box position for the axis aligned bounding box containing all scene geometry nvisii. get_scene_max_aabb_corner ( ) Return type The center of the aligned bounding box for the axis aligned bounding box containing all scene geometry nvisii. If in interactive mode, returns the position of the cursor relative to the window. Temporarily lock components while being uploaded to the GPU. However, bulk component edits will slow down, as each component edit will individually cause the renderer to If enabled, the interactive window image will change asynchronously as scene components are altered. If enabled, objects will be lit by the dome light. enable_denoiser ( ) Įnables the Optix denoiser. If disabled, the interactive window image will only show scene changes on call to render, render_to_png, and render_data.īulk component edits will be much faster when disabled, as all component edits can be done without the renderer Instead, the dome light will only effect the background color. If disabled, objects will not be lit by the dome light.
