[postgis-users] X3D and Postgis

Olivier Courtin olivier.courtin at camptocamp.com
Wed Apr 4 00:45:24 PDT 2007


On Tue, 3 Apr 2007 14:19:07 -0600
"Randy George" <rkgeorge at cadmaps.com> wrote:

Hi Randy,

> How close would this be to XAML MeshGeometry? i.e.
> 
> <MeshGeometry3D Positions=" x y z, x1 y1 z1, ..."
> TriangularIndices="3 0 4, 0 2 4, 2 0 3, ..."
> />

Very close indeed, asX3D() look like that on output:

<IndexedFaceSet coordIndex='0,1,2,-1,3,5,4,-1,6,8,7,-1,9,11,10'>
 <Coordinate point='-594.01205 -192.53033 401.48173,205.44846 ... />
</IndexedFaceSet>

However with X3D a Face could be something else than a triangle,
a square for example... so coordIndex could be something else than
only triplets 

-- 
Olivier Courtin
Camptocamp France SAS




More information about the postgis-users mailing list