Blender V5.0
obj_export_file_writer.cc File Reference
#include <algorithm>
#include <system_error>
#include "BKE_attribute.hh"
#include "BKE_blender_version.h"
#include "BKE_mesh.hh"
#include "BLI_color.hh"
#include "BLI_enumerable_thread_specific.hh"
#include "BLI_fileops.h"
#include "BLI_math_matrix.h"
#include "BLI_math_matrix.hh"
#include "BLI_math_rotation.h"
#include "BLI_math_vector.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_task.hh"
#include "IO_path_util.hh"
#include "obj_export_mesh.hh"
#include "obj_export_mtl.hh"
#include "obj_export_nurbs.hh"
#include "obj_export_file_writer.hh"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::io
namespace  blender::io::obj

Functions

static void blender::io::obj::spaces_to_underscores (std::string &r_name)
static int blender::io::obj::calc_chunk_count (int count)
template<typename Function>
void blender::io::obj::obj_parallel_chunked_output (FormatHandler &fh, int tot_count, const Function &function)
static int blender::io::obj::get_smooth_group (const OBJMesh &mesh, const OBJExportParams &params, int face_idx)
static float4x4 blender::io::obj::compute_world_axes_transform (const OBJExportParams &export_params, const blender::float4x4 &object_to_world)

Variables

static CLG_LogRef LOG = {"io.obj"}
const int blender::io::obj::SMOOTH_GROUP_DISABLED = 0
const int blender::io::obj::SMOOTH_GROUP_DEFAULT = 1
static const char * blender::io::obj::DEFORM_GROUP_DISABLED = "off"
static const char * blender::io::obj::MATERIAL_GROUP_DISABLED = ""
static const int blender::io::obj::chunk_size = 32768

<tt>.MTL</tt> writers.

static const char * blender::io::obj::tex_map_type_to_string []
 blender::io::obj::BLI_STATIC_ASSERT (ARRAY_SIZE(tex_map_type_to_string)==int(MTLTexMapType::Count), "array size mismatch")
static std::string blender::io::obj::float3_to_string (const float3 &numbers)
static bool blender::io::obj::is_pbr_map (MTLTexMapType type)
static bool blender::io::obj::is_non_pbr_map (MTLTexMapType type)

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.obj"}
static

Definition at line 36 of file obj_export_file_writer.cc.