Blender V5.0
usd_light_convert.cc File Reference
#include "usd_light_convert.hh"
#include "usd.hh"
#include "usd_asset_utils.hh"
#include "usd_private.hh"
#include "usd_utils.hh"
#include "usd_writer_material.hh"
#include <pxr/base/gf/rotation.h>
#include <pxr/base/gf/vec3f.h>
#include <pxr/usd/usdGeom/metrics.h>
#include <pxr/usd/usdGeom/tokens.h>
#include <pxr/usd/usdGeom/xformCache.h>
#include <pxr/usd/usdGeom/xformCommonAPI.h>
#include <pxr/usd/usdLux/domeLight.h>
#include <pxr/usd/usdLux/tokens.h>
#include "BKE_image.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_node.hh"
#include "BKE_node_legacy_types.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_update.hh"
#include "BLI_fileops.h"
#include "BLI_math_vector.h"
#include "BLI_path_utils.hh"
#include "BLI_span.hh"
#include "BLI_string_ref.hh"
#include "BLI_string_utils.hh"
#include "BLI_utildefines.h"
#include "DNA_image_types.h"
#include "DNA_node_types.h"
#include "DNA_scene_types.h"
#include "DNA_world_types.h"
#include <cmath>
#include <cstdint>
#include <string>
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  usdtokens
namespace  blender
namespace  blender::io
namespace  blender::io::usd

Functions

static const pxr::TfToken usdtokens::pole_axis_z ("Z", pxr::TfToken::Immortal)
static Imageblender::io::usd::load_image (std::string tex_path, Main *bmain, const USDImportParams &params)
static bNodeblender::io::usd::append_node (bNode *dst_node, int16_t new_node_type, const StringRef out_sock, const StringRef in_sock, bNodeTree *ntree, float offset)
void blender::io::usd::world_material_to_dome_light (const USDExportParams &params, const Scene *scene, pxr::UsdStageRefPtr stage)
void blender::io::usd::dome_light_to_world_material (const USDImportParams &params, Scene *scene, Main *bmain, const USDImportDomeLightData &dome_light_data, const pxr::UsdPrim &prim, const pxr::UsdTimeCode time)
static bool blender::io::usd::node_search (bNode *fromnode, bNode *, void *userdata, bool)
void blender::io::usd::world_material_to_dome_light (const Scene *scene, WorldToDomeLight &res)

Variables

static CLG_LogRef LOG = {"io.usd"}

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.usd"}
static

Definition at line 48 of file usd_light_convert.cc.