rotate texture

rotate texture

Re: rotate texture Posted by vk_phoenixfr on Thu Jan 6th 2005 at 10:01am
vk_phoenixfr
3 posts
Posted 2005-01-06 10:01am
3 posts 0 snarkmarks Registered: Dec 7th 2004 Occupation: IT engineer Location: France
Hi !

I don't know if i'm in the right place to post this, but i'll give it a try.

I have a texture, quad, displayed perfectly in game as a hud element (CHudTexture for coding).

My problem is I want to be able to display it rotated, and the angle of
rotation changes during game. I didn't find in the code a way to do
this. I looked in isurface.h, iimage.h, hud.h...

Anyone has an idea?
Re: rotate texture Posted by Stadric on Mon Jun 6th 2005 at 12:41am
Stadric
848 posts
Posted 2005-06-06 12:41am
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
For rotating in hammer, use the texture lock button and rotate it with transform(Ctrl-M(I think))

For rotating in-game, just use the brush-entity func_rotating or the point-entity phys_motor
Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying
Re: rotate texture Posted by French Toast on Mon Jun 6th 2005 at 2:43am
French Toast
3043 posts
Posted 2005-06-06 2:43am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
This is from January 6th, I have a feeling he's forgotten about
it. I also don't think you answered his age old question.
He wanted to rotate his hud, not a texture ona wall or something like
that.