Itoo Software Forum

Author Topic: Brick + Extract Tiles Macros  (Read 1023 times)

otoh

  • Newbie
  • *
  • Posts: 5
Brick + Extract Tiles Macros
« on: April 23, 2020, 01:47:39 AM »
Hi

Is it possible to use the Bricks -  Running Bond macro as well as the Extract Tiles - Stack Bond macro together.  I haven't been able to get them to work.  The Bricks macro works fine but as soon as I apply the extract Tiles I have lost control of how the material works. I am probably missing something silly but feel I have tried everything I know which is limited in Railclone.  I am using Corona

Cheers
Jamie

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Brick + Extract Tiles Macros
« Reply #1 on: April 23, 2020, 08:01:37 AM »
YOu can edit Running Bond macro and add additional Macro after the segments:

Rokas

otoh

  • Newbie
  • *
  • Posts: 5
Re: Brick + Extract Tiles Macros
« Reply #2 on: April 24, 2020, 12:58:58 AM »
Thanks for the quick reply, I tried the same set up but still couldn't get it to work, Is it that my UVW on the brick segments are wrong? - They are currently unwrapped.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Brick + Extract Tiles Macros
« Reply #3 on: April 24, 2020, 06:17:26 AM »
I could look into it if You have attached a maxfile and a texture You are using.
Rokas

otoh

  • Newbie
  • *
  • Posts: 5
Re: Brick + Extract Tiles Macros
« Reply #4 on: April 26, 2020, 09:27:34 PM »
Hi Rokas

That would be very much appreciated, I have attached the max file.

Cheers
Jamie

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Brick + Extract Tiles Macros
« Reply #5 on: April 27, 2020, 08:43:56 AM »
Hi

Thanks for attached file.
Few notes. Macro extracting stacked bricks is currently wrong. Please use updated one from this thread.
Apologies for that. I understand how this can throw You off.

Second. Unwrapping should be done other way- each face should take all 0-1 UV space. Feel free to take multiple tiles.
Rokas

otoh

  • Newbie
  • *
  • Posts: 5
Re: Brick + Extract Tiles Macros
« Reply #6 on: April 28, 2020, 01:27:56 AM »
Hi again

Thanks for looking at that, when I open the scene everything is good but as soon as I switch the renderer to Corona the bricks lose there mapping and the texture is again mapped to the entire face of the brick.  I have resaved and attached your file after switching the renderer.

Cheers
Jamie

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Brick + Extract Tiles Macros
« Reply #7 on: April 28, 2020, 07:20:26 AM »
With corona You sometimes need to disable instancing engine.:


Please refer to ForestPack and RailClone documentation to learn more which features are supported and which are not.
Rokas

otoh

  • Newbie
  • *
  • Posts: 5
Re: Brick + Extract Tiles Macros
« Reply #8 on: April 30, 2020, 12:20:21 AM »
As easy as that! Awesome, thanks for all your help.

Cheers
Jamie