Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/magicien/mmdscenekit

SceneKit expansion for MikuMikuDance
https://github.com/magicien/mmdscenekit

mikumikudance mmd mmdscenekit scenekit scenekit-framework swift

Last synced: 2 days ago
JSON representation

SceneKit expansion for MikuMikuDance

Awesome Lists containing this project

README

        

# MMDSceneKit
SceneKit expansion for MikuMikuDance

![ScreenShot](https://github.com/magicien/MMDSceneKit/blob/master/screenshot.png)

## Install

### Using [CocoaPods](https://cocoapods.org/)

Add the following to your [Podfile](http://guides.cocoapods.org/using/the-podfile.html):

```rb
pod 'MMDSceneKit'
```

### Manually

Download **MMDSceneKit_vX.X.X.zip** from [Releases](https://github.com/magicien/MMDSceneKit/releases/latest).

## Usage

### Swift
```
import MMDSceneKit

guard let sceneSource = MMDSceneSource(named: "art.scnassets/projectFile.pmm") else { return }
var scene = sceneSource.getScene()
```

### Objective-C
```
@import MMDSceneKit;

MMDSceneSource *source = [[MMDSceneSource alloc] initWithNamed:@"art.scnassets/projectFile.pmm" options:nil models:nil];
SCNScene *scene = [source getScene];
```

### See Also

[MikuMikuDanceQuickLook](https://github.com/magicien/MikuMikuDanceQuickLook) - macOS QuickLook plugin for MikuMikuDance files