igibson.render.mesh_renderer package

Submodules

igibson.render.mesh_renderer.get_available_devices module

igibson.render.mesh_renderer.get_available_devices.get_available_devices()

Find available devices to run EGL on. It will return the minor numbers, The minor number for the device is such that the Nvidia device node file for each GPU will have the form /dev/nvidia[minor number]. Avail- able only on Linux platform.

Returns

Minor number

igibson.render.mesh_renderer.get_available_devices.get_cuda_device(minor_idx)

Get the device index to use in pytorch

The minor number for the device is such that the Nvidia device node file for each GPU will have the form /dev/nvidia[minor number]. Avail- able only on Linux platform.

Parameters

minor_idx – Minor index for a GPU

Returns

index to use in torch.cuda.device()

igibson.render.mesh_renderer.instances module

igibson.render.mesh_renderer.materials module

igibson.render.mesh_renderer.mesh_renderer_cpu module

igibson.render.mesh_renderer.mesh_renderer_settings module

class igibson.render.mesh_renderer.mesh_renderer_settings.MeshRendererSettings(use_fisheye=False, msaa=False, enable_shadow=False, enable_pbr=True, env_texture_filename='/home/runner/work/iGibson/iGibson/igibson/data/ig_dataset/scenes/background/photo_studio_01_2k.hdr', env_texture_filename2='/home/runner/work/iGibson/iGibson/igibson/data/ig_dataset/scenes/background/photo_studio_01_2k.hdr', env_texture_filename3='/home/runner/work/iGibson/iGibson/igibson/data/ig_dataset/scenes/background/photo_studio_01_2k.hdr', light_modulation_map_filename='', optimized=False, skybox_size=20.0, light_dimming_factor=1.0, fullscreen=False, glfw_gl_version=None, texture_scale=1.0, hide_robot=False, show_glfw_window=False, blend_highlight=False, is_robosuite=False, glsl_version_override=460, load_textures=True)

Bases: object

get_best()
get_fastest()

igibson.render.mesh_renderer.mesh_renderer_tensor module

igibson.render.mesh_renderer.mesh_renderer_vr module

igibson.render.mesh_renderer.text module

igibson.render.mesh_renderer.visual_object module

class igibson.render.mesh_renderer.visual_object.VisualObject(filename, VAO_ids, vertex_data_indices, face_indices, id, renderer)

Bases: object

A visual object manages a set of VAOs and textures A wavefront obj file is loaded into openGL and managed by a VisualObject

Module contents