Morphing textures
How to morph texture from one to second in real time - on real model? Is there any fine tutorial?
Well - it depends on what you mean by ''morphing'' the texture... If you just want the texture to fade from one to another then that''s easy! 
You have to render your 3d model twice, once with the second texture, then after that you render it again with the first texture at full opacity. Over time you slowly decrease the opacity of the first texture which will expose the 2nd texture
Obviously this could be optimised to be done in a single pass using multitexturing...
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------

You have to render your 3d model twice, once with the second texture, then after that you render it again with the first texture at full opacity. Over time you slowly decrease the opacity of the first texture which will expose the 2nd texture

Obviously this could be optimised to be done in a single pass using multitexturing...
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
It means to interpolate from one to another texture, from one picture to another picture, and so long.
2D interpolation of textures == fading textures. It is very easy and fast, esp. when using multitexturing, and an extended combiner equation, such as EXT_texture_env_combine.
If you want real morphing, then you need image warping techniques, and that''s more complicated, and won''t work on a 3D model. But if you simply want to 3D morph your model and want your texture to adapt at the same time, it''s easy. Just interpolate the 3D vertices and fade the texture using the same interpolation factor.
If you want real morphing, then you need image warping techniques, and that''s more complicated, and won''t work on a 3D model. But if you simply want to 3D morph your model and want your texture to adapt at the same time, it''s easy. Just interpolate the 3D vertices and fade the texture using the same interpolation factor.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement