Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: DamianM on November 22, 2016, 08:17:26 PM

Title: Problem with random operator connected to compose
Post by: DamianM on November 22, 2016, 08:17:26 PM
Hello !

I'm quite new in iToo software and and probably I'm missing some basic stuff, but I hope that You can help me.

The man idea is to scatter random furnitures on spline with materialID assigned. So id 1 is responsible for sofa with flower and lamp, id 2 is for wardrobe, and mat id 3 is for tv with sideboard etc. Everything is working fine till I connect random operator with sofa to Compose layer. The effeci is that sofas connected with random are overlaping.


The second thing is with material that i need to create and assign to RC object, with so many furnitures this will be very hard to create such material. Is there any script or way to o it right and quick ?


I have another problem with textures in custom settings in UVW xform i have wood texture that does not fit.

I have attached screens that I hope will show my problems. Thank You very much for Your help !
Title: Re: Problem with random operator connected to compose
Post by: Michal Karmazín on November 23, 2016, 12:50:24 PM
Hi,

As we can't reproduce similar troubles with Randomize & Compose Operators (it can be something very specific for your scene) and it's hard to say just from provided screen-shot where the problem with UVW mapping could be, would you mind to send us (http://forum.itoosoft.com/index.php?topic=3648.0) your scene to check it here? Thanks in advance.

Regarding the Multi/Sub-Object material, I would suggest you to check the "Why do segments in RailClone ignore my Materials (http://docs.itoosoft.com/display/KB/Why+do+segments+in+RailClone+ignore+my+Materials)" article in our Knowledge Base (http://docs.itoosoft.com/display/KB) (a recommendable way to create the Multi/Sub-Object material is to Attach all objects into a single mesh / Detach them). Hope you'll find it useful.

Best regards,
Title: Re: Problem with random operator connected to compose
Post by: DamianM on November 23, 2016, 01:10:36 PM
Thank You very much for Your help, the file should be on Yours email now :).

But i have one more problem with wood texture. Please see the screen I have attached in first post. The wood texture does not match when I'm using random UVW. I'm attachin the file in this post. So maybe it will be more easier to understand :).
Title: Re: Problem with random operator connected to compose
Post by: Paul Roberts on November 24, 2016, 02:10:42 PM
Hi,

Apologies for the delay in replying. I've been running some tests here are there are several limitations when using automatic box mapping to create a seamless join between start, end, corner and evenly segments. At present it works best to create seamless mapping only across default segments. We'll try to improve it in the future,but due to limitations in the way it works I can't say if or when this will happen. In the meantime I propose a different approach:

1. UV map your 3 segments so that the mid section uses the whole U space from 0-1. The left segment aligns U coordinate 1 with its right edge. The left segment aligns U coordinate 0 with its left edge.

(http://i.imgur.com/3QVY1xR.png)

2 - Next add these to the corresponding slots in the A2S generator. Set the Generator's default mode to Adaptive.
3- To randomise the UVW offset, wire each segment to its own UVW XForm operator. Export the U and V Fixed Offset parameters
4 - Connect a single Random number node to all the exported offsets and change Generate on to Array Y Row. This will randomly offset the UVs the same amount for all the segments in the same row.

I hope that helps out. I've attached a sample file so you can see how this works more clearly. If you have any further questions please let me know.

Kind regards,

Paul
Title: Re: Problem with random operator connected to compose
Post by: DamianM on November 25, 2016, 10:26:31 AM
Thank You very much Paul it is working :). Did You recived my file via Wetransfer witr random furnitures problem ?
Title: Re: Problem with random operator connected to compose
Post by: Michal Karmazín on November 25, 2016, 10:48:09 AM
Hi Damian,

I replied you by mail about that problem on Nov 23, sorry to hear, you didn't receive it (I'm just sending it again).

It's related to the situation where the Generator's General - Geometry - Mirror option (which creates a copy of the geometry at the opposite side of the path to be used in combination with the "Y Offset" parameter to move the geometry an equal distance on the either side of the path on the Y axis) is enabled in combination with Randomize Operator / Selector Operator driven by a Random Parameter. Disabling such option (as on attached screen-shot) in the "LINIA SOFA "1"" generator should fix it.

We'll check what can be done to avoid similar troubles (it'll need to be investigated more in deep by our main developers).

Best regards,
Title: Re: Problem with random operator connected to compose
Post by: DamianM on November 29, 2016, 04:52:42 PM
Thank You very much :) !