|
@ -0,0 +1,25 @@ |
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Blobt\Luxcore\scene; |
|
|
|
|
|
use GuzzleHttp\Client; |
|
|
|
|
|
|
|
|
|
|
|
include dirname(dirname(__FILE__)) . "/vendor/autoload.php"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 创建一个场景
|
|
|
|
|
|
// $scene = new Scene();
|
|
|
|
|
|
|
|
|
|
|
|
$client = new Client(); |
|
|
|
|
|
$response = $client->get("deep3d.backend-api.dev.com/test/render-task"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// echo $response->getBody()->getContents();
|
|
|
|
|
|
|
|
|
|
|
|
$resStr = $response->getBody()->getContents(); |
|
|
|
|
|
|
|
|
|
|
|
$resContents = json_decode($resStr); |
|
|
|
|
|
|
|
|
|
|
|
print_r($resContents->data->scene->model->childsParams[0]); |
|
|
|
|
|
?>
|