Thanks very much.I'm trying to compile other OpenVRML into this ARToolKit . but if I want to use OpenVRML0.16.6,I would use which tool to export my .wrl file with cartoon.
At 2010-10-23 12:32:27,"Braden McDaniel" <br...@en...> wrote:
>On Fri, 2010-10-22 at 18:30 +0800, stone wrote:
>> In the .wrl file,
>> #VRML V2.0 utf8
>> # Produced by 3D Studio MAX VRML97 exporter, Version 9, Revision 1
>> # Date: Fri Oct 22 17:40:01 2010
>> DEF Teapot01 Transform {
>> translation 0.05427 0 0.2242
>> children [
>> DEF Teapot01-TIMER TimeSensor { loop TRUE cycleInterval 3.333 },
>> DEF Teapot01-ROT-INTERP OrientationInterpolator {
>> ......
>>
>> ROUTE Teapot01-TIMER.fraction_changed TO Teapot01-ROT-INTERP.set_fraction
>> ROUTE Teapot01-ROT-INTERP.value_changed TO Teapot01.set_rotation
>> }
>> Error is the last line :ROUTE Teapot01-ROT-INTERP.value_changed TO Teapot01.set_rotation
>> The .wrl file is exported by 3d max 9.
>
>The problem is that OpenVRML 0.16.x's parser doesn't make the DEF name
>available for usage in a ROUTE until the end of the node body. In your
>file, the problem ROUTE occurs inside the body of the node Teapot01.
>
>I tried your file in trunk OpenVRML and it works there. I suspect this
>got fixed in 0.17.0 when the Antlr-based parser was replaced with the
>current Spirit-based one.
>
>--
>Braden McDaniel <br...@en...>
>
>
>------------------------------------------------------------------------------
>Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
>$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>http://p.sf.net/sfu/nokia-dev2dev
>_______________________________________________
>openvrml-develop mailing list
>ope...@li...
>https://lists.sourceforge.net/lists/listinfo/openvrml-develop
|