Itoo Software Forum

Author Topic: let railclone generate individual objects instead of a single mesh?  (Read 600 times)

RG2130

  • Newbie
  • *
  • Posts: 5
Hi

Simple question:

Is there some way to get railclone to spit out a number of editable meshes instead of a single mesh when you collapse?

Explanation

I'm trying to get a 3D model of a highway tunnel into Unity.

The tunnel is modeled in sections of 200m and the total length is around 10km so around 50 segments in all.
The master segment consists of the tunnel walls and a lot of signs, escape route markers, lamps etc.
walls are around 5k polygons all the detailing around 500k polygons.

What I would like to do is deform a single high detail segment along a path using railclone.
And then get it into Unity as 50 individual segments that I can apply level of detail to by simply deleting all the internal detailing.

To do level of detail in unity all you need is to export two or more models with a naming like this Object_something_LOD0
, Object_something_LOD1, Object_something_LOD2.
That parts is quite easy

But when I just collapse the railclone to editable mesh of course all I get is one editable mesh and I can't explode it to segments without manually selecting each group.

So is there a script, setting or method that will let railclone generate a number of individual objects instead of a single mesh?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1429
Hi,

Yes, for these purposes, there is a very powerful tool which is part of RailClone Pro called "RailClone Tools". This tool allows you to export your geometry to instances. It can be found under Utilities panel - More ... - RailClone Tools. Feel free to check more details about it in our on-line reference guide. You have a lot of possibilities what will happen with your instances after conversion to mesh (for example moving all instances to a new layer you might find handy).

Let me add, that this way you´ll be able to use the scene even on computers without RailClone installed.

Best regards,

RG2130

  • Newbie
  • *
  • Posts: 5
I just tried it and it seems to still just produce one object for the entire 10 km tunnel.
And I need it to make an object for each 200m segment

I made a quick example scene here
https://www.dropbox.com/s/d8npivj05ewzrb5/railclone_example_tunnel01.max?dl=0

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1429
Hi,

The RailClone Tools utility creates instances where possible and the rest of the geometry is being attached into a single mesh. In your case, all these parts are because of the deformation "unique" and therefore no instances are being created.

To generate just instances, it's possible to turn-off Bend & Slice for all used Segments (this will ensure that all these will be handled as instances). Attaching screen-shot.

Hope that clears it up.

Best regards,

RG2130

  • Newbie
  • *
  • Posts: 5
But I need them to to be bent and sliced :)

Is there any way to not have it collapse them into a single mesh?
None of them will be exactly the same so there's no need to try to instance them.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1429
Hi,

Unfortunately currently not, but it's now on the wish-list and we'll evaluate its implementation in future releases.

Best regards,