taribo
22-11-2006 23:32:15
I've a problem with 3ds, I've to import a vrml scene but the imported geometry is wrong
- this is a polygon that i've to import:
- this is the polygon imported in 3ds:
- this is the vrml code:
#VRML V2.0 utf8
DEF F1L8 Shape {
#appearance Appearance{texture ImageTexture {url "pillar.jpg"},material Material{transparency IS transparencyVal}}
appearance Appearance{texture ImageTexture {url "..\..\Images\wall.jpg"}}
geometry IndexedFaceSet
{
coord Coordinate
{
point
[
-51.44 3.29 43.625
-51.44 0 43.625
-51.44 2.15 42.625
-51.44 0 42.625
-51.44 2.15 41.295
-51.44 0 41.295
-51.44 2.15 39.165
-51.44 0 39.165
-51.44 2.15 37.835
-51.44 0 37.835
-51.44 3.29 36.835
-51.44 0 36.835
]
}
coordIndex
[
# extra walls
0 1 3 2 4 5 7 6 8 9 11 10 -1,
]
solid TRUE
}
}
As you can see in the vrml code is a polygon with 12 vertex but in 3ds is wrong.
thank you for help
- this is a polygon that i've to import:
- this is the polygon imported in 3ds:
- this is the vrml code:
#VRML V2.0 utf8
DEF F1L8 Shape {
#appearance Appearance{texture ImageTexture {url "pillar.jpg"},material Material{transparency IS transparencyVal}}
appearance Appearance{texture ImageTexture {url "..\..\Images\wall.jpg"}}
geometry IndexedFaceSet
{
coord Coordinate
{
point
[
-51.44 3.29 43.625
-51.44 0 43.625
-51.44 2.15 42.625
-51.44 0 42.625
-51.44 2.15 41.295
-51.44 0 41.295
-51.44 2.15 39.165
-51.44 0 39.165
-51.44 2.15 37.835
-51.44 0 37.835
-51.44 3.29 36.835
-51.44 0 36.835
]
}
coordIndex
[
# extra walls
0 1 3 2 4 5 7 6 8 9 11 10 -1,
]
solid TRUE
}
}
As you can see in the vrml code is a polygon with 12 vertex but in 3ds is wrong.
thank you for help