Page 1 of 1

How do I rotate a texture from 180 degrees ?

Posted: 19.02.2004, 04:20
by Cham
I want to use a 8k mars texture which is 180 degrees rotated. In my alt texture code :

AltSurface "Mars 5" "Sol/Mars"
{
Texture "redmars8k-bmp-um-redcorr.dds"
}

what line should I add to rotate it of 180 degrees ?

Posted: 19.02.2004, 21:01
by JackHiggins
Add the line

Code: Select all

Orientation [ 180 0 1 0 ]

under texture, and above the final "}" :)

Posted: 19.02.2004, 22:54
by Cham
It didn't worked !

I wrote this code :

AltSurface "Mars 5" "Sol/Mars"
{
Texture "redmars8k-bmp-um-redcorr.dds"
Orientation [ 180 0 1 0 ]
}

Well, the texture is still in a wrong orientation.

Posted: 19.02.2004, 23:09
by JackHiggins
Hm...

Not sure so.. Perhaps Grant can see what's wrong?

Posted: 19.02.2004, 23:23
by granthutchison
Orientation affects the model, not the texture, so I would have been surprised to see it work in AltSurface.
If you can open the dds in an image editor, Cham, you need to offset it sideways by half its own width.

Grant

Posted: 19.02.2004, 23:27
by Cham
How can I open a dds file on a Mac ?

I didn't found any plugin for Photoshop, Mac version.

Posted: 20.02.2004, 00:10
by JackHiggins
grant wrote:Orientation affects the model, not the texture, so I would have been surprised to see it work in AltSurface.

Whoops... :oops: Sorry about that Cham!