I downloaded some x3d files from the web to test my
program, I am wondering if they caused the errors
since if I use the test.wrl which comes with Xj3D
LoaderDemo, the error won't occur, but I am not sure
if these x3d files have anything wrong, please have a
look at one of these files as the following.
(Fortunately, the parser didn't refuse to parse these
files )

Thanks!
Mian

box.x3d

 <?xml version="1.0" encoding="UTF-8" ?>
- <X3D>
- <Scene>
  <Viewpoint description="Hello, world" orientation="0
1 0 3.14159" position="0 0 -8" />
  <NavigationInfo type="NONE" />
- <Transform DEF="EarthCoordinateSystem">
- <Group DEF="MiniWorld">
- <Shape>
- <Appearance>
  <ImageTexture url="images/bitmap.jpg" />
  </Appearance>
  <Box />
  </Shape>
  </Group>
  </Transform>
  <TimeSensor DEF="OrbitalTimeInterval"
cycleInterval="12.0" loop="true" />
  <OrientationInterpolator DEF="SpinThoseThings"
key="0.00 0.25 0.50 0.75 1.00" keyValue="0 1 0 0, 0 1
0 1.5708, 0 1 0 3.14159, 0 1 0 4.7123889, 0 1 0
6.2831852" />
  <ROUTE fromNode="OrbitalTimeInterval"
fromField="fraction_changed" toNode="SpinThoseThings"
toField="set_fraction" />
  <ROUTE fromNode="SpinThoseThings"
fromField="value_changed"
toNode="EarthCoordinateSystem" toField="rotation" />
  </Scene>
  </X3D>
--- Justin Couch <[EMAIL PROTECTED]> wrote:
> kindy huang wrote:
> > The code can load vrml/x3d file successfully,
> while it
> > always gives the following output:
> > Error: No profile given. Using Interactive
> >
> > It didn't affect loading, just wondering what it
> > means. can anyone please give some explains?
>
> The X3D specification requires that you provide a
> profile definition.
> I'm not even sure where you are getting that message
> from as I can't see
> where it would be generated in the code. The parser
> should stop, issue
> an error and refuse to parse the file any further.
>
> --
> Justin Couch
> http://www.vlc.com.au/~justin/
> Java Architect & Bit Twiddler
> http://www.yumetech.com/
> Author, Java 3D FAQ Maintainer
> http://www.j3d.org/
>
-------------------------------------------------------------------
> "Humanism is dead. Animals think, feel; so do
> machines now.
> Neither man nor woman is the measure of all things.
> Every organism
> processes data according to its domain, its
> environment; you, with
> all your brains, would be useless in a mouse's
> universe..."
>                                                -
> Greg Bear, Slant
>
-------------------------------------------------------------------
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff JAVA3D-INTEREST".  For
> general help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to