<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — Terrain cut off]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=160&amp;type=atom" />
	<updated>2007-03-02T20:59:07Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=160</id>
		<entry>
			<title type="html"><![CDATA[Re: Terrain cut off]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=634#p634" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2007-03-02T20:59:07Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=634#p634</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Terrain cut off]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=633#p633" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[H&K]]></name>
				<uri>https://gprogs.com/profile.php?id=36</uri>
			</author>
			<updated>2007-03-02T19:03:34Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=633#p633</id>
		</entry>
</feed>
