Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
/assimp2jsonPublic archive
forked fromacgessler/assimp2json

JSON exporter for Open Asset Import Library to make 3D models accessible from JS/WebGl

License

NotificationsYou must be signed in to change notification settings

assimp/assimp2json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON exporter for Open Asset Import Library

Convert files in 40+ 3D file formats, includingCollada, 3DS, OBJ, LWO, FBX, Blender, X, STL, PLY, MS3D, B3D, MD3, MDL, DXF andIFC to plainjson.

Download Windows binaries here. (v2.0, October 2013)

quak

Introduction

assimp2json is a command line tool designed to expose the import capabilities ofassimp, theOpen Asset Import Library to WebGl developers. The tool takes a single 3d model as input file, imports it usingassimp and converts the result tojson.

assimp2json is platform-independent, its only dependency isassimp itself.

Output Format

The output format is a one-by-one translation ofAssimp's C datastructure , with a few changes to make the resultingjson look more natural. All fields are lower-case and the prefixes (such as m, pc, ..) are omitted. Array lengths are not written as this information is implicitly given. Empty arrays are not written at all, i.e. a node without children doesn't have an emptychildren:[] field.

The/samples folder contains some samplejson files.

Build

The build system for assimp2json is CMake. To build, use either the CMake GUI or the CMake command line utility.Note: make sure you pulled theassimp submodule, i.e. withgit submodule init && git submodule update

Usage

$ assimp2json [flags] input_file [output_file]

(omit theoutput_file argument to get thejson string on stdout)

Invokeassimp2json with no arguments for detailed information.

About

JSON exporter for Open Asset Import Library to make 3D models accessible from JS/WebGl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++86.8%
  • C13.2%

[8]ページ先頭

©2009-2025 Movatter.jp