51 if (path.size() > 0) {
63 out <<
" resolution 640 480" <<
endl;
65 out <<
" filter mitchell" <<
endl;
71 out <<
" eye -0.25 -0.3 0.13" <<
endl;
72 out <<
" target -0.1 0.1 0.13" <<
endl;
75 out <<
" aspect 1.333333" <<
endl;
81 out <<
" image sky_small.hdr" <<
endl;
82 out <<
" center 0 -1 0" <<
endl;
90 out <<
" name default-shader" <<
endl;
92 out <<
" diff 0.25 0.25 0.25" <<
endl;
99 out <<
" color 0.1 0.3 0.8" <<
endl;
105 out <<
" refl 0.7 0.7 0.7" <<
endl;
111 out <<
" shader default-shader" <<
endl;
119 out <<
" shader Glass" <<
endl;
121 out <<
" rotatey 270.0" <<
endl;
123 out <<
" type generic-mesh" <<
endl;
139 out <<
" normals none" <<
endl;
std::string getFileExtension() override
std::shared_ptr< T > SPtr
#define UBLOG(level, logtext)
std::string writeTriangles(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt3 > &triangles) override
bool makeDirectory(const std::string &dir)
std::string getPathFromString(const std::string &fileStringWithPath)