To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 9827
9826  |  9828
Subject: 
Re: Lego XML?
Newsgroups: 
lugnet.cad
Date: 
Tue, 29 Apr 2003 23:19:38 GMT
Viewed: 
778 times
  
Gary Thomas wrote:
In lugnet.cad, Kyle McDonald writes:

I know VRML was mentioned earlier, and now XML.

Someone may want to look at X3D (I think that's what it's called.)
It is a newer relative of VRML for 3D graphics done in XML.


Well actually I was thinking more along the lines of describing a model in
terms of it's parts, but not a full 3d description like X3D.  Something like
this (sorry, this looks terrible without a monospaced font):

Looked fine to me. I only use a monospace font. :)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE model SYSTEM "http://brick-xml.sourceforge.net/DTD/brick-xml.dtd">
<model>

  <info creator="Gary Thomas" date="04/02/2002" title="Test MOC">
    Long description, blah blah blah blah.
  </info>

  <part id="3001" color="#FF0000" x="0" y="1" z="3"/>

  <!-- optional transform attribute uses matrix transformation -->
  <part id="3001" color="#FFFF00" x="2" y="1" z="3"  transform="matrix(1 0 0 0
1 0 0 0 1)"/>

  <!-- optional transform shows a rotation about the x axis -->
  <part id="3003" color="#000000" x="1" y="9" z="0" transform="rotate(90,0,0)"/>

  <!-- color uses optional alpha channel -->
  <part id="3005" color="#FFFFFFAA" x="6" y="0" z="0"/>

</model>

So in theory, it's still compatible with ldraw/lgeo parts, etc.


I see. I know nothing about X3D, but I imagined a model
might be something like you describe. However, theoretically
the part files the model referenced could (I think?) be
coded in X3D???

I'll shut up now. My ignorance of XML, VRML, and X3D is
surely showing. :D

-Kyle



  Later,

  Gary


I haven't looked at it myself, but I hear about it all the
time on the Java3D list I'm on.

It might be interesting who knows.

-Kyle




--
                                    _
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald                 (o o)         Systems Support Engineer
Sun Microsystems Inc.            |||||
Enterprise Server Products                        Kyle.McDonald@Sun.COM
1 Network Drive BUR03-4630       \\\//          voice:   (781) 442-2184
Burlington, MA 01803             (o o)            fax:   (781) 442-1542
-------------------------------ooO(_)Ooo-------------------------------



Message is in Reply To:
  Re: Lego XML?
 
(...) Well actually I was thinking more along the lines of describing a model in terms of it's parts, but not a full 3d description like X3D. Something like this (sorry, this looks terrible without a monospaced font): <?xml version="1.0" (...) (21 years ago, 29-Apr-03, to lugnet.cad)

16 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR