Browse Source

渲染测式 案例 开发

master
yuanjiajia 1 year ago
parent
commit
7e17dd95ea
  1. 1
      examples/renderTest.php

1
examples/renderTest.php

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

Loading…
Cancel
Save