Texture (change) related to angle

Hi, I got a question about switching textures automatically. What I would like is that when the angle is 90 degrees* use texture 1, if 180 degrees use texture 2… etc.

Why? I’m making an (gif) animation with blender and are using old dune 2000 graphics.

Is it possible what I want? thanks for reading

//*degree of the plane

sorry not following can you give some more pic example of what you mean here
then might better undersand what you need to do !

happy 2.5

Thank you for replying. I got textures from an old game (Dune 2000) that uses orthographic view.

Texture:

And now I would like to put the textures on a plane in Blender and let it automatically change the images depending on angle/degree of the plane (in comparison with the camera). This way I can make an animation or perhaps even a game. :slight_smile:

sorry but can you ake the pic a llttle bigger very difficutl to see on HD screen!

but how is the texture made function of the angle ?

happy 2.5

What I want is this:

if rotation of plane 01 = 0 degrees -> texture 01
if rotation of plane 01 = 90 degree -> texture 02
if rotation of plane 01 = 180 degree -> texture 03
etc.

How to do this in Blender? Is this possible? Or do I need python?

yes python can do that !
still wondering if there is another way with texture !

i assume your talking like rotation around Z axis or one of the main global axis here !

and are you talking about a real simple plane object or some faces on one object here ?

happy 2.5

yes, just the z axis. if I do it with python, how to make sure it does it for each frame? perhaps I should move this topic to python forum

do you might have python example code? example code with changing texture and reading global axis info and reading frames?

//for blender 2.5 that is

sorry you should open a new thread in python forum
and ask for some basic texture rotation with frame animation
but give a good description

also do you use UV mapping with umage or procedural textures?

and rotation can be done with an Empty or with nodes so not certain which one would be best for you here!

happy 2.5