babs_de Posted May 17, 2013 Share Posted May 17, 2013 Hi! When I use a script to convert the terrain, it is not converted, the log is not created. In what may be the Problem? Link to comment
silent Posted May 17, 2013 Share Posted May 17, 2013 To upgrade the terrain you should launch terrain.usc script through the USC Interpreter and point it to the terrain.ter0000, terrain.ter0001... files. You can copy usc_x64/x86 binary from <SDK>/bin direcrory and terrain.usc script to the folder with terrains and launch following command in terminal: usc_x64 terrain.usc terrain.ter0000usc_x64 terrain.usc terrain.ter0001...if you are using x86 machine: usc_x86 terrain.usc terrain.ter0000usc_x86 terrain.usc terrain.ter0001... Old terrain files will be renamed to terrain.ter0000-, terrain.ter0001-... How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
babs_de Posted May 17, 2013 Author Share Posted May 17, 2013 Thanks for the answer, but I get an error Interpreter::load(): cant open "terrain.usc" file. file is in the correct folder. Link to comment
silent Posted May 29, 2013 Share Posted May 29, 2013 Hi, What OS are you using? It seems that USC is stored in PATH (actually, <SDK>/bin folder is added to PATH variable). If you have USC in PATH, you should call terrain.usc from folder with terrain files: cd /d path/to/the/terrain/folder/with/terrain.usc usc_x86/x64 terrain.usc terrain.ter0000 Or you can remove <SDK>/bin folder from PATH or remove/rename usc_x64/x86 files from that folder and try again. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts