Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Getting a scrolling texture to follow bends........
Getting a scrolling texture to follow bends........ [message #36325] Mon, 04 August 2003 19:28 Go to next message
maytridy is currently offline  maytridy
Messages: 1371
Registered: February 2003
Location: New York, USA
Karma: 0
General (1 Star)
I have a river that bends and curves, but the water only goes one direction. Causing it to flow the wrong way in some spots, but not others. How can i get the water to flow around bends? (follow the river)

Getting a scrolling texture to follow bends........ [message #36337] Mon, 04 August 2003 19:54 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
You have two options:

A) The simpler, but usually unsatisfactory, option is to use the FACE UVW mapping.

B) Continually apply Edit Mesh modifiers and manually edit the UVW coordinates of the faces that are problematic.


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Getting a scrolling texture to follow bends........ [message #36340] Mon, 04 August 2003 20:00 Go to previous messageGo to next message
maytridy is currently offline  maytridy
Messages: 1371
Registered: February 2003
Location: New York, USA
Karma: 0
General (1 Star)
I don't see what you mean by apply edit mesh modifiers and move the UVW Coordinates. How do I do it?

Getting a scrolling texture to follow bends........ [message #36344] Mon, 04 August 2003 20:03 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
maytridy

I don't see what you mean by apply edit mesh modifiers and move the UVW Coordinates. How do I do it?


Have you tried the Face option first?


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Getting a scrolling texture to follow bends........ [message #36348] Mon, 04 August 2003 20:06 Go to previous messageGo to next message
maytridy is currently offline  maytridy
Messages: 1371
Registered: February 2003
Location: New York, USA
Karma: 0
General (1 Star)
Well, I did, but like you said, I'm having some problems.

Getting a scrolling texture to follow bends........ [message #36369] Mon, 04 August 2003 21:26 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
I'm assuming your mesh has this type of look in the modifier rollout:

UVW Mapping
Editable Mesh

Apply the Edit Mesh modifier, and that way you can select individual faces. Select the face you want to fix, and apply the Unwrap UVW modifier (or another UVW Mapping). Work with the Unwrap modifier and that way you can tweak the flow of the texture.

When you're done with that particular face, apply another Edit Mesh modifier and select another face and repeat the process.

If you do not find the Unwrap UVW modifier intimidating, you could select several faces of your river in the Edit Mesh modifier, but you'll have a lot more to sift through in the Unwrap UVW.

When you're done, your rollout for your river mesh might look like:

Unwrap UVW
Edit Mesh
Unwrap UVW
Edit Mesh
Unwrap UVW
Edit Mesh
UVW Mapping
Editable Mesh

If you think you won't be making any more changes to any the river, try converting the mesh to an editable mesh--that will "compress" all of the modifiers and make them permanent, until you re-apply the modifiers manually.

And drat I think I've forgotten something...oh well. Confused

Oh yeah, as gmax might warn you, the modifiers depend on the order you apply them. Change one of the bottom building blocks you affect the modifier right on top of it. So remember to keep your Edit Mesh modifiers safe and your Unwrap UVW's won't get messed up.

Hope this helps. Very Happy


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Getting a scrolling texture to follow bends........ [message #36372] Mon, 04 August 2003 22:02 Go to previous messageGo to next message
OrcaPilot26 is currently offline  OrcaPilot26
Messages: 394
Registered: February 2003
Karma: 0
Commander
The Unwrap UV modifier is a powerful tool, to have a scrolling texture go around bends do the following:

1.Apply the Unwrap UV modifier to the mesh.

2.In the modifier rollout go to select face (under Unwrap UV)

3.Select every face in the mesh, then under Sub Object params
check the Z box and click Planar Map.

4.Click the edit button, this will open u the edit UVWs window, the dark gray square represents the texure, use the scaling tool to compensate for any distortion.

5.This is the tricky part: You need to align the various vertices in the Edit UVWs window so they form a straight rectangle, scale it so the width of the rectangle is equal to the width of the dark gray box.

If you did it right the texture will be mapped on the mesh in a way that reflects what's in the Edit UVWs window.


http://nova.deadlyfear.com/uploads/files//sig_orca.jpg
"ALL HAIL THE CHRONOSPHERE AND ITS CHRONOSHIFTY GOODNESS" -Aircraftkiller
Getting a scrolling texture to follow bends........ [message #36496] Tue, 05 August 2003 08:35 Go to previous messageGo to next message
maytridy is currently offline  maytridy
Messages: 1371
Registered: February 2003
Location: New York, USA
Karma: 0
General (1 Star)
Thanks guys! I ended up using YSLMuffin's idea. It takes a while, but it works!

Getting a scrolling texture to follow bends........ [message #36526] Tue, 05 August 2003 10:09 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
They all have it wrong... Muffins was the closest.

You don't even NEED to apply an Edit Mesh modifier. Just use the editable mesh and select individual polygons, then apply the UVW Map modifier to the polygons.

After you've made everything look like it will head the proper way, add a UVW Xform modifier and use the U\V offset spinners. If you set your mesh to move at 7 V Per Sec, then move the V offset positively and you will see how the modifier will act in-game.

If it's screwed up, like facing the wrong direction, detach the offending polygons and apply a UVW Xform modifier. At that point, reverse the mapping with it.
Getting a scrolling texture to follow bends........ [message #36554] Tue, 05 August 2003 12:43 Go to previous messageGo to next message
Halo38 is currently offline  Halo38
Messages: 955
Registered: February 2003
Location: UK
Karma: 0
Colonel
Aircraftkiller

They all have it wrong... Muffins was the closest.

You don't even NEED to apply an Edit Mesh modifier. Just use the editable mesh and select individual polygons, then apply the UVW Map modifier to the polygons.

After you've made everything look like it will head the proper way, add a UVW Xform modifier and use the U\V offset spinners. If you set your mesh to move at 7 V Per Sec, then move the V offset positively and you will see how the modifier will act in-game.

If it's screwed up, like facing the wrong direction, detach the offending polygons and apply a UVW Xform modifier. At that point, reverse the mapping with it.


cool Cool


Online Portfolio - www.chettle1.com

Renegade projects - Halo38's Den hosted by www.laeubi.de

Creator of : C&C_Arid, C&C_Ancients, C&C_Bio, C&C_Duel Arena

Mod Wars Veteran
Getting a scrolling texture to follow bends........ [message #36598] Tue, 05 August 2003 15:36 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
LOL that boggles the mind...I'll have to play around with UV X Form in the future.

-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Getting a scrolling texture to follow bends........ [message #36643] Tue, 05 August 2003 19:14 Go to previous message
maytridy is currently offline  maytridy
Messages: 1371
Registered: February 2003
Location: New York, USA
Karma: 0
General (1 Star)
Quote:

They all have it wrong... Muffins was the closest.

You don't even NEED to apply an Edit Mesh modifier. Just use the editable mesh and select individual polygons, then apply the UVW Map modifier to the polygons.

After you've made everything look like it will head the proper way, add a UVW Xform modifier and use the U\V offset spinners. If you set your mesh to move at 7 V Per Sec, then move the V offset positively and you will see how the modifier will act in-game.

If it's screwed up, like facing the wrong direction, detach the offending polygons and apply a UVW Xform modifier. At that point, reverse the mapping with it.


Hey, thanks man, i'll try that. Thanks again.


Previous Topic: Strange Problem in Map
Next Topic: Uzi Finalized And Off to the SKinning Hut (Video inside )
Goto Forum:
  


Current Time: Sun Nov 10 22:33:44 MST 2024

Total time taken to generate the page: 0.01231 seconds