Blender V5.3
volume.cc File Reference
#include "volume.hh"
#include <pxr/imaging/hd/materialBindingSchema.h>
#include <pxr/imaging/hd/materialBindingsSchema.h>
#include <pxr/imaging/hd/retainedDataSource.h>
#include <pxr/imaging/hd/tokens.h>
#include <pxr/imaging/hd/visibilitySchema.h>
#include <pxr/imaging/hd/volumeFieldBindingSchema.h>
#include <pxr/imaging/hd/volumeFieldSchema.h>
#include <pxr/imaging/hd/xformSchema.h>
#include <pxr/usd/sdf/assetPath.h>
#include <pxr/usdImaging/usdVolImaging/tokens.h>
#include "BLI_index_range.hh"
#include "BKE_material.hh"
#include "BKE_volume.hh"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_volume_types.h"
#include "populate_context.hh"
#include "util.hh"
#include "volume_modifier.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::io
namespace  blender::io::hydra

Functions

static pxr::HdContainerDataSourceHandle blender::io::hydra::build_volume_field_data_source (const std::string &filepath, const pxr::TfToken &field_name)
static pxr::HdContainerDataSourceHandle blender::io::hydra::build_volume_prim_data_source (const Span< VolumeFieldDescriptor > fields, const pxr::GfMatrix4d &transform, const bool visible, const pxr::SdfPath &material_path)
static std::string blender::io::hydra::build_volume_fields_from_datablock (const Object *object, const pxr::SdfPath &volume_path, Main *bmain, pxr::GfMatrix4d *r_transform, Vector< VolumeFieldDescriptor > *r_fields)
bool blender::io::hydra::emit_volume_object (PopulateContext &ctx, const Object *object, EmittedObject &emitted)
void blender::io::hydra::emit_volume_dupli (PopulateContext &ctx, const Object *source, const float dupli_mat[4][4])