Itoo Software Forum

Author Topic: need to rotate bricks 270 degrees?  (Read 679 times)

grue

  • Full Member
  • ***
  • Posts: 100
need to rotate bricks 270 degrees?
« on: April 27, 2021, 07:31:09 PM »
please see attached.  i've created a 2s array without using splines (even though the splines are in the scene).  as is evident from the brick that has a taper to it, i've had to rotate all the bricks 270 degrees in the Y axis.  now, i did this rotation in the segment under transform and rotation.

i created all the bricks from perspective view.

also, i had to rotate the  2s array 90 degrees so it came up from the "ground" vs "lying flat" in the xy plane.  but it didn't seem like that had much to do with it when i was playing around.

thanks

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: need to rotate bricks 270 degrees?
« Reply #1 on: April 27, 2021, 07:46:00 PM »
What is the problem  :-\ ?

grue

  • Full Member
  • ***
  • Posts: 100
Re: need to rotate bricks 270 degrees?
« Reply #2 on: April 27, 2021, 09:15:58 PM »
i was wondering why there was the need to rotate all the bricks?  if it's all created in the same viewport and facing the same way, wouldn't all of them be automatically orientated that way when the 2s array was created?

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: need to rotate bricks 270 degrees?
« Reply #3 on: April 27, 2021, 09:30:28 PM »
Orientation of RC object (Icon) is important as much as Source Segments. Check this video and pay attention from 2:15min.
https://www.youtube.com/watch?v=IM7j0CHtVvE

BTW You did everything ok except applying transformation directly on Segments Node (orange node). It is recommended to add a Transform operator and then do needed transforms.
Also, you could add Transform Operator after Randomize node so all segments will be affected and you could avoid making adjustments on each Segment individually.   

grue

  • Full Member
  • ***
  • Posts: 100
Re: need to rotate bricks 270 degrees?
« Reply #4 on: April 27, 2021, 09:31:05 PM »
well nevermind.  here's the answer:  "Rule 3: Align the source geometry's pivots to the X and Y axes

The 2d array is created along the X and Y axes of the RailClone object's local coordinate system, and segment's will be oriented to that their own axes align with this. It's very tempting, especially with vertical styles like façades and cladding, to align geometry incorrectly so that the vertical elements are on the Z axis. For example, the image below illustrates the segments used in the façade exercise on this page. The collection of segments marked A are incorrectly orientated so that there verticals align to the Z Axis. The group of segments marked B  are correctly oriented. Their segments are aligned to the X and Y axis, matching the axes used by RailClone to construct the array."

rather than creating all new bricks, i rotated all my bricks 90deg such that they were facing "up", then reset xform, then created a new 2s array and rotated the 2s array under the general > x rotation option. it worked as expected.

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: need to rotate bricks 270 degrees?
« Reply #5 on: April 27, 2021, 09:36:20 PM »
Yes, it is  :o >:( ??? :-X :-\  in the beginning but once you get it it will be just a routine.
And Move/Rotation Transforms should be applied in BACKWARD order :D
 https://www.itoosoft.com/tutorials/xmas-2020-basic-rigging-with-railclone?back=page%3D2

grue

  • Full Member
  • ***
  • Posts: 100
Re: need to rotate bricks 270 degrees?
« Reply #6 on: April 27, 2021, 09:42:08 PM »
ha jinx.  thanks for the two links!  i was beginning to think the best approach is create everything as it was going to be lying on "the floor" but that's not called for at all. you really get the hang of what orientation you want to create something and then do different things to get there.  but it does not appear that rotating the "RC" logo (when you first create it) does anything or creating it from say the "front" view.  well i'll repeat looking at those two links and try to let it sink in :)