Giter Site home page Giter Site logo

Comments (9)

mrdoob avatar mrdoob commented on May 4, 2024

Try detailing what are you doing, with code snippets. Oh, and also try disabling that Advertising that pops on top. I feel discouraged to help anyone that spams me with Ads.

from three.js.

Johannesb avatar Johannesb commented on May 4, 2024

I have edited it.

from three.js.

Johannesb avatar Johannesb commented on May 4, 2024

Have you found an error?

from three.js.

mrdoob avatar mrdoob commented on May 4, 2024

Do you have 2 planes in the same position?

from three.js.

Johannesb avatar Johannesb commented on May 4, 2024

No,

Line 282: plane.position.x = x;
Line 292: plane2.position.x = x+1;

When I enlarge the distance between them, I still have the problem.

from three.js.

 avatar commented on May 4, 2024

Does the semi-transparant plane hover before the image, or is it positioned at the exact same position as the image?
If it is the latter, you should try the hover-option, and make sure that not only the x += 1 but maybe it is in the z direction? (I didn't check your code in-depth)

from three.js.

mrdoob avatar mrdoob commented on May 4, 2024

Doing this will work with WebGL, but the way canvas work is too imprecise and you'll get this kind of artefacts.

As I mention before, the best way to achieve what you're trying to do is with just a single plane and directly modifying the texture that the plane uses when rollovering.

from three.js.

 avatar commented on May 4, 2024

Thanks for that answer mrdoob, I'll keep that in mind for my projects as well.

from three.js.

Johannesb avatar Johannesb commented on May 4, 2024

ok, thanks for your answers.

from three.js.

Related Issues (20)

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.