Browse Source

渲染测式 案例 开发

master
yuanjiajia 1 year ago
parent
commit
9dc3a5ca07
  1. 1
      examples/renderTest.php

1
examples/renderTest.php

@ -241,6 +241,7 @@ foreach($taskModel->childsParams as $childParams){
(new Client())->get($childParams->childPlyFile, [RequestOptions::SINK => $plyFileHandle]);
$obj = new Objects();
$obj->ply = $plyFileSavaPath;
$obj->appliedtransformation = $childParams->worldMatrix;
$obj->setMaterial($material);
$scene->registerObjects($obj);
}

Loading…
Cancel
Save