Comments (9)
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.
I have edited it.
from three.js.
Have you found an error?
from three.js.
Do you have 2 planes in the same position?
from three.js.
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.
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.
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.
Thanks for that answer mrdoob, I'll keep that in mind for my projects as well.
from three.js.
ok, thanks for your answers.
from three.js.
Related Issues (20)
- Shadow not updated when object is outside of frustum HOT 15
- Extremely washed out colours when loading any kind of image or canvas as the texture HOT 1
- Unable to resolve Mapcontrols even if it's installed HOT 1
- Getting error : THREE.RGBELoader Read Error: no header found when trying to load a 3mb glb model from AWS twinmaker. HOT 1
- Add OSSF Scorecard security workflow
- Editor - broken TGA support in Map properties of a material HOT 3
- Issue With Import * at THREE from βthreeβ HOT 1
- Different color with/without postprocessing on example HOT 1
- PropertyBinding: Consider keeping fallback to root node HOT 14
- Post-processing will cause an lensflare exception HOT 4
- Spatial Audio not working correctly anymore in AR (nor VR) HOT 2
- Hash-pin workflow Actions
- OutputPass: shader does not compile if renderer.toneMapping is set HOT 3
- Camera rotation not correct in VR HOT 2
- STLLoader: RangeError: Offset is outside the bounds of the DataView HOT 1
- InstancedBufferGeometry._maxInstanceCount preventing instances from being rendered HOT 3
- Trackball controls cannot customise user mouse buttons HOT 2
- Color.setRGB and .setStyle are using different color space than .setHex, .setHSL HOT 4
- BufferGeometryUtils.toCreasedNormals() produces warning for non-indexed geometries HOT 1
- WebGPURenderer depth/stencil buffer duplication/confusion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.js.