Panda3D
Classes | Public Member Functions | List of all members
MaxToEggConverter Class Reference

This class supervises the construction of an EggData structure from a Max model. More...

#include "maxToEggConverter.h"

Public Member Functions

bool convert (MaxEggOptions *options)
 Fills up the egg_data structure according to the global Max model data. More...
 
Modifier * FindSkinModifier (INode *node, const Class_ID &type)
 

Detailed Description

This class supervises the construction of an EggData structure from a Max model.

Definition at line 40 of file maxToEggConverter.h.

Member Function Documentation

◆ convert()

bool MaxToEggConverter::convert ( MaxEggOptions options)

Fills up the egg_data structure according to the global Max model data.

Returns true if successful, false if there is an error. If from_selection is true, the converted geometry is based on that which is selected; otherwise, it is the entire Max scene.

Definition at line 70 of file maxToEggConverter.cxx.

References EggGroupNode::add_child(), EggXfmSAnim::add_data(), EggTransform::add_matrix4(), EggPrimitive::add_texture(), EggPrimitive::add_vertex(), LMatrix4d::almost_equal(), EggVertexPool::begin(), MaxNodeTree::build_complete_hierarchy(), MaxNodeTree::clear_egg(), EggTextureCollection::create_unique_texture(), EggVertexPool::create_unique_vertex(), EggVertexPool::end(), MaxNodeTree::find_joint(), Filename::from_os_specific(), Filename::from_os_specific_w(), Filename::get_dirname(), MaxNodeTree::get_egg_anim(), MaxNodeTree::get_egg_group(), EggVertex::get_external_index(), EggFilenameNode::get_fullpath(), MaxNodeDesc::get_max_node(), MaxNodeTree::get_node(), EggNode::get_node_frame_inv(), MaxNodeTree::get_num_nodes(), EggVertex::get_pos3(), EggTransform::get_transform3d(), EggTexture::get_uv_name(), EggPrimitive::get_vertex(), EggNode::get_vertex_frame_inv(), MaxNodeDesc::has_max_node(), EggGroup::has_object_type(), LMatrix4d::ident_mat(), LMatrix4d::invert_in_place(), MaxNodeDesc::is_joint(), MaxNodeDesc::is_node_joint(), TypedObject::is_of_type(), EggXfmSAnim::optimize(), EggGroup::ref_vertex(), EggGroup::remove_object_type(), EggTexture::set_alpha_filename(), EggTexture::set_alpha_fullpath(), EggPrimitive::set_bface_flag(), EggData::set_coordinate_system(), EggVertex::set_external_index(), EggNurbsCurve::set_knot(), EggVertex::set_pos(), EggVertex::set_uv(), EggTexture::set_uv_name(), EggPrimitive::set_vertex(), and EggNurbsCurve::setup().


The documentation for this class was generated from the following files: