Itoo Software Forum

Author Topic: Railclone objects Wire Color when using multiple objects in a railcone.  (Read 2948 times)

iToo_Butler

  • Jr. Member
  • **
  • Posts: 56
    • DJS CGI
Is it possible to add the ability to have railclone make each object a different colour in the VRayWireColor render element?

Often having multiple objects in a railclone object, the railclone object in the wirecolor has each component the colour of the railclone objects wire colour. This causes problems when you need selections from a wire colour element.

Cheers.

Andy.
Cheers,

iToo_Butler.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Railclone objects Wire Color when using multiple objects in a railcone.
« Reply #1 on: January 08, 2015, 04:03:31 PM »
Hi Andy,

I'm afraid RailClone doesn't support Wire Frame colour or any other GBuffer channels that depend of the item's ID. In V-Ray, RailClone is handled as an unique object with its own ID, and it's not possible inherit or assign multiple IDs. There is a workaround however that involves using RailClone Tools to convert the segments to stand-alone instances that retain WireFrame colour information. To do this:

  • Select a RailClone Object
  • Go to Utilities and open the RailClone Tools
  • Choose how to organise the new objects from the following options:
    Individual objects. Creates new instances as standalone objects on the default layer.
    Create Group. Groups all new instances in a group object. Should be used with caution, 3DS may be very slow handling a huge number of objects in a group, most of times it is better to create them as non-grouped objects on a separate layer (next option).
    Move To Layer. Creates a new layer containing the new instances. Activate Freeze to prevent accidental selection or changing of the resultant geometry and Boxes to display each instance as a wireframe box (same as right clicking and selecting Object>Properties>Display As Box.)
  • To hide the source RailClone object once instances have been generated, activate Disable at End
  • Press Insanciate, your new instances will be created with the above settings, replacing the original RailClone object.

I hope that helps, please let me know if you have further questions.

Many thanks,

Paul
Paul Roberts
iToo Software

iToo_Butler

  • Jr. Member
  • **
  • Posts: 56
    • DJS CGI
Re: Railclone objects Wire Color when using multiple objects in a railcone.
« Reply #2 on: January 12, 2015, 01:52:20 PM »
Is this something that you thing may be integrated in a future release?

I assume if I do the workaround that my objects wont be a railclone object? So If I change my spline they don't update. I've not tried your suggestion yet as I don't want to do it if it results in a non parametric object.

Cheers

Andy
Cheers,

iToo_Butler.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Railclone objects Wire Color when using multiple objects in a railcone.
« Reply #3 on: January 12, 2015, 04:39:52 PM »
Hi Andy,

If you use RailClone Tools then the RailClone object is used to generate instances and then turned off. It is not permanently replaced. This means that if you want to go back and make changes you can use RailClone Tools to delete the instances and re-enable the RailClone object to continue editing. When your done just regenerate the instances again before rendering.

Unfortunately this is a limitation in the way V-Ray handles the RailClone object. Are you able to use a Material ID pass instead?

Many thanks,

Paul
Paul Roberts
iToo Software

Terri Brown

  • Full Member
  • ***
  • Posts: 114
    • Terri Brown 3D
Re: Railclone objects Wire Color when using multiple objects in a railcone.
« Reply #4 on: February 08, 2023, 07:45:37 AM »
Hi there...just wondering if this functionality is something in the pipeline? This post is from 2015, so I'm hoping maybe...well, there's hope? ;)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Railclone objects Wire Color when using multiple objects in a railcone.
« Reply #5 on: February 08, 2023, 10:27:09 AM »
Hi

I'm afraid not, there are technical restrictions that prevent us from implementing this. Material IDs are still probably your best bet, or Cryptomatte in Node Material Name mode should work too.

Best,

Paul
Paul Roberts
iToo Software