| ARToolKit | Mailing List Archive |
|
| From: | Philip Lamb <phil@e ..........> | Received: | Aug 5, 2005 |
| To | Friedbert Schulze <info@f ..................> | ||
| Subject: | Re: VRML Text Node and IndexLineSet Node | ||
Just change "convex" to "ccw" in your models and they will load. This is a syntax problem with OpenVRML 0.14.3 I believe. Regards, Phil. On 05/08/2005, at 8:12 AM, Friedbert Schulze wrote: > Your Version of OpenVrml doesent make use of the VRML Text Node. > > Here follows some code which functions in my artoolkit version: > convex FALSE (or) TRUE -> artolkit will not load an Object with > the field convex. |
|||
| From: | <jpsmlgprt-artoolkit@y ...........> | Received: | Aug 5, 2005 |
| To | artoolkit@h .................. | ||
| Subject: | VRML Text Node and IndexLineSet Node | ||
Hi, I'm having some trouble when I load into ARToolKit VRML objects that contains the Nodes: Text and IndexLineSet. The IndexLineSet Node appears in black and white, and the Text Node simply doesn't appear. Is this ok? I'm using ARToolKit 2.70.1 with OpenVRML 0.14.3, Windows. João Paulo Silva do Monte Lima GPRT - Grupo de Pesquisa em Redes e Telecomunicações _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |
|||
| From: | Friedbert Schulze <info@f ..................> | Received: | Aug 5, 2005 |
| To | artoolkit@h .................. | ||
| Subject: | Re: VRML Text Node and IndexLineSet Node | ||
Your Version of OpenVrml doesent make use of the VRML Text Node.
Here follows some code which functions in my artoolkit version:
convex FALSE (or) TRUE -> artolkit will not load an Object with
the field convex.
-----------------------
Shape
{
appearance Appearance
{
material DEF lambert1_0 Material
{
diffuseColor .2 .2 1
specularColor 0.000000 0.000000 0.000000
emissiveColor 0.000000 0.000000 0.000000
shininess 0.000000
transparency 0.000000
}
}
}
Shape
{
geometry DEF loftedSurface1_0Geo IndexedLineSet
{
#convex FALSE
#solid FALSE
coord DEF loftedSurface1GeoPoints Coordinate
{
point [
0.0000 0.1142 -0.0100,
-0.0000 0.0134 -0.0010,
-0.0000 1.7451 -1.0000,
-0.0001 0.1142 0.0099,
-0.1362 1.7451 0.9903,
-0.1130 1.2711 0.8217,
...
...
0.1167 -0.0123 -0.4163,
0.0003 0.0134 -0.0010
]
}
coordIndex [
396 1 574 573 -1,
110 2 299 298 -1,
154 4 156 155 -1,
84 5 86 85 -1,
...
...
573 572 569 570 -1,
574 571 572 573 -1
]
}
}
DEF loftedSurface1 Transform
{
translation 0.000000 0.000000 0.000000
rotation 0.000000 0.000000 0.000000 0.000000
scale 1.000000 1.000000 1.000000
scaleOrientation 0.0 0.0 1.0 0.0
children Shape
{
appearance Appearance
{
material USE lambert1_0
}
geometry USE loftedSurface1_0Geo
}
}
----------------------------------------------
This gives a blue Wireframe Cup.
best whishes
Friedbert Schulze
________________________
Friedbert Schulze
Am Heckenbrink 2
37671 H=F6xter
05278 952495 tel
0172 16 26 46 5 mobil
info@f ..................
|
|||