GithubHelp home page GithubHelp logo

markcwm / assimp.mod Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bmx-ng/b3d.mod

1.0 2.0 0.0 34.02 MB

Assimp library wrapper for OpenB3D

BlitzMax 1.04% C++ 59.76% C 8.43% HTML 0.30% CMake 0.41% UnrealScript 0.01% ShaderLab 0.01% COBOL 29.98% Rich Text Format 0.06%

assimp.mod's Introduction

Assimp.Assimp

Assimp (Open Asset Import)

Assimp 3.2 library wrapper for OpenB3D.

Assimp source is included with this module and Boost is required, specifically BaH.Boost. There is a Boost workaround option which can be enabled in assimplib.bmx (and then comment the boost imports in source.bmx) but this is not recommended as it lacks threads and is not threadsafe (can not be access by more than one thread at a time). To enable a specific importer or post processing step, comment out the define in assimplib.bmx, then uncomment the imports in source.bmx.

The wrapper imports the C++ source and load meshes from streams either incbin or zip, so for unzip functionality Koriolis.Zipstream is required. The module works in 32 and 64-bit but animations are not implemented.

Installation

  • Copy assimp.mod to your BlitzMax/mod folder, module folder names must end in .mod
  • If Windows, make sure you have a working version of MinGW. If Mac, make sure you have XCode installed. If Linux, have a look at this guide: How To: Install BlitzMax NG on Win/Mac/Ubuntu 64-bit
  • Open a Terminal, cd to BlitzMax/bin and for BRL Bmx type bmk makemods -d assimp.assimp
  • For NG in 64-bit use bmk makemods -d -w -g x64 assimp.assimp, if on Mac/Linux use ./bmk

License

Both the library and wrapper are licensed with the 3-clause BSD license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.