Code Monkey home page Code Monkey logo

reticulum's People

Contributors

lnesi avatar skezo avatar uxvirtual avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reticulum's Issues

Add support for fixing reticle distance

I've noticed that the reticle adjusts its scale and distance depending on how far away gazed objects are. Would it be possible to optionally disable this? In certain use-cases this causes the reticle to disappear inside the gazed object which is confusing for the user. I've found that adjusting this section of code in reticulum.js to disable the distance / scaling changes achieves the desired effect:

if( reticle.active ) {
            //reticle.worldPosition.setFromMatrixPosition( threeObject.matrixWorld );
            //distance = settings.camera.position.distanceTo( reticle.worldPosition );
            //distance -= threeObject.geometry.boundingSphere.radius;
            reticle.hit = true;
            ///reticle.setDepthAndScale( distance );
}

add input modes

Would be nice to be able switch inputs (e.g. mouse, touch, VR).

Uncaught TypeError: Cannot set property 'x' of undefined with latest three.js

See description. Lines 108 - 119 in reticulum.js throw the error. I've also altered line 58 to read as follows to get the rings displaying correctly:

var geometry = new THREE.RingGeometry( this.innerRadius, this.outerRadius, this.thetaSegments, this.phiSegments, this.thetaStart, Math.PI * 2 );

Possible to take a quick look with the recent changes to the engine and ring geometries? Cheers!

Compatibility of code with React Three Fiber

Hi, I was wondering if the codebase could be made compatible with React Three Fiber ?

As React Three Fiber is gaining popularity for 3D rendering in React, it would be great to have this option for this project.

Could we explore the possibility of integrating React Three Fiber into the codebase or making the necessary changes to ensure compatibility?

Thank you for your time and consideration!

Unexpected token export

Hello,

I downloaded the Reticulum-master, and host it on a local server. When I open your examples, I got the following errors:
reticulum.js:549 Uncaught SyntaxError: Unexpected token export
basic.html:135 Uncaught ReferenceError: Reticulum is not defined
at addMesh (basic.html:135)
at basic.html:112

image

Could you help me fix this? Thank you so much!

Should click stop gaze duration...?

Currently it does but does not seem to make much sense to do this. It might be worth adding an option that allows you to stop the fuse if clicked but should be default be independent.

Add support for proximity scale

Currently it only supports the camera's frustum. User should be able to scale the frustum so they can have more control of when the reticle is displayed.

add always on top option

Allow the Reticle to change distance with non-interactive objects too. This would allow the object to always remain visible.

Destroy Reticulum functionality

I need create a toggle for Reticulum, it's possible to destroy the current plugin from threejs and initiate again some moment latter?

Thanks

Android Firefox does not use device orientation

Hi, on my Galaxy S6 with Android / Firefox the device orientation does not work when I open the Reticulum examples. Seems like the gyro is not recognized / disabled or something similar.
In Chrome it works fine.
Thanks for all of your efforts!

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.