Skip to content

Dynamic library (DLL, SO etc.) so load, render and process 3D and 2D models like X3D, VRML, glTF

Notifications You must be signed in to change notification settings

castle-engine/castle-library-model-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Dynamic library to load and render 3D and 2D models, like X3D, VRML, glTF

This repository will contain the code of a dynamic library using Castle Game Engine to load and render models in any format supported by Castle Game Engine (like X3D, VRML, glTF).

TODO: For now the code of library is in another repo, and this repository just contains the precompiled library (DLL, SO etc.) made using GitHub Actions.

The library exposes API in plain C (and is thus useful from any programming language), and is available for all platforms supported by Castle Game Engine (Windows, Linux, macOS, iOS...). It is used "in production" by the Room Arranger for the 3D viewer on multiple platforms.

The library allows to load and render models in an application written in any programming language and display the results using any technology. You initialize OpenGL(ES) context on your side, in any way, and then call library routines to render models and interact with them.

Note for Pascal developers: You should not use this library, in short :) Instead use full Castle Game Engine API in Pascal, which is much more powerful (can manage any number of scenes, transformations, creatures, viewports, lights, user interface, physics, sound and more). This library is designed for a more limited purpose: load and render a single model at a time.

Right now the code is part of engine

Right now (TODO) the library code and examples are part of the engine, but we plan to move them here:

About

Dynamic library (DLL, SO etc.) so load, render and process 3D and 2D models like X3D, VRML, glTF

Resources

Stars

Watchers

Forks

Packages

No packages published