Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: cc8boy on July 04, 2014, 07:50:31 PM

Title: Is it possible to randomize the offset of the UVW coordinates of the segments?
Post by: cc8boy on July 04, 2014, 07:50:31 PM
Hi itoosoft,
I am flooring now.
Is it possible to randomize the offset of the UVW coordinates of the segments?
I would not like to use the material node because I just want to randomize the map of the wood grain to make the each floor unique. The material node require lots of sub-materials or sub-textures of my main wood material. Many sub-materials or sub-textures are not easy to modify together.  I just want to randomize the UVW coordinates of the segments.
Title: Re: Is it possible to randomize the offset of the UVW coordinates of the segments?
Post by: Paul Roberts on July 04, 2014, 10:38:38 PM
Hi,

Unfortunately RailClone does not currently have a UVW offset parameter, though it has been requested before and it is on our wishlist for a possible future release. You can see another thread about this here (http://forum.itoosoft.com/index.php?topic=1864.msg6935#msg6935l).

In the meantime the best way currently is to use the material operator and either create multi-sub object materials, or use it in conjunction (http://forum.itoosoft.com/index.php?topic=1597.msg5711#msg5711) with CG Source's Multi Texture map (free) or VizParks Crossmap (paid) to save loading bitmaps one at a time.

Alternatively, since the geometry for a floor is typically fairly light and to avoid a large number of bitmaps, you could duplicate the source geometry multiple times, then either apply a UVW map modifier that encompasses them all, so they each take a different part of the texture; or shift the offsets manually using UVW Xform modifiers (or a UVW randomising script such as this one  (http://www.scriptspot.com/3ds-max/scripts/random-uvw-gizmotm)). These are then brought in as segments and variation is created using a Randomise operator.

If the situation changes regarding the progress of the UVW offset feature then we'll keep the forum updated.

I hope that helps,

Many thanks

Paul
Title: Re: Is it possible to randomize the offset of the UVW coordinates of the segments?
Post by: cc8boy on July 05, 2014, 05:39:06 AM
As you said, I tried to make a random sequence with lots of segment objects. But, is it possible to write a script that make the random sequence automatically? Can you give me an example of maxscript ?
It’s boring that doing “click and click import” segment manually. And I would easily make mistakes when in a hurry.
Title: Re: Is it possible to randomize the offset of the UVW coordinates of the segments?
Post by: iToo on July 05, 2014, 08:24:09 AM
Unfortunately the Style Editor cannot be edited using Maxscript.
It would be very difficult to support it, since the format we use to store styles is completely different from the Max parameters scheme (which is very limited).
Title: Re: Is it possible to randomize the offset of the UVW coordinates of the segments?
Post by: cc8boy on July 05, 2014, 12:40:38 PM
We don't have to use maxscript. You can bring us a new batch import node or a new method of batch importing segment objects as a new sequence. We will appreciate this feature.
Title: Re: Is it possible to randomize the offset of the UVW coordinates of the segments?
Post by: iToo on July 05, 2014, 05:19:20 PM
We don't have to use maxscript. You can bring us a new batch import node or a new method of batch importing segment objects as a new sequence. We will appreciate this feature.

Yes. This feature was already in the wishlist. Hopefully it will be available in next updates.