alessandro-zomparelli / tissue

Tissue - Blender's add-on for computational design
1.02k stars 74 forks source link

Scale issues in blender 2.83.7 #81

Open VESPERDESIGN opened 3 years ago

VESPERDESIGN commented 3 years ago

Hey Alessandro, I wrote you on youtube, but decided to contact you here also. I was trying to recreate a project you demo'in 2018 in 2.79 I think. I will paste what I am going through from the youtube comment:

This is the tutorial video I am referencing:

https://www.youtube.com/watch?v=N-fNCdjNztk&ab_channel=AlessandroZomparelli

Alessandro firstly I want to thank you for creating this astounding addon. I am very fortunate to have learned this wonderful tool. I am running into a problem. I am on blender 2.837 and I running into a snag. I think it is important to mention that I am working with tissue 3.3.3 also and not the native one that comes in blender. The issue I am running into is from the getgo. When I create the base and branches and leaves. When I try to tessellate the base seems to shrink and is offset by mm. I tried rotating the root plane but it seems to just rotate around the main branch. I have determined that there is something modifying the scale of the overall tessellation and not keeping it at the exact same dimensions. I tested just the root plane and without the branches without the top leaves and it works. I run into the problem once I create those leaves and branches. That is when I run into an issue of the tessellation creating a shrinking effect. I recorded a video to show you. Maybe you can shed light on what this latest iteration of tissue is doing that I am not understanding. I will join your FB page and send you a video recording there, please be on the lookout for me there. I would appreciate what I need to do to make this work. Thanks Alessandro and once again I love this addon.

Here is the link to the video recording I did highlighting the issue I am running into.

https://we.tl/t-Gec1PbIX1x

If you or anyone on your team can offer me a solution I would really appreciate it.

Multo Gratsi Elia

JoelGodin commented 3 years ago

tissue 3.3.3? Maybe try version 3.44 I could not make this happen in 3.40 with 2.83

VESPERDESIGN commented 3 years ago

tissue 3.3.3? Maybe try version 3.44 I could not make this happen in 3.40 with 2.83

I didn't see the 3.44, I just tried it still having the same issues!!!

alessandro-zomparelli commented 3 years ago

Hi Vesper! Your issue is actually related to the Bounds option that you are using for the Component Coordinates. Because the "leaves" of your branch are larger than its base, this is affecting how the component is mapped on the faces. You should check Local or Global coordinates, that allows you to control better the alignment of the component. In my video indeed, I started splitting the base plane because I wanted to work with the local coordinates and have them from 0 to 1, while the default plane goes from -1 to 1 in both X and Y.

VESPERDESIGN commented 3 years ago

Hi Vesper! Your issue is actually related to the Bounds option that you are using for the Component Coordinates. Because the "leaves" of your branch are larger than its base, this is affecting how the component is mapped on the faces. You should check Local or Global coordinates, that allows you to control better the alignment of the component. In my video indeed, I started splitting the base plane because I wanted to work with the local coordinates and have them from 0 to 1, while the default plane goes from -1 to 1 in both X and Y.

Alessandro you are way more intelligent than I am bro. I just tried working in the local and global and recorded the experience. It still caused problems with alignment. Perhaps I am not understanding what you mean from 0-1 and -1 - 1 in xy....I do not see where I can assign in the XY in the Tessalation panel BTW. I am still not sure what I am doing wrong. I recorded another video, maybe you can tell me. I have been trying to crack this riddle for the past two days.

https://we.tl/t-BPBcQXwoAN

I follow your tutorials very carefully. I was working on a multicomponent model as well, the video you did which I would say is more complex yielded perfect results for me.

multi

JoelGodin commented 3 years ago

Hello Vesper. This what Alessandro means by -1, 1 and 0, 1 xy in the global space. Hope this helps. https://youtu.be/GIU_j1bfMYA

VESPERDESIGN commented 3 years ago

Hello Vesper. This what Alessandro means by -1, 1 and 0, 1 xy in the global space. Hope this helps. https://youtu.be/GIU_j1bfMYA

Hey Joel, thank you for that video man. I know in the viewport how that works. I was bringing it up because the tutorial that Alessandro or rather I should say the tutorial from 2018 of the L shape method had a previous version of Tessalate that had a XY field and value that I no longer see in the options, I suspect that makes no difference since it has been replaced. Is there potentially a native world setting I am not seeingor need to make sure is in place apart from the addon?

As you can tell by my video that I uploaded I had placed the beginning plane in the right coordinates and then demonstrated me attempting global and local coordinates and all they would do is simply line up on the vertex edges.

Perhaps a better question should be from me is. Should the origin remain in the center of the starting plane or should I apply all transforms to it to get the origin after I have moved the plane into position to the world center?

If you saw the clip as i am sure you have I did what Alessandro instructed and it is still not working. I think where I am potentially not understanding is the components section of Allessandro's explanation it seems he had different transformations for the branches and leaves then that of the base? I must have watched his video at least 20 times i followed exactly what he was doing. And the base upon tessalation is always off no matter how much I rotate that darn tree base.

JoelGodin commented 3 years ago

You may have missed what he said. Here's a pic.

2

VESPERDESIGN commented 3 years ago

Thanks Joel, I wonder did you see the video I posted? earlier? https://we.tl/t-BPBcQXwoAN It is a new recording of me doing exactly what you just mentioned.

VESPERDESIGN commented 3 years ago

OMG, nevermind, @JoelGodin and @alessandro-zomparelli The mistake is all mine, I took for granted that you hacked the system LOL. When you first started you had SUBDIVED the mesh, I misunderstood you meaning splitted to mean replicated. My mistake. all I had to do what sub and delete the 3 other faces. The way I have been doing it is just moving the plane to the location on the grid. But that is not how @alessandro-zomparelli did it. He fooled the system by maintaining origins but changing the geometry.

@alessandro-zomparelli, you are a genius man. It never occurred to me that I could do that, it applies to so many workflows I can now include. So to be clear this is my mistake, I was so focused that there was something deep into the video I am missing that I just now this morning said let me see the beginning and when I did that and went to the beginning I saw @alessandro-zomparelli sub divide the mesh and when I did it that way, all is now perfect in Vesper Land. Thanks Guys and sorry to have taken up your time.

Also for the record I kept it in Local and it worked.

JoelGodin commented 3 years ago

cool.

VESPERDESIGN commented 3 years ago

@alessandro-zomparelli I noticed in relative mode the component remains the same dimensions but shrinks like in your video. But the constant mode in the local coordinate causes stretching. How do you suggest I fix this?

This is Relative mode image

This is Constant mode. The branches begin to stretch vertically!!! image

I need to stay in constant, but it does not produce great interpolation, here look---

image

alessandro-zomparelli commented 3 years ago

Hi Vesper, great to see that you solved your previous issue. That part is always the most complex to understand by the users, maybe I didn't figure out how to explain it better :-P Regarding the dimensions, I usually prefer to use Relative because this keeps the proportions of your component. If you want to scale them, you should then scale the target faces. Maybe you already saw that, but there is a more updated video on that topic: https://www.youtube.com/watch?v=7Liv--XSaCg&ab_channel=AlessandroZomparelli

VESPERDESIGN commented 3 years ago

I didn't figure out how to explain it better :-P

Don't explain just tell them subdiv the plane and pick this one LOL

regarding the Scaling, I really wanted to replicate your L shape, but I have found with this latest iteration of Tessellate, that I am unable to recreate that shape. What changed? If anything? I have noticed it in constant does not work the way it did in your video in 2018. Am I missing something? Unless it is really a matter of the way the leaves were angled, in that case no worries. I mean with relative I was able to reproduce this

image

So let me know. Thanks for your hard work @alessandro-zomparelli

alessandro-zomparelli commented 3 years ago

@VESPERDESIGN back in 2018 I used an alternative Fracture branch of Blender, now you can do something similar (not exactly the same) using the remesh modifier in voxel mode, but before you should give some thickness to the elements somehow...