hemanthrajv / flutter_3d_obj

Renders a wavefront .obj on to a canvas.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_3d_obj

A flutter package to render wavefront obj files on a canvas.

Usage

To use this package, add flutter_3d_obj to your pubspec.yaml file. Then import the package to use it.

Example Usage

The following example basic usage of package.

...
child: new Object3D(size:'/size of canvas/',
                    path:'/path of file/',
                    asset: true'/set true to load file from assets/'),
...

If SD-card path provided, ensure SD-card permissions are available.

Example

To run the example.

* git clone https://github.com/hemanthrajv/flutter_3d_obj.git
* cd /path to cloned dir/
* cd example
* flutter run

Screenshot:

Failed to load Screenshot

Built With

  • Flutter - A framework for building crossplatform mobile applications with native look and feel.

Author

Hemanth Raj StackOverflow

Getting Started

For help getting started with Flutter, view online documentation.

About

Renders a wavefront .obj on to a canvas.

License:BSD 2-Clause "Simplified" License


Languages

Language:Dart 82.5%Language:Objective-C 10.1%Language:Java 7.4%