Tween from material to material in ThreeJS [closed] - three.js

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there a way to tween materials on a mesh ?
i mean something like:
new TWEEN.Tween (mesh.mat1).to(mesh.mat2).start();
Ive tried somethings but with no succes
Thx for any suggestions

With tween.js you can only tween numbers.

Related

How to render in three.js surfaces double side without nasty side effects [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 10 months ago.
Improve this question
Here is the problems
wireframe
It looks like depth buffer overlap problem. I think your scales are way off, and your depth buffer is not properly utilized. Probably you should focus on scale of your triangles and how far away to put the camera.

Threejs. Dynamically change the alphaTest of the material [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to dynamically change the alphaTest of the material in Threejs?
You can dynamically change alphaTest, but it requires that you also set the needsUpdate flag:
material.alphaTest = 0.5
material.needsUpdate = true;
three.js r.92

Implementing Book Page sliding animation in winrt [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How to implement Book page slide effect / Animation in winrt. Is anyone tried something similar please share the logic or code. Or else anyone guide me to implement the animation in my application.
NB : I need the visual feedback through mouse move. I created the ordinary sliding animation with next / previous button

How can I best animate a 2D sprite in Unity3d? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'd like to animate a 2D sprite in Unity3D. What's the best (least complex) method of doing this?
I have several images that I'd like to cycle through to create the animation. What is the simplest code and setup for this?
There are some scripts in the Unify Community wiki at Animating Tiled texture in javascript and in C#. They are a good starting point. Otherwise you can use the enhanced solution SpriteManager

How can I perform Collision Detection on rotated rectangles? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Okay, I'm trying to write a program that could tell me if any points in a 30x100 rectangle rotated to 140 degrees are inside another 30x100 rectangle rotated to 200 degrees.
Honestly, I don't even know where to start. I thought about re-rotating them before doing normal calculations, but than they still wouldn't match up.
How can I do this?

Resources