Itoo Software Forum

Author Topic: Feature request - UVW xform offset randomizer  (Read 2237 times)

MN4869

  • Jr. Member
  • **
  • Posts: 73
Feature request - UVW xform offset randomizer
« on: November 22, 2013, 11:20:30 PM »
This would be a good option under the UV mapping options. And would be a simpler way to randomise tillable textures across segments. So instead of having multiple varitions of a textures, you would add more varation by randomising the mapping of the texture to your segments.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: Feature request - UVW xform offset randomizer
« Reply #1 on: November 23, 2013, 10:00:24 AM »
I think it could be done, although we must do some tests before. Added to the wishlist.
Carlos Quintero
iToo Software

MN4869

  • Jr. Member
  • **
  • Posts: 73
Re: Feature request - UVW xform offset randomizer
« Reply #2 on: November 24, 2013, 02:52:27 AM »
If it helps - one problem is see is that for some stupid reason the offset in the UVW xform modifier is tied to the system units.

So if you xref from mm to a m scene I will be screwed up.

But I think as long as you're aware of this the benefits outweigh negatives.

I think this could be a good solution in FPP too I get variation without altering material IDs and so you can avoid those workarounds that you helped me with.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: Feature request - UVW xform offset randomizer
« Reply #3 on: November 24, 2013, 11:41:57 AM »
There are certain restrictions to apply this technique with Forest, because all instances share the same UVW mapping (really it's part of the mesh).

In RailClone, we already modify (in some way) the UVW mapping from the geometry shader (Segment->Deform->Mapping), so this functionality it's more feasible to implement.
Carlos Quintero
iToo Software

MN4869

  • Jr. Member
  • **
  • Posts: 73
Re: Feature request - UVW xform offset randomizer
« Reply #4 on: November 24, 2013, 09:29:11 PM »
In forest you would create multiple leaf variations in one bitmap each one utilizing say a quarter of 1,1 uv space. You could have an option as to the range that itoo would randomise.

Or do you mean that the UVW offset would be applied globally in FPP?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: Feature request - UVW xform offset randomizer
« Reply #5 on: November 25, 2013, 09:34:22 AM »
The UVW mapping in a generic tree may change completely, depending how it was created, besides multiple mappings may exist (trunk, leaves and others), so there is not an easy way to modify it.

Instead, in RailClone we know exactly how is the mapping, because we generate it with Segment->Mapping. In this way is possible to create variations.
Carlos Quintero
iToo Software

MN4869

  • Jr. Member
  • **
  • Posts: 73
Re: Feature request - UVW xform offset randomizer
« Reply #6 on: November 25, 2013, 11:45:40 AM »
Ok sorry, I guess I don't understand how it all works under the hood.

MN3180

  • Newbie
  • *
  • Posts: 29
Re: Feature request - UVW xform offset randomizer
« Reply #7 on: December 03, 2013, 04:07:44 PM »
I agree, I am using FP2 for the first time, I have a 2S array pavement and the map is tiling. It would be great to have random UV offset and rotation per slab .  :)

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: Feature request - UVW xform offset randomizer
« Reply #8 on: December 03, 2013, 04:50:51 PM »
Meanwhile, remember that you can create multiple materials (each one with its own UV mapping) and randomize them with the "Material" operator.
Carlos Quintero
iToo Software