Giter VIP home page Giter VIP logo

jpct_demo's Introduction

JPCT_demo

This is a class project of CMPS 260 directed by James Davis at UCSC.

Project name

A well documented face model render app on Android platform

Features

  1. The serialized object is loaded instead of obj and mtl files for speed up (about 20X speed-up in a google pixel)
  2. The model is rotated when people rotate their mobile phone
  3. The light position is moved according to the touch position
  4. People can select the models and their texture maps and load them.
  5. The light intensity and the background brightness can be changed
  6. People can create gif images using this app
  7. The program is well documented

Demo Vedio

Libraries Used

JPCT-ae for object loading

Standalone Animated GIF Writer for gif creation

How to use

  1. Install Android Studio on your computer

  2. Download this project, and open it with Android Studio.

  3. Create a folder named My_JPCT on your phone. Its directory should be:

    /storage/emulated/0/My_JPCT

  4. Then copy the files under JPCT_Demo_Showcase_File to the My_JPCT folder. (From PC to your mobile phone) You can find the JPCT_Demo_Showcase_File folder under the home directory of this project.

    Note that these are just serialized models and texture maps. You can also serialize your own model and put it together with your texture map into the My_JPCT folder on your phone.

    Please also be careful if you are going to use your own model, you should load your model use software such as blender first and see if its center is at the corrdinate origin. Otherwise, you may not see your model on the phone screen even if you successfully load it. To serialize your model, please refer to this: How_To_Serialize_Model

Things to be done

  • Simply the comments

Notice

This app has only been tested on a google pixel phone! However, if your phone support the TYPE_GAME_ROTATION_VECTOR sensor, I think this app will run properly on it.

Contact

Please contact me if you meet any difficulties when comprehending this app via email:

image

jpct_demo's People

Contributors

pren1 avatar

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.