You are here: AGGeom » JavaView » JVGettingStarted

JVGettingStarted

((short description what this page is about))

Running JavaView

((content))

Running JavaView in Batch Mode

Since JavaView v3.89.004 (available at http://www.javaview.de/download/beta) JavaView provides a batch mode. Currently the batch mode allows to use JavaView as a filter (optionally without display)
  • geometry file format converter
  • image producer from geometry

JavaView recognizes the following new command line parameters:
  • geometryFile.ext: A geometry file with extension (jvx,byu,off,obj,wrl,mpl,mgs,...)
  • mode=batch: Prevent JavaView from launching a display.
  • exportModel=myFile.ext: Provide a single geometry file (jvx,byu,off,obj,wrl,mpl,mgs,...)
  • exportImage=myImage.ext: Provide a single image file (eps,ps,gif,ppm).
  • displayFile=myCamera.jvd: Optionally provide a display configuration file.

The parameters exportModel and exportImage may appear simultaneously or individually. The export filter functionality may be used with the standard JavaView, i.e. JavaView is launched but also provides the file conversion or rendering. All other command line parameters (respectively applet parameters) are still allowed. For a list of parameters, see www.javaview.de/doc/userManual/appletParm.html.

Examples:
 
# Only file conversion and rendering, no JavaView window will appear.
javaview myShape.jvx mode=batch exportModel=myShape.obj

# Only file conversion and rendering, no JavaView window will appear.
javaview myShape.jvx mode=batch exportImage=myShape.eps

# Only file conversion and rendering, no JavaView window will appear.
javaview myShape.jvx displayFile=myShape.jvd mode=batch exportModel=myShape.wrl exportImage=myShape.eps

# JavaView is launched, and file conversion.
javaview myShape.jvx exportModel=myShape.wrl

Comments

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback