Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Alex.S on January 29, 2020, 06:28:29 PM

Title: First Marker not read before first segment?
Post by: Alex.S on January 29, 2020, 06:28:29 PM
Here's a super simple scene, just switching two nodes, based on the first user data. But it seems the first object is always generated before reading the first marker? Even when it's set right at the start of the spline?

Is this a bug or am I missing something obvious?

Title: Re: First Marker not read before first segment?
Post by: Dragan on January 29, 2020, 06:46:59 PM
Hi.
Attach so-called `NULL` segment to the Marker connector. (optional you can attach Selector node)
Title: Re: First Marker not read before first segment?
Post by: Alex.S on January 29, 2020, 06:48:47 PM
Great that's easy enough. Thanks!
Title: Re: First Marker not read before first segment?
Post by: Alex.S on January 30, 2020, 12:51:13 PM
The trouble is now I get overlapping geo.

I tried putting a null segment into the start piece, but that doesn't effect it either.

I can manually set the point so it doesn't overlap, but that's not really desired, especially if i want to make something continuous.
Title: Re: First Marker not read before first segment?
Post by: Alex.S on January 30, 2020, 01:34:39 PM
If I add a fixed size of 0.01 to a null start segment and nothing in the marker point, it seems to not generate overlapping objects. But what if I want to use the start piece for something, but modify it with data from the Markers? Seems like a bug to me?
Title: Re: First Marker not read before first segment?
Post by: Rokas on January 30, 2020, 03:08:17 PM
Thanks for Your help. We have fixed few issues regarding Markers.


Note:
Remember that Selector index starts at 1. The default value for XMarkerData is zero, and that can be confusing when using the Selector node.
Title: Re: First Marker not read before first segment?
Post by: Alex.S on January 30, 2020, 05:10:12 PM
Yeah I've been configure the marker data to reference a default parameter, which is used when 0 is returned from the marker data.

Good to hear the first thing has been fixed.