File Formats: Three JS (JSON)

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 plugins.

LEADTOOLS supports 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.

The following list indicates which Three.js objects LEAD can load:

The following list indicates which Three.js geometries LEAD can load:

The following list indicates which Three.js materials LEAD can load:

Note that other types of materials will be treated as MeshBasicMaterial.

The following list indicates which Three.js objects LEAD can save:

The following list indicates which Three.js geometries LEAD can save:

The following list indicates which Three.js materials LEAD can save:

When Three.js(JSON) files are rasterized, they are 24 BPP.

Required DLL: Leadtools.Vector.dll and Leadtools.Codecs.3js.dll. 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, WPG - WordPerfect Vector Format, WMF - Windows Metafile Formats, WMZ - Compressed Windows Metafile Format, E00 - ArcInfo Interchange File Format, MIF - MapInfo Interchange File Format.

Platform Support

Extension Module Value Win32 Win64 Net32 Net64 Linux Android Apple UWP MimeType Friendly Name
ThreeJS JSON 399 application/json 3JS - Three.js 3D model JSON Geometry Format

For a complete list for supported file formats, see Summary of All Supported File Formats.

For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.

Help Version 21.0.2021.11.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.