Guest
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Menu
Wysilab
Home
Help
Search
Login
Register
Instant Terra Forum
/
Instant Terra
/
Crash and bug reports
/
Export Node C# API
« previous
next »
Print
Pages: [
1
]
Author
Topic: Export Node C# API (Read 2965 times)
January 03, 2020, 11:24:23 PM
Danilo Nishimura
Sr. Member
Posts: 66
Senior Technical Artist at Massive Entertainment
Export Node C# API
Hi there,
It seems I can't define how the Terrain will be exported through the C# api.
The exposed properties are "file_name", "user_defined_range", "min_height" and "max_height".
Is there a way to do it?
Logged
January 06, 2020, 05:14:53 PM
Reply
#1
Alexis Vaisse
Administrator
Posts: 189
Re: Export Node C# API
Hi,
It's currently only possible to set number properties and file name properties, not properties defined by a list, such as the file format property.
We're going to fix that in a future release.
Logged
January 07, 2020, 11:05:55 AM
Reply
#2
Alexis Vaisse
Administrator
Posts: 189
Re: Export Node C# API
We've just added the new "file_format" property.
The valid values are:
- "Bmp"
- "Tga"
- "Png8"
- "Png16"
- "Tiff8"
- "Tiff16"
- "Tiff32"
- "Exr"
- "Raw16"
- "Raw 32"
This feature will be available in
Instant Terra 1.8.5
to be released on
January 8th
.
Logged
January 07, 2020, 06:24:45 PM
Reply
#3
Danilo Nishimura
Sr. Member
Posts: 66
Senior Technical Artist at Massive Entertainment
Re: Export Node C# API
Thanks!
Logged
January 08, 2020, 11:33:55 PM
Reply
#4
Danilo Nishimura
Sr. Member
Posts: 66
Senior Technical Artist at Massive Entertainment
Re: Export Node C# API
Alexis, just noticed on your message the "Raw 32" has a space in the string. Is that correct?
One more thing. Those keys need to be updated on the documentation.
The parameter "File Format" is there, but not the string keys.
https://www.wysilab.com/OnLineDocumentation/Nodes/Nodes_Export_Terrain.html
Logged
January 09, 2020, 08:23:06 AM
Reply
#5
Alexis Vaisse
Administrator
Posts: 189
Re: Export Node C# API
Sorry I did a mistake, the correct value is "Raw32" with no space.
You're right about the documentation. We plan to improve the C# and Python API documentation and put more information about the available parameters and values.
Logged
Print
Pages: [
1
]
« previous
next »
Instant Terra Forum
/
Instant Terra
/
Crash and bug reports
/
Export Node C# API