Difference between revisions of "XB PointStream/specs"

From CDOT Wiki
Jump to: navigation, search
Line 6: Line 6:
 
# Needs to support some of the following HTML parameters:
 
# Needs to support some of the following HTML parameters:
 
(This still needs to be discussed)
 
(This still needs to be discussed)
*DataURL
+
 
 
*FrontImageURL
 
*FrontImageURL
*FrameImageURL
+
*FrameImageURL (what is this?)
 
*BackgroundImageURL
 
*BackgroundImageURL
*DataEmbedded
+
*DataEmbedded (?)
 
*BackgroundImageAsTile
 
*BackgroundImageAsTile
 
*PixelSize
 
*PixelSize
*CameraMode
+
 
*CameraPosition
+
*ShadowOn
*MouseMode
+
*EnableAntialiasing
 +
*AnimationPathURL
 
*ZoomingLevel
 
*ZoomingLevel
 
*PlayerBkColor
 
*PlayerBkColor
 
*BoundingBoxRatio
 
*BoundingBoxRatio
*EnableBkTransparency
 
 
*ImageRenderingQuality
 
*ImageRenderingQuality
 
*StereoOn
 
*StereoOn
*EnableBackfaceCull
+
 
 +
*DataURL (RC)
 +
*CameraMode (RC)
 +
*CameraPosition (RC)
 +
*MouseMode (RC)
 +
*EnableBkTransparency (RC)
 +
*TransparencyOn (RC)
 +
*EnableBackfaceCull (RC)
 +
 
 +
(RC)
 
*Light1On
 
*Light1On
 
*Light1CoordSys
 
*Light1CoordSys
Line 33: Line 42:
 
*Light1SpecularColor
 
*Light1SpecularColor
 
*Light1SpecularIntensity
 
*Light1SpecularIntensity
 +
 +
(RC)
 
*MaterialLightOn
 
*MaterialLightOn
 
*MaterialShininess
 
*MaterialShininess
Line 38: Line 49:
 
*MaterialDiffuseColor
 
*MaterialDiffuseColor
 
*MaterialSpecularColor
 
*MaterialSpecularColor
*ShadowOn
 
*TransparencyOn
 
*EnableAntialiasing
 
*AnimationPathURL
 
  
 
To discuss:
 
To discuss:
 
* What file formats should be supported? ASC, PSI, DAE, ZAE, ...
 
* What file formats should be supported? ASC, PSI, DAE, ZAE, ...
 
*
 
*
 
 
  
 
--------
 
--------
  
 
''' RC specs'''<br />
 
''' RC specs'''<br />
 +
 
''' Rendering'''
 
''' Rendering'''
 
* Draw set of points
 
* Draw set of points
 
* Get FPS
 
* Get FPS
* Set background color
+
* Set background color(+alpha 0-1)
 +
* Set point cloud transparency (0-1)
 +
* Toggle backface culling
  
 
'''Lighting'''
 
'''Lighting'''
Line 62: Line 70:
  
 
'''File'''
 
'''File'''
* Open PSI file
+
* Open PSI file (Data URL)
 
* Toggle streaming
 
* Toggle streaming
 
* Get file progress
 
* Get file progress

Revision as of 14:30, 18 June 2010

XB PointStream must be a general purpose tool for rendering 3D images composed of
point cloud data any WebGL browser.

  1. Needs to render a 3D image quickly in any WebGL browser
  2. Must support camera manipulation
  3. Needs to support some of the following HTML parameters:

(This still needs to be discussed)

  • FrontImageURL
  • FrameImageURL (what is this?)
  • BackgroundImageURL
  • DataEmbedded (?)
  • BackgroundImageAsTile
  • PixelSize
  • ShadowOn
  • EnableAntialiasing
  • AnimationPathURL
  • ZoomingLevel
  • PlayerBkColor
  • BoundingBoxRatio
  • ImageRenderingQuality
  • StereoOn
  • DataURL (RC)
  • CameraMode (RC)
  • CameraPosition (RC)
  • MouseMode (RC)
  • EnableBkTransparency (RC)
  • TransparencyOn (RC)
  • EnableBackfaceCull (RC)

(RC)

  • Light1On
  • Light1CoordSys
  • Light1Azimuth
  • Light1Elevation
  • Light1AmbientColor
  • Light1AmbientIntensity
  • Light1DiffuseColor
  • Light1DiffuseIntensity
  • Light1SpecularColor
  • Light1SpecularIntensity

(RC)

  • MaterialLightOn
  • MaterialShininess
  • MaterialAmbientColor
  • MaterialDiffuseColor
  • MaterialSpecularColor

To discuss:

  • What file formats should be supported? ASC, PSI, DAE, ZAE, ...

RC specs

Rendering

  • Draw set of points
  • Get FPS
  • Set background color(+alpha 0-1)
  • Set point cloud transparency (0-1)
  • Toggle backface culling

Lighting

  • Set material
  • Set Light

File

  • Open PSI file (Data URL)
  • Toggle streaming
  • Get file progress

Transformation

  • Set rotation
  • Set translation
  • Set scale

View

  • Set canvas size
  • Set projection(perspective, ortho, user)
  • Set camera
  • Switch between cameras
  • Fit object to viewport

Input

  • Mouse wheel
  • Mouse cursor
  • Keyboard

Misc

  • Take screenshot

?

  • User-defined shaders
  • LOD (if 1/2 million points render fine on MBP, do we need this?)