rvbust / Vis

Interactive & Asynchronous 3D Visualization Tool
132 stars 31 forks source link

加载stl模型的大小缩放问题? #7

Open longwoo opened 3 years ago

longwoo commented 3 years ago
    Handle Load(const std::string &fname);
    std::vector<Handle> Load(const std::vector<std::string> &fnames);

    Handle Load(const std::string &fname, const std::array<float, 3> &pos,
                const std::array<float, 4> &quat);
    std::vector<Handle> Load(const std::vector<std::string> &fnames,
                             const std::vector<std::array<float, 3>> &trans,
                             const std::vector<std::array<float, 4>> &quats);

目前的load的函数未发现有scale类似的参数,请问如何实现加载模型的时候的尺寸缩放问题?