I'm new to threejs and I'm trying to make a simple 3d model. Nevertheless, I've got some transparency / disparition issue since I've started to play with opacity.  the important part of my code, is here:      var cylJaun = new THREE.M...
In html5, when you draw to a canvas using putImageData(), if some of the pixels you are drawing are transparent (or semi-transparent), how do you keep old pixels in the canvas unaffected?  example:  var imgData = context.createImageData(30,30); for(v...
Is there a way to read transparent pixels from a picture using javascript?   I think, that it could be something similar to what PNG fixes does for IE (reading transparent pixels and applying some stuff, lol). But yes, for every browser..  Ah, would...
I got this situation which is hard for me to search on Google and explain.  Our company prints photos on aluminium and we give our customers two choices.   The first choice is to print their pictures on aluminium just like they gave the picture to us...
I have a Pardot (Salesforce) form displayed in an iframe and control over the markup and scripts on both domains.  The form has a transparent background and sometimes the parent page's background photo or color does not have enough contrast with...
Is it possible to create partially transparent elements on the fly in canvas? Currently I'm setting the whole canvas element's opacity in CSS, but I want to some elements to be more visible then others.  Nothing I've found so far indicate...
When I draw a rectangle or other shape on canvas (using kineticJS, creating a new Kinetic.Path), and set fill: none as in the following:  var rect = new Kinetic.Path({             x: 0,             y: 0,             data: 'm 2.0012417,2.0057235 1...
I have two PointCloud objects, each for a specific structure and texture. One should be clickable but not the other. Let's call them P1 and P2, respectively.  P1 is initialized using a THREE.ShaderMaterial as:  var p1Material = new THREE.ShaderMa...
I'm making a rpg map creator in JS/Canvas for fun but I've a problem. I can draw images on my canvas but I can't draw an image with transparency on another image already drawn on the canvas.  I would like the mushroom to be on the grass,...
Task description:  There is an element which contains another element which in its turn contains another element (theoretically there can be a sequence of inner elements). The last element has background set to transparent. The task is that this tran...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.