Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Texture Rotation of Treads (Tank-Tracks)
Texture Rotation of Treads (Tank-Tracks) [message #325945] Fri, 11 April 2008 05:45 Go to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
I fixed some old assets for my virtual museum map.

One of my last problems: the floating texture on the tank-tracks (treads). Setting is VPerSec=-6 in stage o mapping.

I w3d-viewer all sems to be correct (moving texture in the right direction of driving).

BUT, ingame the texture is moving in the wrong direction! not in direction of driving, but the tga-map is moving the other axis, so that logos and stuff apear on the tracks.....

[Updated on: Fri, 11 April 2008 12:23]

Report message to a moderator

Re: Texture Rotation of Treads (Tank-Tracks) [message #325952 is a reply to message #325945] Fri, 11 April 2008 09:51 Go to previous messageGo to next message
The Executor is currently offline  The Executor
Messages: 464
Registered: February 2008
Location: Eastern Coast, USA
Karma: 0
Commander
Dosent WW skin have something to do with it?

Imperial Class Super Star Destroyer
http://l.yimg.com/us.yimg.com/i/us/wrlds/strwrs/gr/hdrs/super-star-destroyer-1.jpg

Quote:

"Fear will keep these systems inline, fear of this battle station!"

-Grand Admiral Moff Tarkin



Re: Texture Rotation of Treads (Tank-Tracks) [message #325957 is a reply to message #325952] Fri, 11 April 2008 10:08 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
MSwindows wrote on Fri, 11 April 2008 11:51

Dosent WW skin have something to do with it?


tried the vehicle without it -> seems to be not.
Re: Texture Rotation of Treads (Tank-Tracks) File herewith [message #325962 is a reply to message #325945] Fri, 11 April 2008 12:08 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
See the

TrackUScaleFactor
and
TrackVScaleFactor

LE settings. If its going in the wrong direction then set it to a negative value (or positive if its already negative). This also controls how fast the texture scrolls, so playing with the values can help to make it the right speed for the size of your tracks.


http://steamsignature.com/card/1/76561197975867233.png
Re: Texture Rotation of Treads (Tank-Tracks) File herewith [message #325963 is a reply to message #325962] Fri, 11 April 2008 12:20 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
danpaul88 wrote on Fri, 11 April 2008 14:08

See the

TrackUScaleFactor
and
TrackVScaleFactor

LE settings. If its going in the wrong direction then set it to a negative value (or positive if its already negative). This also controls how fast the texture scrolls, so playing with the values can help to make it the right speed for the size of your tracks.


OMG, it was so simple Sad

THANK YOU!
Re: Texture Rotation of Treads (Tank-Tracks) [message #325964 is a reply to message #325952] Fri, 11 April 2008 12:35 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
MSwindows wrote on Fri, 11 April 2008 11:51

Dosent WW skin have something to do with it?


WWSkin only has to do with "skinning", or vertex morphing for lack of a better term. It doesn't and can't affect texture coordinates.
Re: Texture Rotation of Treads (Tank-Tracks) [message #326038 is a reply to message #325945] Sat, 12 April 2008 13:18 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
doesn't ww skin make it so the wheel bones morph to the terrain and not just a junk of mesh.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Texture Rotation of Treads (Tank-Tracks) [message #326051 is a reply to message #325945] Sat, 12 April 2008 18:48 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
As far as I'm aware it allows you to weld vertexes to bones, so parts of your model stretch in respect to those bones.
Stuff like suspensions, and the bulletbelt on top of the humvee.
Re: Texture Rotation of Treads (Tank-Tracks) [message #326056 is a reply to message #326051] Sat, 12 April 2008 20:53 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Slave wrote on Sat, 12 April 2008 20:48

As far as I'm aware it allows you to weld vertexes to bones, so parts of your model stretch in respect to those bones.
Stuff like suspensions, and the bulletbelt on top of the humvee.


thats what i ment


http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Texture Rotation of Treads (Tank-Tracks) [message #326102 is a reply to message #325964] Sun, 13 April 2008 12:32 Go to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
Saberhawk wrote on Fri, 11 April 2008 14:35



WWSkin only has to do with "skinning", or vertex morphing for lack of a better term. It doesn't and can't affect texture coordinates.

Previous Topic: Code/Source Request Crates
Next Topic: scaling to exact measurements (Renx)
Goto Forum:
  


Current Time: Sun Dec 29 18:56:31 MST 2024

Total time taken to generate the page: 0.01512 seconds