File Formats: Three JS (JSON) (original) (raw)
Three.js is a cross-browser JavaScript library/API used to create and display animated 3D computer graphics in a web browser. Three.js uses WebGL.
Three.js allows the creation of GPU-accelerated 3D animations using the JavaScript language as part of a website without relying on proprietary browser plug-ins.
LEADTOOLS toolkits support Three.js JSON Geometry format 4 or higher.
You can load any of the Three.js files as either vector images or raster images. Users can load a Three.js(JSON) file and save it to any of the file formats supported by LEADTOOLS.
LEADTOOLS supports loading this format as a raster image, vector image, or SVG (Scalable Vector Graphics) document.
This file format is not supported in the Imaging Pro toolkits. Read support for this format is provided in the Document and Medical Imaging toolkits. For a list of products, refer to the Products Overview.
The default extension used by this format is: JSON.
File constants associated with this file format are:
Constant | Read Support | Write Support | Description |
---|---|---|---|
FILE_THREEJS | Yes | Yes | Cross-browser JavaScript library/API for 3D models. |
LEADTOOLS can load the following Three.js geometries:
- Geometry
- BufferGeometry
- BoxGeometry
- PlaneGeometry
- CircleGeometry
- ShapeGeometry
LEADTOOLS can load the following Three.js materials:
- MeshStandardMaterial
- LineBasicMaterial
- LineDashedMaterial
- MultiMaterial
Note that other types of materials will be treated as MeshBasicMaterial.
LEADTOOLS can save the following Three.js objects:
- Line
- Mesh
- Points
LEADTOOLS can save the following Three.js geometries:
- Geometry
- BufferGeometry
- CircleGeometry
LEADTOOLS can save the following Three.js materials:
- LineBasicMaterial
- LineDashedMaterial
Three.js(JSON) files are rasterized at 24 BPP.
Required DLLs and Libraries
- LF3JS
- For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Related Formats
- CGM - Computer Graphics Metafile
- CMX - Corel Presentation Exchange Format
- DGN - Intergraph Format
- DRW - Micrografx Designer DRaWing
- DWF - DWF Format
- DXF - Drawing Interchange Format
- EMF - Windows Metafile Formats
- GBR - Gerber Format
- PCL - Printer Command Language Format
- PCT - Macintosh Pict Format
- PDF - Portable Document Format
- PLT - PLT / HPGL Format
- PS - PostScript Document Format
- RTF - Rich Text Format
- SHP - ESRI Shape Format
- SVG - Scalable Vector Graphics Format
- VEC - LEADTOOLS Vector Dump Format
- VPG - WordPerfect Vector Format
- WMF - Windows Metafile Formats
- WMZ - Compressed Windows Metafile Format
- E00 - ArcInfo Interchange File Format
- MIF - MapInfo Interchange File Format
Platforms
Win32, x64.
See Also
Topics
- Compression Using LEAD and JPEG Formats
- JPEG and LEAD Compressed Formats
- Introduction: Bitmaps in Memory and in Files
LEADTOOLS Raster Imaging C API Help