Skip to content
nixzPublic

About

implementation of x3d specification with cl-opengl (using opengles 2.0 API)

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cl-3d (Rendering X3D in Common Lisp)

  • This work is ongoing and not yet ready for production. My goal is to develop a scenegraph in common-lisp based on the X3D specification. Currently I autogenerate an X3D (XML) parser from one of my other projects called cl-3d-creator.
  • The autogenerator simply reads X3D’s schema definitions and generates a parser based on XMlisp to read XML directly into lisp objects. The idea is to autogenerate as much as the boiler plate code as possible and fill in the rest of the stuff manually.
  • Ideally I would like to keep the manual code as minimal and as organized as possible in order to enable me to make sweeping designing changes if needed. However the first priority is to get things working and worry about organization at a later stage.
  • My plan for now is to execute the project in two phases i.e create first optimize second. Phase II (optimization) starts midway of Phase I (creation) and we will slowly and smoothly transistion to more optimized implementation.

Phase I (Create)

All boiler plate code should be generated. Use opengl 1.1 or whatever is fastest to just make things work. This from a user perspective should be reasonably complete with basic rendering and interaction facilities working (non optimized).

This will be test driven development and the goal will be make the tests work. Our tests are basically X3D scripts taken from the following site.

http://x3dgraphics.com/examples/X3dForWebAuthors/

[*] 1. Basic

make XMLisp accessable with asdf

Parse X3d using xmlisp

Implement run method and basic windowing

Implement GLUT windowing mechanism as scene

Add NOTICE.txt

Implement NavigationInfo

Try using the x3dForWebAuthors examples as-is

  • The examples are in X3D.
  • Figure out a way to directly load XML files.
  • This will bring down the development time since we will have all the examples already present and will help getting rid of the boilerplate code in examples.

[*] 2. GeometricPrimitives

Box.lisp example

Cone.lisp

Cylinder.lisp

GeometryPrimitiveNodes.lisp

GeometryPrimitiveNodesWhiteBackground.lisp

Sphere.lisp

Text.lisp

TextLengthMaxExtent.lisp

TextSpecialCharacters.lisp

3. Grouping

4. Viewing Navigation

5. Appearence Material Textures

6. Geometry Points Lines and Polygons

7. Event Animation Interpolation

8. Interactivity

9. Event Utilities Scripting

10. Geometry 2D

11. Lighting Environment Effects

12. Environment Sensor Sound

13. Geometry Triangles Quadrilaterals.

14. Prototypes

15. MetaData

Phase II (Optimize)

General notes and ideas

About

implementation of x3d specification with cl-opengl (using opengles 2.0 API)

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages