[ODE] trimeshes in quadtree space

Chris Ledwith cledwith at d-a-s.com
Tue Aug 5 14:50:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C35B7A.24EF34E0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

I am trying to add trimeshes to a quadtree space, but they all get added
to the top level (root) because dxTriMesh::computeAABB sets an infinite
aabb, which causes Block::GetBlock to return the root block of the
quadtree as the only viable block to place the geometry in. Is there a
function in ODE/OPCODE that will compute the aabb's or do I have to
compute them myself? Or am I missing something else entirely?

 

Thanks,

Chris L.

 


------=_NextPart_000_0014_01C35B7A.24EF34E0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am trying to add trimeshes to a quadtree space, but =
they
all get added to the top level (root) because dxTriMesh::computeAABB =
sets an
infinite aabb, which causes Block::GetBlock to return the root block of =
the quadtree
as the only viable block to place the geometry in. Is there a function =
in
ODE/OPCODE that will compute the aabb&#8217;s or do I have to compute =
them
myself? Or am I missing something else entirely?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Chris L.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0014_01C35B7A.24EF34E0--