• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Face-me Components Rotating Unexpectedly

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
28 Posts 8 Posters 2.3k Views 8 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    Aureus
    last edited by 14 Sept 2015, 21:20

    If you look the first GIF file I uploaded you'll see that one face-me tree is acting weird even though it's only a couple of metres distant from the origin of the model (which I deleted). So I think that having the origin distant from the trees cannot be the cause for this behaviour. At least not in this situation.

    After all, I think that big distances are not relevant per se, but only in relation to the size of your entities. In the case of my main model (which is big and complex), the distances are big but I don't have microscopic details. Also I didn't have any other problem with it prior creating these face-me trees.
    And not only that but it appears that only one specific tree type is from some reason problematic: one of those two linden trees. I made two linden tree types and one of them decided to dance.
    My new guess is that this has to do something with the way I scaled those face-me trees or the way I made unique one of the instances of that problematic linden type, which I then copied all around the site and now some of them refuse to behave nicely. ๐Ÿ˜•

    As for the missing shadows...this issue was present on different tree types. I solved it in an unusual way: simply by changing a bit the RGB value of the material applied to the faces which refused to cast shadows. When I changed back to the old RGB value shadows remained. It's enigma to me.

    Twillight Zone, yes. ๐Ÿ˜•

    1 Reply Last reply Reply Quote 0
    • M Offline
      mac1
      last edited by 16 Sept 2015, 16:00

      Face Me Trees Behaving Weird Again_mac1.skpIt appears resetting of scale and skew on the ones with problems make them perform as expected. More test needs to be done , was wrong once already ๐Ÿ˜ณ
      BTW it sounds like you are going to trouble not needed. The small circles can be used as proxies, you can then replace them with a target tree ( you select the proxies and then target tree in component browser, then select replace selected. Hope our friends have not changed this been several years ? ) and they will be copied in to the proxies scale and its axis aligned to the proxies.
      This file simplifies you op model, I used all same trees, randomly select some trees, open component browser, select a replacement tree, it could be a motorcycle if you want. Click it an select replace selected see what you get.

      1 Reply Last reply Reply Quote 0
      • A Offline
        Aureus
        last edited by 16 Sept 2015, 21:21

        What I have done when creating my tree collection and placing it in my model can be seen in the gifs below. This time I made the circles bigger so that one can see them more easily.


        First I create a circle and make it a component. Then I put inside a previously made face-me tree. Then I copy it here and there and use Fredo scale and flip function to add to some diversity. (With the third instance I made a little mistake.)


        Then I make one of the component unique as well as the face-me tree inside cos I realize I need a bit longer trunk for the slopes. I longer it for 2m and I move down the circle too. I don't touch the axes. I copy that unique component around and scale its instances to different ratios. Some of them I flip around the red or green axis.


        ![At one point I decide to replace one tree type with some other. I just delete one face-me tree type and insert a new one. Since the "circle + tree" component has been already scaled I don't have to repeat that process. The GIF shows they are properly scaled.](/uploads/imported_attachments/QX8G_Ivedonethis02.gif "At one point I decide to replace one tree type with some other. I just delete one face-me tree type and insert a new one. Since the "circle + tree" component has been already scaled I don't have to repeat that process. The GIF shows they are properly scaled.")


        The last GIF shows the trees from above. Due to scaling some circles turned to elipses. You can also see why those bounding boxes differ from tree to tree.
Now good question is why those trees with the longered trunks behave as they should without silly gymnastics that made me start this thread? Earlier I posted a SU and GIF file where one can see them displaying that notorious face-me behaviour. Here they act just fine.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mac1
          last edited by 17 Sept 2015, 04:49

          This was done probably in time it takes for you to do 1 tree almost. Suggest you are stove piped. There are two cases where one type tree was located at verties of rec with random rotation and scaling of 1 to 0.5, second case was trees form you model BTW copied along a Bezier curve and then a few selected ones replaced with different type tree. This was done using a plugin called comp spray plugin available at plugin store.
          I have tried and done ๐Ÿ’š


          Face Me Trees Behaving Weird Again_mac1A.jpg

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aureus
            last edited by 26 Sept 2015, 23:15

            Well, mac 1,

            I'm sure you've realized that when you pick a problematic component and reload its face-me sub-component by replacing it with some other face-me component such are native SU characters...the behaviour remains the same (see the image below). ๐Ÿ˜ฎ

            You can reload another component but...gif

            However if you reload a whole component (like Derrick) instead of "circle+face-me tree" component then there's no silly movements.

            This will remain some kind of mystery.

            Eventually I had to put new trees manually on the same location, one by one. So far new trees are OK. ๐Ÿ˜„

            1 Reply Last reply Reply Quote 0
            • M Offline
              mac1
              last edited by 27 Sept 2015, 06:03

              Face Me Trees Behaving Weird Again_mac1A.skp
              Very condescending and presumptuous comment especially when you have not tried the solution presented before I posted, it is not just replacement=> read the post! Here is the skp model I made before posting the picture. ๐Ÿ’š

              1 Reply Last reply Reply Quote 0
              • A Offline
                Aureus
                last edited by 27 Sept 2015, 11:49

                I simply realized that in your experiment you used the tree type that wasn't problematic at all so what you solved had been already solved.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mac1
                  last edited by 28 Sept 2015, 02:02

                  Making assumptions is a basic voliation of general approaches to trouble shooting.
                  Will try one more time, take the model you posted above and orbit until things go crazy, select one of those, look at the out liner that will show you which instance it is, select edit component and you should see all the instances of that definition selected in the out liner, select reset skew, that will change all the instances since you are in the edit mode. Now try the orbit again and you should see the problem is gone for that definition. Just to be on the safe since I think I exploded the lower level entity in your nested model so you have one so program deals with just the one item and possible different axis location.
                  The question is how did the skew happen??

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Aureus
                    last edited by 28 Sept 2015, 13:41

                    @mac1 said:

                    Making assumptions is a basic voliation of general approaches to trouble shooting.

                    Cheap philosophy is of no help here.
                    It won't make any serious contribution to this thread. ๐Ÿ˜„

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      driven
                      last edited by 28 Sept 2015, 14:02

                      @mac1 said:

                      ...
                      The question is how did the skew happen??

                      Chris explains how to create one here...
                      [web 100%,400:8geuufsp]http://sketchucation.com/forums/viewtopic.php?f=15&t=17375#p139176[/web:8geuufsp]

                      john

                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Aureus
                        last edited by 28 Sept 2015, 15:05

                        Hi driven,

                        I see there's an old thread about skewing components. Very good.
                        I made a couple of pretty detailed descriptions (with images included) what I did when creating those components and from them it's obvious I could accidentally make some skewed components (as I had that component inside component story + flipping). The fact that some trees were skewed didn't bother me as trees are in nature skewed anyway, in some sense. I didn't even notice some are skewed. And after all, visually they looked OK. The problem occurred when some trees started to rotate in a weird way.

                        And what's even more strange is that...now I cannot make them 'dance' by repeating the same process.

                        One thing from the thread you posted: Chris explained how to create a skewed component by rotating the inner component and scaling non-uniformly the outer one. I remember I used a flipping method (and maybe in one case I flipped the sub-component) as there's no point in rotating a face-me component.
                        Yet, whatever I do now the trees behave normally.

                        I replaced ill-behaving tree components with some other trees that used to be OK and then edited them to my liking. I did this manually not by reloading. Now all the trees behave as expected even though some of them are still skewed!

                        So this is the catch:

                        1. It's not the distance of the origin of my main model as trees rotating in a weird way do so even when they are a couple of metres distant from the origin which you can see if you import them into a new file.
                        2. Those ones which used to behave unexpectedly were skewed but not all of my skewed trees behave like that.
                        3. I cannot produce such behaviour by will nor the others who tried to do so.

                        That's why I wrote it looks like this will remain some kind of mystery.
                        I solved the problem by replacing problematic trees with some which are not but I don't know what actually went wrong.
                        What?
                        And why?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mac1
                          last edited by 28 Sept 2015, 21:30

                          @aureus said:

                          @mac1 said:

                          Making assumptions is a basic voliation of general approaches to trouble shooting.

                          Cheap philosophy is of no help here.
                          It won't make any serious contribution to this thread. ๐Ÿ˜„

                          Trouble shooting to help NSA and DOD that was a theme always in our minds and you see that same from folks from the FAA during accident investigations. I do not think they think it is cheap approach and we all have a tendency to fall in that trap that can lead one astray. So it is best to not make statements like made here in.

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 2 / 2
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement