Announcement

Collapse
No announcement yet.

uvw map question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • uvw map question

    Imagine I have 50 blocks next to each other with slightly varying size. How can I apply uvw box mapping to all of them in one time, so that the uvw map fits each block nicely. If I apply a uvw map to all the blocks at once, the uvw box size takes the size of the 50 blocks together, so this is not good.

    Applying the map 50 times is much work, and I need to do it for other stuff too (like the steps of a stairway for example)

    thanks,

    flipside
    Aversis 3D | Download High Quality HDRI Maps | Vray Tutorials | Free Texture Maps

  • #2
    Copy this into a text file, name it whatever.ms and run it through the Maxscript pulldown in the menu..

    to set different types of uvw's search for the uvwMap in the maxscript help.. it should show you all the options you can do with it

    Dont have time to make it do exactly what you're asking.. but you should be able to... This script here goes through every object in the selection set, and adds a planar uvw map 24"x24" and aligned to the Y axis i believe..

    Can try and help later, once the cauldron of work here calms down some

    Good luck.

    ----------------------------------------
    max create mode
    disableSceneRedraw()
    for obj in (getCurrentSelection()) do
    (
    try(
    addModifier obj (uvwMap mapType:0 axis:1 length:24 width:24)
    )catch()
    )
    enableSceneRedraw()
    ----------------------------------------
    Dave Buchhofer. // Vsaiwrk

    Comment


    • #3
      Here ya go
      ----------------------------------------

      max create mode
      disableSceneRedraw()
      for obj in (getCurrentSelection()) do
      (
      try(
      addModifier obj (uvwMap mapType:4 axis:1 )
      )catch()
      )
      enableSceneRedraw()

      ----------------------------------------
      Eric Boer
      Dev

      Comment

      Working...
      X