2#ifndef _TINYPBRT_SCENE_H_
3#define _TINYPBRT_SCENE_H_
#define TPBRT_API
Definition export.h:18
char tpbrt_char_t
Char type.
Definition fwd.h:51
tpbrt_error_t
Error type (used as result type where success = TPBRT_ERROR_NONE = 0).
Definition error.h:20
float tpbrt_float_t
Float type.
Definition fwd.h:83
tpbrt_error_t tpbrt_scene_load_from_memory(const tpbrt_char_t *data, const tpbrt_char_t *working_directory, tpbrt_scene_t *out_scene)
Loads scene from memory (provided string).
void tpbrt_scene_free(tpbrt_scene_t *scene)
Free all scene resources.
tpbrt_error_t tpbrt_scene_load_from_file(const tpbrt_char_t *filepath, tpbrt_scene_t *out_scene)
Loads scene from given file.
PBRT Accelerator representation.
Definition accelerator.h:78
PBRT Camera representation.
Definition camera.h:159
PBRT film representation.
Definition film.h:105
PBRT filter representation.
Definition filter.h:68
PBRT integrator representation.
Definition integrator.h:192
List of all types of lights.
Definition light.h:238
List of materials.
Definition material.h:416
List of object instances.
Definition object_instance.h:34
List of objects.
Definition object.h:37
PBRT options representation.
Definition options.h:23
PBRT sampler representation.
Definition sampler.h:124
PBRT scene representation.
Definition scene.h:38
tpbrt_camera_t camera
Scene camera.
Definition scene.h:43
tpbrt_filter_t filter
Scene filter.
Definition scene.h:55
tpbrt_film_t film
Scene film.
Definition scene.h:45
tpbrt_shapes_list_t shapes
List with all scene shapes.
Definition scene.h:68
tpbrt_transforms_list_t transforms
List with all unique transforms.
Definition scene.h:74
tpbrt_sampler_t sampler
Scene sampler.
Definition scene.h:51
tpbrt_options_t options
Scene general options.
Definition scene.h:40
tpbrt_float_t start_time
Scene animation start time.
Definition scene.h:53
tpbrt_lights_list_t lights
List with all scene lights.
Definition scene.h:66
tpbrt_materials_list_t materials
List with all scene materials.
Definition scene.h:62
tpbrt_float_t end_time
Scene animation end time.
Definition scene.h:57
tpbrt_textures_list_t textures
List with all scene textures.
Definition scene.h:60
tpbrt_accelerator_t accelerator
Scene accelerator.
Definition scene.h:49
tpbrt_medias_list_t medias
List with all scene medias.
Definition scene.h:64
tpbrt_objects_list_t objects
List with all scene objects.
Definition scene.h:70
tpbrt_objects_instances_list_t instances
List with all scene objects instances.
Definition scene.h:72
tpbrt_integrator_t integrator
Scene integrator.
Definition scene.h:47
List of shapes.
Definition shape.h:261
List of textures.
Definition texture.h:435