<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[GMan's Mods & Stuff — Terrain cut off]]></title>
		<link>https://gprogs.com/viewtopic.php?id=160</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=160&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Terrain cut off.]]></description>
		<lastBuildDate>Fri, 02 Mar 2007 20:59:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Terrain cut off]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=634#p634</link>
			<description><![CDATA[<p>this is an irrlicht limit.&nbsp; there was a patch that i used to incorporate as a seperate build, but i have not built it in a while.&nbsp; im not sure the patch is still being provided.&nbsp; i will take a look see.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Fri, 02 Mar 2007 20:59:07 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=634#p634</guid>
		</item>
		<item>
			<title><![CDATA[Terrain cut off]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=633#p633</link>
			<description><![CDATA[<div class="codebox"><pre><code>Import irrlicht.b3d

Global TheEngine:ib3d_engine = _g_ib3d_engine
TheEngine.Graphics3D(800,600,32)
TheEngine.setAmbientLight(255,255,255)

Global MyCamera:CAMERA =   TheEngine.createCamera(NUll,CT_FPS  )
MyCamera.setRange(1,5000)

Global MyTerrain1:TERRAIN  = TheEngine.loadTerrain(&quot;HM4.jpg&quot;)
Global MyTexture:TEXTURE = TheEngine.loadTexture(&quot;Tex4.jpg&quot;)

MyTerrain1.Scale(1,.2,1)
MyTerrain1.setTexture(MyTexture)
Global MyLight:LIGHT = TheEngine.createLight()

MyTerrain1.Position(0,0,0)
MyLight.SetColor(200,200,200)
MyCamera.Position(100,200,100)

While (Not TheEngine.KeyDown(KEY_SPACE))
     TheEngine.UpdateWorld
     TheEngine.RenderWorld()
     MyLight.Position(MyCamera.X() ,MyCamera.Y(),Mycamera.Z())
Wend

End</code></pre></div><p>hahaha Another one.<br />HM4 is the hight Map from Terraed (512.512) (The one by Felix), as is Tex4</p><p>Anyway only the first 4th(xCord) is rendered. All of z. So instead of a squre map, there is only a strip. </p><p>So cos Im not stupid, I took this to mean that the terrain could only have 65536 Points. So scaled down the Heightmapto 256.256 and it works. So is this an irrlicht limit or irrd3b?</p>]]></description>
			<author><![CDATA[null@example.com (H&K)]]></author>
			<pubDate>Fri, 02 Mar 2007 19:03:34 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=633#p633</guid>
		</item>
	</channel>
</rss>
