Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 855 Bytes

model.md

File metadata and controls

57 lines (30 loc) · 855 Bytes

Panda3D Model

Languages: 한국어

Loading Models

We provide similar API in Python version.

// load single model
NodePath model = get_loader()->load_model("model1.bam");

// load multiple models
std::vector<NodePath> models = get_loader()->load_model({
    "model1.bam",
    "model2.bam"});

For asynchronous loading, you can use load_model_async API.

get_loader()->load_model_async(
    "model1.bam",
    {},
    boost::none,
    false,
    boost::none,
    [](const std::vector<NodePath>& models) {
        // process after loading is finished.
    });

For details, see also the below Panda3D manual:

Generating Egg format

Blender

Summary

Bam 포맷 생성