<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/13230" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-07-01T14:26:03+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/13230</id>

		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2021-07-01T14:26:03+00:00</updated>

		<published>2021-07-01T14:26:03+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43469#p43469</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43469#p43469"/>
		<title type="html"><![CDATA[Re: Two Question about btHeightfieldTerrainShape]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43469#p43469"><![CDATA[
<strong class="text-strong">(1)</strong> The <strong class="text-strong">btHeightfieldTerrainShape</strong> uses its data to compute triangles.  The normals are properties of the triangles and are computed as needed.<br><br><strong class="text-strong">(2)</strong> The <strong class="text-strong">btHeightfieldTerrainShape::m_heightfieldDataFloat</strong> member variable is understood to be a regular 2D rectangular array of heights along one of the cardinal axes (as specified by the <strong class="text-strong">btHeightfieldTerrainShape::m_upAxis</strong> member variable).  The other two components of a vertex on the heightfield are computed using the corresponding 2D index into the array combined with the <strong class="text-strong">btHeightfieldTerrainShape::m_width</strong>, <strong class="text-strong">m_height</strong>, and <strong class="text-strong">m_heightScale</strong> member variables.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Thu Jul 01, 2021 2:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kcjsend2]]></name></author>
		<updated>2021-06-30T09:25:08+00:00</updated>

		<published>2021-06-30T09:25:08+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43468#p43468</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43468#p43468"/>
		<title type="html"><![CDATA[Two Question about btHeightfieldTerrainShape]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43468#p43468"><![CDATA[
first, I've searched about btHeightfieldTerrainShape, and then i realized that constructor doesn't need any normal data. is it compute normal itself by terrain height - index data?<br><br>second, is there any kind of form about parameter void* heightfieldData? I know that must be heightDataType - array, but there must be x - z coordinates or something, but only it gets are just array. is there any formula for this?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14021">kcjsend2</a> — Wed Jun 30, 2021 9:25 am</p><hr />
]]></content>
	</entry>
	</feed>
