Itoo Software Forum

Author Topic: newbie problem L1S nested in A2S  (Read 1136 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1419
newbie problem L1S nested in A2S
« on: November 26, 2017, 09:59:06 PM »
Hi all, newbie here.

I'm trying to achieve something similar to the image#1.
I assume there is better approach but my start is like this:
I've tried nesting one L1S into other A2S. Clipping Area is multiple closed splines with different material ID.
To add spacing between L1S segments I`ve used Sequence with L1S and Null segment with fixed size.
For 90deg orientation I`ve used two A2S generators (one with 90deg Z Rotation) and Material ID Limits (ID1 for 0 deg, ID2 for 90 deg and ID3 for empty spaces).

note: segment parts and spline are imported from Solid CAD software 

Q:

1. I got few warnings about `Maximum number of faces reached` so I end up with 50M. Whether a too large number will affect the scene/memory? 
2. Transforming Vertices and Parsing scene in Corona take a long time to finish. Can anything be done to speed those up or this is due render engine?
3. How to force `gaps` to be parallel and to offset/move those gaps ie. LS1 (see image#2)

tnx



« Last Edit: November 26, 2017, 10:49:08 PM by Iceman »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: newbie problem L1S nested in A2S
« Reply #1 on: November 29, 2017, 11:02:46 AM »
Hi,

Thanks for the message.

1. I got few warnings about `Maximum number of faces reached` so I end up with 50M. Whether a too large number will affect the scene/memory? 

Generally speaking RailClone instances most of the geometry unless is it sliced or deformed, which normally keeps poly counts low. I assume in this case a lot of segments are being cut by the clipping splines, causing the messages. I'm afraid this is unavoidable when a lot of high poly geometry is sliced, unless you use some other trick like using Distance Texture maps for render-time booleans. You can read a little about this here.

2. Transforming Vertices and Parsing scene in Corona take a long time to finish. Can anything be done to speed those up or this is due render engine?
I suspect this is due to the high polygon count caused by the clipping. If that's the case there's no way around it I'm afraid. One way to check that this isn't a RailClone specific issue would be to convert the RailClone objects to regular max instances using RailClone Tools, found in the Utilities pane.

3. How to force `gaps` to be parallel and to offset/move those gaps ie. LS1 (see image#2)

The recommendable way would be to set the Geometry - X Size & Y Size to overlap the area, align your RC object as needed (move its transforms) and use the Clipping Area to remove unnecessary parts of the object. Hope that helps.

All the best,

Paul
« Last Edit: November 29, 2017, 11:07:24 AM by Paul Roberts »
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: newbie problem L1S nested in A2S
« Reply #2 on: November 29, 2017, 12:03:06 PM »
Paul, thank you for quick reply.

1. I`ll look more into distance map

2. Converting to RC to regular mesh reduce time to Transform Vertices but memory load is much higher but this is expected.

3. Got it.

Best Regards

Dragan

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: newbie problem L1S nested in A2S
« Reply #3 on: December 05, 2017, 01:56:53 PM »
Hi,
Just a short info...
I did all without nesting L1S, just A2S (Compose mirror/segment2+null+segment2 to do Evenly separation with gap) and RC worked like a charm.
Transforming Vertices take a lot less time now.
I`ll post generator later when I finish if you want to investigate more.

Thank You.
Dragan