Difference between revisions of "X3D Python Language Binding"

From Web3D.org
Jump to: navigation, search
(Deliverables)
(Deliverables)
Line 34: Line 34:
  
 
* Validation by compilation
 
* Validation by compilation
** are special tests needed, written in Pyton, to test program validity?
+
** are special tests needed, written in Python, to test program validity?
 
** Compatible with X3D Unified Object Model (X3DUOM)
 
** Compatible with X3D Unified Object Model (X3DUOM)
  
 
* Plan of Action Milestones (POAM)
 
* Plan of Action Milestones (POAM)

Revision as of 15:55, 20 July 2018

Motivation

Why:

  • multiple language bindings provide equivalent implementations of X3D Scene Access Interface (SAI) Specification, which in turn accesses the X3D Architecture Specification
  • Python is widely used, so many tools and applications might then easily create/use/produce X3D
  • We are not afraid of programming languages that depend on whitespace!

The X3D Specification Relationships diagram shows how the various programming-language bindings and file encodings are related.

Resources

  • Python script interfaces
    • H3D
    • Blender has an independent interface

John Carlson has produced

Deliverables

  • Draft 19777-6 specification added in GitHub
    • Follow examples of other X3D language bindings
    • Reach proof-of-capability initial draft
    • New Work Item Proposal (NWIP) by Web3D Consortium for ISO
  • Example scenes
    • Test scenes to demonstrate design patterns
  • Implementations
    • Conversion stylesheet, X3dToPython.xslt
    • PyJnius cross-compilation conversion of X3DJSAIL java classes
    • Possibly another library, X3DPSAIL perhaps?
  • Validation by compilation
    • are special tests needed, written in Python, to test program validity?
    • Compatible with X3D Unified Object Model (X3DUOM)
  • Plan of Action Milestones (POAM)