Kaiser@Posted: Tue Aug 09, 2005 6:09 pm    Post subject: Fixing stretched and aligning textures/materials: I am currently making a test terrain model and some parts of the model have stretched textures:




How can this be fixed in lightwave? Also how do you align/move textures around in lightwave as well?

Thanks.


edit: oh yeah, just in case, this is the material information used for this terrain:

Code:

models/mapobjects/my_model/my_terrain
{
   stone
   {
      blend       bumpmap
      map         addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand1_bmp.tga, 4))
      scale 5, 5     
   }     
   {
      blend      diffusemap
      map      textures/rock/skysand1_d.tga
      scale 5, 5
      vertexColor
   }   
    {
      blend      specularmap
      map      textures/rock/dirt03_s.tga
      scale 5, 5     
      vertexColor
   }         
   {
      blend      bumpmap
      map      addnormals( textures/hell/sharprock2_local.tga, heightmap( textures/hell/sharprock2_h.tga, 8 ) )
      scale 5, 5
   }   
   {
      blend      diffusemap
      map      textures/rock/sharprock3.tga
      scale 5, 5
      inverseVertexColor
   }       
   {
      blend      specularmap
      map      textures/rock/sharprock3_s.tga
      scale 5, 5
      inverseVertexColor
   }         
}

_________________
http://dsv.newdoom.com/



rich_is_bored@Posted: Wed Aug 10, 2005 4:30 am    Post subject: : The way the texture is applied to a model is controlled entirely by the UV map.

The way UV maps are adjusted in LightWave (and probably every other modeling package for that matter) is completely different than that of the level editor.

You can't select faces and slide the texture applied to them around easily.

Instead you have to move points and polygons around in the UV viewport.

Tutorials on the subject of UV mapping would probably help you alot.
_________________
Staff
Learn something today? Why not write an article about it on modwiki.net?



MercyKiller@Posted: Wed Aug 10, 2005 3:30 pm    Post subject: : The UV map is basically a set of 2d coordinates that correspond to the 3d faces of the model. Before applying a texture, you need to "unwrap" the UV map and position it in the UV viewport so you can understand what face corresponds to what on the model. Minimal distortion in the UV viewport is best, as you don't want small faces to recieve the most detail when you texture them Razz

After you've got the UVmap completed many packages allow you to export an image of it for use in photoshop or a similar 2d package. This is where the actual skinning takes place.

3ds max (dunno about lightwave) also has some generic UV map modifiers such as planar, cylindrical, etc. That are fairly good for aligning textures on shapes that don't vary too much from the base primitive.

Blah, but what do I know, I'm a noob modeller anyway. Someone like kat would probably be able to help you more. Smile
_________________
"Nothing earns you geek points like installing Linux on a dead badger."
__________________________________
-MercyKiller
Level Designer - Last Man Standing Team



Kaiser@Posted: Tue Aug 09, 2005 6:09 pm    Post subject: Fixing stretched and aligning textures/materials: I am currently making a test terrain model and some parts of the model have stretched textures:




How can this be fixed in lightwave? Also how do you align/move textures around in lightwave as well?

Thanks.


edit: oh yeah, just in case, this is the material information used for this terrain:

Code:

models/mapobjects/my_model/my_terrain
{
   stone
   {
      blend       bumpmap
      map         addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand1_bmp.tga, 4))
      scale 5, 5     
   }     
   {
      blend      diffusemap
      map      textures/rock/skysand1_d.tga
      scale 5, 5
      vertexColor
   }   
    {
      blend      specularmap
      map      textures/rock/dirt03_s.tga
      scale 5, 5     
      vertexColor
   }         
   {
      blend      bumpmap
      map      addnormals( textures/hell/sharprock2_local.tga, heightmap( textures/hell/sharprock2_h.tga, 8 ) )
      scale 5, 5
   }   
   {
      blend      diffusemap
      map      textures/rock/sharprock3.tga
      scale 5, 5
      inverseVertexColor
   }       
   {
      blend      specularmap
      map      textures/rock/sharprock3_s.tga
      scale 5, 5
      inverseVertexColor
   }         
}

_________________
http://dsv.newdoom.com/



rich_is_bored@Posted: Wed Aug 10, 2005 4:30 am    Post subject: : The way the texture is applied to a model is controlled entirely by the UV map.

The way UV maps are adjusted in LightWave (and probably every other modeling package for that matter) is completely different than that of the level editor.

You can't select faces and slide the texture applied to them around easily.

Instead you have to move points and polygons around in the UV viewport.

Tutorials on the subject of UV mapping would probably help you alot.
_________________
Staff
Learn something today? Why not write an article about it on modwiki.net?



MercyKiller@Posted: Wed Aug 10, 2005 3:30 pm    Post subject: : The UV map is basically a set of 2d coordinates that correspond to the 3d faces of the model. Before applying a texture, you need to "unwrap" the UV map and position it in the UV viewport so you can understand what face corresponds to what on the model. Minimal distortion in the UV viewport is best, as you don't want small faces to recieve the most detail when you texture them Razz

After you've got the UVmap completed many packages allow you to export an image of it for use in photoshop or a similar 2d package. This is where the actual skinning takes place.

3ds max (dunno about lightwave) also has some generic UV map modifiers such as planar, cylindrical, etc. That are fairly good for aligning textures on shapes that don't vary too much from the base primitive.

Blah, but what do I know, I'm a noob modeller anyway. Someone like kat would probably be able to help you more. Smile
_________________
"Nothing earns you geek points like installing Linux on a dead badger."
__________________________________
-MercyKiller
Level Designer - Last Man Standing Team



Kaiser@Posted: Tue Aug 09, 2005 6:09 pm :
I am currently making a test terrain model and some parts of the model have stretched textures:

Image


How can this be fixed in lightwave? Also how do you align/move textures around in lightwave as well?

Thanks.


edit: oh yeah, just in case, this is the material information used for this terrain:

Code:
models/mapobjects/my_model/my_terrain
{
   stone
   {
      blend       bumpmap
      map         addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand1_bmp.tga, 4))
      scale 5, 5     
   }     
   {
      blend      diffusemap
      map      textures/rock/skysand1_d.tga
      scale 5, 5
      vertexColor
   }   
    {
      blend      specularmap
      map      textures/rock/dirt03_s.tga
      scale 5, 5     
      vertexColor
   }         
   {
      blend      bumpmap
      map      addnormals( textures/hell/sharprock2_local.tga, heightmap( textures/hell/sharprock2_h.tga, 8 ) )
      scale 5, 5
   }   
   {
      blend      diffusemap
      map      textures/rock/sharprock3.tga
      scale 5, 5
      inverseVertexColor
   }       
   {
      blend      specularmap
      map      textures/rock/sharprock3_s.tga
      scale 5, 5
      inverseVertexColor
   }         
}



rich_is_bored@Posted: Wed Aug 10, 2005 4:30 am :
The way the texture is applied to a model is controlled entirely by the UV map.

The way UV maps are adjusted in LightWave (and probably every other modeling package for that matter) is completely different than that of the level editor.

You can't select faces and slide the texture applied to them around easily.

Instead you have to move points and polygons around in the UV viewport.

Tutorials on the subject of UV mapping would probably help you alot.



MercyKiller@Posted: Wed Aug 10, 2005 3:30 pm :
The UV map is basically a set of 2d coordinates that correspond to the 3d faces of the model. Before applying a texture, you need to "unwrap" the UV map and position it in the UV viewport so you can understand what face corresponds to what on the model. Minimal distortion in the UV viewport is best, as you don't want small faces to recieve the most detail when you texture them :P

After you've got the UVmap completed many packages allow you to export an image of it for use in photoshop or a similar 2d package. This is where the actual skinning takes place.

3ds max (dunno about lightwave) also has some generic UV map modifiers such as planar, cylindrical, etc. That are fairly good for aligning textures on shapes that don't vary too much from the base primitive.

Blah, but what do I know, I'm a noob modeller anyway. Someone like kat would probably be able to help you more. :)