Hi,
I'm trying to start TG2TP from the command-line, but am getting lots of errors such as:
CreateObject: Unrecognised class: sphere_geometry_shader
It's possibly a path issue, but I can't get it to work.
Here's my commands:
set TERRAGEN_PATH="C:\Program Files\Planetside Software\Terragen 2 Technology Preview"
%TERRAGEN_PATH%\tgdcli.exe "G:\My Documents\Terragen\TG2\Scenes\Sunrise001.tgd" -hide -exit -r -o "G:\My Documents\Terragen\TG2\Output\Sunrise.%04d.IMAGETYPE.exr"
Here's the complete CLI output:
G:\My Documents\Terragen\TG2>"C:\Program Files\Planetside Software\Terrage
n 2 Technology Preview"\tgdcli.exe "G:\My Documents\Terragen\TG2\Scenes\Sunrise0
01.tgd" -hide -exit -r -o "G:\My Documents\Terragen\TG2\Output\Sunrise.sunrise4d
.IMAGETYPE.exr"
<<<### APP RUN STARTED ###>>>
Terragen 2 Technology Preview 1 (build 1.8.64.0)
TERRAGEN_PATH="C:\Program Files\Planetside Software\Terragen 2 Technology Previe
w"
AddClass: added class group (268577040 268577136)
AddClass: added class null (268577696 268577792)
AddClass: added class camera (268577808 268577904)
AddClass: added class render (268577920 268578016)
AddClass: added class lwo_micro_exporter (268578032 268578128)
AddClass: added class heightfield_load (268578144 268578240)
AddClass: added class lwo_reader (268580512 268578288)
AddClass: added class obj_reader (268578304 268578400)
AddClass: added class plane (268578416 268578512)
AddClass: added class disc (268578528 268578624)
AddClass: added class sphere (268578640 268578736)
AddClass: added class sunlight (268578752 268578848)
AddClass: added class light_source (268578864 268578960)
AddClass: added class enviro_light (268578976 268579072)
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\
No files matching *.tgp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\
No files matching *.cpp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\plugins\
No files matching *.tgp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\plugins\
No files matching *.cpp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\..\..\tgdplugins\
No files matching *.tgp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\..\..\tgdplugins\
No files matching *.cpp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\..\..\tgdplugins\nt_intel\
No files matching *.tgp in this directory
Loaded 0 modules in this directory
Loading plugins in: "C:\Program Files\Planetside Software\Terragen 2 Technology
Preview"\..\..\tgdplugins\nt_intel\
No files matching *.cpp in this directory
Loaded 0 modules in this directory
Loaded a total of 0 plugin modules
Found existing prefs file
False UCBool
Successfully parsed prefs file
ReadXML: Attempting to read file: "C:\Program Files\Planetside Software\Terragen
2 Technology Preview\Terragen_2.ucr\Generic\default.xml"
creating camera (268577808)
creating render (268577920)
creating render (268577920)
creating enviro_light (268578976)
creating sunlight (268578752)
creating sphere (268578640)
creating group (268577040)
creating group (268577040)
creating group (268577040)
creating group (268577040)
creating group (268577040)
creating group (268577040)
creating group (268577040)
creating group (268577040)
ReadXML: done
Content path for "Project" set to "C:\Program Files\Planetside Software\Terragen
2 Technology Preview\Terragen_2.ucr\Generic\"
Content path for "Project" set to ""
creating camera (268577808)
creating camera (268577808)
TG2ContentPathManager : Dumping...
Num paths = 1
TG2ContentPath : Source = Preferences, Type = Library, Recursive
Path = C:\Program Files\Planetside Software\Terragen 2 Technology Previe
w
Searching for Library Item.txt
Couldn't find Library item
Searching for Library Item Sub.txt
Couldn't find Library sub item
Searching for Test Item 1.txt
Couldn't find User item 1
Searching for Test Item 2.txt
Couldn't find User item 2
Message Sent 0x12f67c : ID = 21
Message Sent 0x12f9a0 : ID = 21
CreateFile succeeded
destroying camera (268577904)
destroying camera (268577904)
Any ideas anyone?
I know I changed the library folder path and am not sure that I returned it to it's correct setting. What should that be?
Regards,
Andy Cocker