<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Generate terrains entirely via scripting?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2018</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2018&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Generate terrains entirely via scripting?.]]></description>
		<lastBuildDate>Thu, 18 Aug 2022 09:10:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Generate terrains entirely via scripting?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8515#p8515</link>
			<description><![CDATA[<p>If you have programming experience, you can modify the asset&#039;s source code for your own needs.<br />There are no problems here.</p><p>1. OK.<br />2. There is no way to specify the result folder here. You will need to modify RealWorldTerrainGenerateTerrainsPhase.Start method.<br />3. You can adjust settings before invoking StartCapture. <br />All settings are stored in RealWorldTerrainWindow.prefs (public static field) which exists after calling RealWorldTerrainWindow.OpenWindow.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 18 Aug 2022 09:10:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8515#p8515</guid>
		</item>
		<item>
			<title><![CDATA[Re: Generate terrains entirely via scripting?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8513#p8513</link>
			<description><![CDATA[<p>Thanks for that^ Alex.</p><p>What I&#039;m considering is the shortest path to the goal is illustrative of what we&#039;re trying to achieve. Generally speaking, it&#039;ll be way easier to start with your capture implementation -- you&#039;ve done a great job! -- than roll a new one from ground up using the API.&nbsp; I just hope this approach doesn&#039;t violate your intended use of the product <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>1 Fire EditorUtility.OpenFilePanel from a new button on RealTerrainWindowUI to retrieve a file containing a list of area boundary requests (Top-Lefts + Bottom-Rights in latlong) and a name for the desired output subdirectory.<br />2. Provide another OpenFilePanel to provide a location other than RTW_Result for the generated output. If an alternate location is specified, the terrain will not be added to the current project.<br />3 For each area requested, invoke a modified StartCapture() that accepts the request params and directs processing accordingly.</p><p>I&#039;m open to alternate approaches. If you consider the general idea valuable to other users I&#039;d be happy to collaborate on and/or follow up with the changes.</p>]]></description>
			<author><![CDATA[null@example.com (shonji)]]></author>
			<pubDate>Wed, 17 Aug 2022 20:31:07 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8513#p8513</guid>
		</item>
		<item>
			<title><![CDATA[Re: Generate terrains entirely via scripting?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8512#p8512</link>
			<description><![CDATA[<p>Hello.</p><p>There are a couple of examples on the forum on how to use API:<br /><a href="https://forum.infinity-code.com/viewtopic.php?id=1447">https://forum.infinity-code.com/viewtopic.php?id=1447</a><br /><a href="https://forum.infinity-code.com/viewtopic.php?id=1538">https://forum.infinity-code.com/viewtopic.php?id=1538</a></p><p>If you have any specific questions, you can ask and I will try to explain how to do it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 17 Aug 2022 09:20:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8512#p8512</guid>
		</item>
		<item>
			<title><![CDATA[Generate terrains entirely via scripting?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8509#p8509</link>
			<description><![CDATA[<p>Hello,</p><p>We purchased RWT primarily for its scripting capability. Our use cases demand that we eliminate the possibility of human error. We ultimately seek to build a unified (stichable) collection of Unity terrains composed of SRTM 1-arcsec cells. RWT’s API documentation is class/type-oriented but does not offer scripting “How-Tos” as far as I can tell. Can you point us at scripting tutorial content relevant to our goals or provide a walkthrough of how one might use RWT’s APIs to accomplish the equivalent of the required GUI-based workflow? </p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (shonji)]]></author>
			<pubDate>Tue, 16 Aug 2022 21:19:37 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8509#p8509</guid>
		</item>
	</channel>
</rss>
