22 using Alembic::AbcGeom::CameraSample;
23 using Alembic::AbcGeom::OCamera;
24 using Alembic::AbcGeom::OFloatProperty;
40 abc_camera_schema_ = abc_camera_.getSchema();
42 abc_custom_data_container_ = abc_camera_schema_.getUserProperties();
43 abc_stereo_distance_ = OFloatProperty(
45 abc_eye_separation_ = OFloatProperty(
66 const double apperture_x = cam->
sensor_x / 10.0;
67 const double apperture_y = cam->
sensor_y / 10.0;
68 const double film_aspect = apperture_x / apperture_y;
Camera data-block and utility functions.
#define CLOG_INFO(clg_ref, level,...)
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a or normal between camera
ATTR_WARN_UNUSED_RESULT const BMVert * v
Alembic::Abc::OCompoundProperty abc_schema_prop_for_custom_props(T abc_schema)
uint32_t timesample_index_
const ABCWriterConstructorArgs args_
Alembic::Abc::OCompoundProperty abc_prop_for_custom_props() override
virtual bool is_supported(const HierarchyContext *context) const override
virtual Alembic::Abc::OObject get_alembic_object() const override
ABCCameraWriter(const ABCWriterConstructorArgs &args)
virtual void do_write(HierarchyContext &context) override
virtual void create_alembic_objects(const HierarchyContext *context) override
ccl_device_inline void camera_sample(KernelGlobals kg, int x, int y, float filter_u, float filter_v, float lens_u, float lens_v, float time, ccl_private Ray *ray)
struct Object * focus_object
float convergence_distance
float interocular_distance
struct CameraStereoSettings stereo
struct CameraDOFSettings dof
Alembic::Abc::OObject abc_parent