Code Monkey home page Code Monkey logo

virtex's Introduction

virtex's People

Contributors

edsilv avatar juliewinchester avatar ponchio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

virtex's Issues

panning

three touches or right click to pan.

Use grab cursor

On mouse over an object, set the cursor to cursor:grab and cursor:-webkit-grab.

On clicking an object, set the cursor to cursor:grabbing and cursor:-webkit-grabbing.

Unlit materials

investigate applying an unlit material - with the diffuse not being modulated by anything (ie 100% 'emissive')

Configurable initial rotation

Add a config option to set the initial rotation of the camera about the target object.

Perhaps the best approach is to first check which axis is 'up' (#24), then rotate the camera about that axis by whatever the configured radian rotation value is while mainting cameraZ distance (which should be renamed to cameraDistance to be axis agnostic).

Obj file loader

Three.js loads .obj and .mtl files separately.

http://stackoverflow.com/questions/43122400/is-there-a-way-to-load-a-mtl-using-the-path-in-the-obj-file

Is there a way to just use the .obj file to get the .mtl path and have a single file to reference (as required) in a IIIF manifest?

Aframe also specifies separate files: https://aframe.io/docs/master/components/obj-model.html

Related issue exporting diffuse texture from Blender: http://blender.stackexchange.com/questions/76697/cant-get-diffuse-texture-to-be-included-in-mtl-file

Configurable lighting

Lighting values can already by controlled via these config options:

ambientLightColor: 0xd0d0d0,
ambientLightIntensity: 1,
directionalLight1Color: 0xffffff,
directionalLight1Intensity: 0.75,
directionalLight2Color: 0x002958,
directionalLight2Intensity: 0.5

These values could be included in the IIIF manifest to allow per-object customisation.

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.