|
From: Dair G. <da...@re...> - 2004-06-16 01:08:12
|
Keith Wiley wrote: >Some of the other objects in the world are displaying texture >scrolling as well, but yet some other objects aren't. I didn't want >anything to scroll that I don't explicitly designate as such of >course. I can't figure out why some unintended objects and textures >are scrolling while others remain normal. The only place the UV transform is applied is in ir_texture_set_state. We don't reset it back to the identity when a non-textured objet is senn, but whenever a texture is activated it should be set to the current uv transform of the texture shader. This should either be identity or your animating transform, so whenever a texture is active a valid transform should be set as well. I would try hacking in some code to ir_texture_set_state - if you only have one object which is animated then you can test every other texture at that point and make sure that they're always applying an identity matrix. If they're not then you can work backwards to see where there shader got its transform from - perhaps the texture is talking to the wrong shader, so we end up fetching the animating transform for a texture that should be static? -dair ___________________________________________________ mailto:dair+refnum.com http://www.refnum.com/ |