Blender  V3.3
Namespaces | Macros | Functions | Variables
obj_export_file_writer.cc File Reference
#include <algorithm>
#include <cstdio>
#include "BKE_blender_version.h"
#include "BKE_geometry_set.hh"
#include "BLI_color.hh"
#include "BLI_enumerable_thread_specific.hh"
#include "BLI_path_util.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"

Go to the source code of this file.

Namespaces

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

Macros

#define SYNTAX_DISPATCH(eMTLSyntaxElement)
 

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< eFileType::OBJ > &fh, int tot_count, const Function &function)
 
static int blender::io::obj::get_smooth_group (const OBJMesh &mesh, const OBJExportParams &params, int poly_idx)
 
.MTL writers.
static std::string blender::io::obj::float3_to_string (const float3 &numbers)
 

Variables

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
 

Macro Definition Documentation

◆ SYNTAX_DISPATCH

#define SYNTAX_DISPATCH (   eMTLSyntaxElement)
Value:
if (texture_map.key == eMTLSyntaxElement) { \
fmt_handler_.write<eMTLSyntaxElement>(options, path.c_str()); \
return; \
}
CCL_NAMESPACE_BEGIN struct Options options