Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Bending uvw maps?
Bending uvw maps? [message #348170] Sun, 24 August 2008 05:07 Go to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
index.php?t=getfile&id=7302&private=0

The above is a basic sketch of a small river. What I want is a flowing texture that follows the shape of the river.

So how does one bend textures in different shapes. C&C_City sort of has it too, with the road texture curved like a big 8.
  • Attachment: rvr.png
    (Size: 21.65KB, Downloaded 472 times)
Re: Bending uvw maps? [message #348174 is a reply to message #348170] Sun, 24 August 2008 06:25 Go to previous messageGo to next message
cnc95fan is currently offline  cnc95fan
Messages: 1260
Registered: July 2007
Karma: 0
General (1 Star)
Move the polys around. Upload the map and I will have a shot at it if you want.

Cabal8616 wrote on Sun, 27 April 2008 15:50

I say a personal fanning of the genitals would be awesome.


RA3 AUTOMATICLY SUCKS
www.battlefordune.co.uk
Re: Bending uvw maps? [message #348200 is a reply to message #348170] Sun, 24 August 2008 14:50 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
Here's part of the river/creek. I just hope I don't have to uvw-map the river per segment.
  • Attachment: bit.gmax
    (Size: 161.50KB, Downloaded 120 times)
Re: Bending uvw maps? [message #348302 is a reply to message #348170] Tue, 26 August 2008 01:42 Go to previous messageGo to next message
Blazea58 is currently offline  Blazea58
Messages: 408
Registered: May 2003
Karma: 0
Commander
You could try uvw mapping it by face, and turn your mesh to editable poly so it only uses each square area as a face. I am not sure though cause i dont have my Pc atm to check.

I do know one way by also starting with a long skinny mesh and adding many segs to it.
You texture and uvw map it first, then start pulling segs around in equal amounts. As well you can texture it face by face, using the gizmo in the pull down menu for uvw mapping.


http://i175.photobucket.com/albums/w125/Blaze558/ECW_WebBanner1.jpg
Re: Bending uvw maps? [message #454370 is a reply to message #348170] Mon, 12 September 2011 15:53 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
The best and easiest way to do this is to select a "straight" section of polygons and apply a UV map to it. Apply a UVW Unwrap on top of it, move the section off the 0-1 grid. Repeat this until the entire object is UV mapped. Go to Display > Show Vertex Connections in the Unwrap edit window. Select individual vertices and match them to the correct matching point, weld them together, and repeat until the mesh has all of its UVs stitched together.

Once you've done this, grab all of the vertices that constitute one edge of the mesh in the Unwrap editor and use the U or V spinner at the bottom of the editor to flatten them on the same axis and move them away from the other side of vertices. Grab those vertices and do the same. If your map is vertical, grab all of the left vertices and type 0 in the U box. Do the same for the right, but type 1 instead. If it's horizontal, do the same thing but use V instead.

You will obviously get texture stretching, so you'll need to look at your mesh and get an idea of what the relative distance of the vertices is compared to what they are in the editor. Using that as a reference, scale the distance between the edges so that they match the general distance of each edge from one to another. This will keep the textures from stretching and will make it look much more convincing. You could use a checker map set on a large tiling pattern to illustrate any stretches that would make the squares stop being uniform.

This is assuming that you're using, at least, 3D Studio Max 8 or higher.

[Updated on: Mon, 12 September 2011 16:04]

Report message to a moderator

Re: Bending uvw maps? [message #454811 is a reply to message #348170] Fri, 16 September 2011 14:37 Go to previous messageGo to next message
roszek is currently offline  roszek
Messages: 296
Registered: June 2010
Karma: 0
Recruit
Just use a spline.
Re: Bending uvw maps? [message #454816 is a reply to message #348170] Fri, 16 September 2011 14:57 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
Splines aren't game-ready geometry. You would need to use a path follow constraint for it to work correctly, and even then it would still require some editing.
Re: Bending uvw maps? [message #454822 is a reply to message #454816] Fri, 16 September 2011 15:28 Go to previous messageGo to next message
roszek is currently offline  roszek
Messages: 296
Registered: June 2010
Karma: 0
Recruit
Aircraftkiller wrote on Fri, 16 September 2011 14:57

Splines aren't game-ready geometry. You would need to use a path follow constraint for it to work correctly, and even then it would still require some editing.


Yes you are right of course, but I think it's the easiest method.

Edit: Wouldn't you use PathDeform if I'm not mistaken?

[Updated on: Fri, 16 September 2011 15:56]

Report message to a moderator

Re: Bending uvw maps? [message #454826 is a reply to message #348170] Fri, 16 September 2011 16:02 Go to previous message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
You could use that. Path constraint would also work, as would using a loft with an outline of the shape you want it to deform around.
Previous Topic: C&C Tiberium Crystal War
Next Topic: Rp2's New Mutant Assault Map
Goto Forum:
  


Current Time: Fri Nov 08 21:11:40 MST 2024

Total time taken to generate the page: 0.01038 seconds