Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: MrpepeLepeu on December 24, 2018, 09:34:15 PM

Title: Simple projection
Post by: MrpepeLepeu on December 24, 2018, 09:34:15 PM
Hi,

I'm looking to project an object onto a surface without any specific spline.
Like this:
https://www.youtube.com/watch?time_continue=35&v=O5eqV2RY1LM
 (https://www.youtube.com/watch?time_continue=35&v=O5eqV2RY1LM)

Or like this:

(http://www.scriptspot.com/files/dbppreview.gif)

I have a big mesh that represent roads, and a surface that represent the ground.
I just want to place the roads above the ground and use raiclone to project it. However, if I use a spline it changes the alignment.

Thanks.
Title: Re: Simple projection
Post by: MrpepeLepeu on December 26, 2018, 12:57:40 AM
I'm using this now
https://www.youtube.com/watch?v=9ZWjt3O-i_o

Can Railclone do that?
Thanks.
Title: Re: Simple projection
Post by: iToo on December 26, 2018, 09:32:01 AM
Hi, you can use a Surface node (https://docs.itoosoft.com/railclone/surface-base-objects) to conform the segments to a mesh.

Anyway, it was designed to project multiple small segments (i.e. creating the road with RailClone), not to project a single big mesh.
In this case, i don't see any benefit to use RailClone, instead a specialized mesh tool.

Title: Re: Simple projection
Post by: MrpepeLepeu on December 26, 2018, 05:02:15 PM
Thanks.

I understand, but it would be great if I could use railclone for other things too if possible, replacing other small scripts.

Can I use the surface node without a spline? I just need a Z projection.

Title: Re: Simple projection
Post by: iToo on December 27, 2018, 10:22:49 AM
Quote
Can I use the surface node without a spline? I just need a Z projection.

Well, you can use a very short spline as reference, and then turn off Segment->Slice.
That should create a single segment with the object. Next, just attach a Surface node to conform it.

Although it's possible to not use a spline at all (setting a non zero value to Generator->X Size), is not practical for this case because the Segment will be placed at [0,0,0], and you cannot move it.
This technique is used normally for nested RC objects, or for Clipping areas, where the position of the Segment is defined by other parameters.