ardor3d-openctm

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

GroupId

GroupId

com.github.neothemachine
ArtifactId

ArtifactId

ardor3d-openctm
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

ardor3d-openctm
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Project URL

Project URL

https://github.com/neothemachine/ardor3d-openctm
Source Code Management

Source Code Management

https://github.com/neothemachine/ardor3d-openctm

Download ardor3d-openctm

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.neothemachine/ardor3d-openctm/ -->
<dependency>
    <groupId>com.github.neothemachine</groupId>
    <artifactId>ardor3d-openctm</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.neothemachine/ardor3d-openctm/
implementation 'com.github.neothemachine:ardor3d-openctm:0.1.0'
// https://jarcasting.com/artifacts/com.github.neothemachine/ardor3d-openctm/
implementation ("com.github.neothemachine:ardor3d-openctm:0.1.0")
'com.github.neothemachine:ardor3d-openctm:jar:0.1.0'
<dependency org="com.github.neothemachine" name="ardor3d-openctm" rev="0.1.0">
  <artifact name="ardor3d-openctm" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.neothemachine', module='ardor3d-openctm', version='0.1.0')
)
libraryDependencies += "com.github.neothemachine" % "ardor3d-openctm" % "0.1.0"
[com.github.neothemachine/ardor3d-openctm "0.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.github.danny02 : JOpenCTM jar 1.2
com.ardor3d : ardor3d-core jar 0.8

test (2)

Group / Artifact Type Version
junit : junit jar 4.10
commons-io : commons-io jar 2.4

Project Modules

There are no modules declared in this project.

OpenCTM importer for Ardor3D Build Status

This project uses Daniel Heinrich's JOpenCTM library to read OpenCTM files and use them as meshes in Ardor3D.

It is basically just a single wrapper class. The hard work was done by Daniel Heinrich who ported the OpenCTM reader from C to Java.

Why OpenCTM?

Well, it's damn fast! On my machine it takes ~2-3s to load an 8 MiB Wavefront (.obj) file and ~130ms to load the same mesh as OpenCTM file (3.3 MiB in RAW mode).

How to use

  1. Include the following in your pom:

     <dependency>
     	<groupId>com.github.neothemachine</groupId>
     	<artifactId>ardor3d-openctm</artifactId>
     	<version>0.1.0</version>
     </dependency>
    
  2. Load models as usual:

     Mesh mesh = new OpenCtmImporter().load("...");
     root.attachChild(mesh);
    

Versions

Version
0.1.0