Making objects with primitive deformations

Tim el 8 de Nov. de 2024
Actividad más reciente Edición por Adam Danz a las el 12 de Nov. de 2024

You can make a lot of interesting objects with matlab primitive shapes (e.g. "cylinder," "sphere," "ellipsoid") by beginning with some of the built-in Matlab primitives and simply applying deformations. The gif above demonstrates how the Manta animation was created using a cylinder as the primitive and successively applying deformations: (https://www.mathworks.com/matlabcentral/communitycontests/contests/8/entries/16252);
Similarly, last year a sphere was deformed to create a face in two of my submissions, for example, the profile in "waking":
You can piece-wise assemble images, but one of the advantages of creating objects with deformations is that you have a parametric representation of the surface. Creating a higher or lower polygon rendering of the surface is as simple as declaring the number of faces in the orignal primitive. For example here is the scene in "snowfall" using sphere with different numbers of input faces:
sphere(100)
sphere(500)
High poly models aren't always better. Low-polygon shapes can sometimes add a little distance from that low point in the uncanny valley.
Adam Danz
Adam Danz el 11 de Nov. de 2024 (Editada a las el 11 de Nov. de 2024)
The animation at the top of this article that starts with a cylinder and ends with the ray is perfecto!
I used a similar deformation approach in my 2021 and 2023 teardrop entry as well as my 2021 craters function on the FEX. Both start with a simple sphere. Tim took this to a whole other level! The key is to have a library of paramaterized curves available and to know how to combine those curves to form complex shapes.
Tim
Tim el 12 de Nov. de 2024
Thanks Adam! Where were you this year?? Everyone familiar with your stuff was hoping for a submission (or more) from you!
Adam Danz
Adam Danz el 12 de Nov. de 2024 (Editada a las el 12 de Nov. de 2024)
Timing was bad for me this year to contribute to the contest but it killed me to let my ideas for entries be pushed aside. I started a MATropolis animation with a view outside of a cafe window but didn't manage to complete it. The audio added a great touch this year.
Tim
Tim el 12 de Nov. de 2024
Bummer - curious to see it now; hopefully there will be one next year so you can get a second chance. I agree about the audio, although I think it also added a barrier to entry.
Teodo
Teodo el 9 de Nov. de 2024
Tim, your submissions are outstanding. We've all gained great insights from both your code and approach.
Tim
Tim el 10 de Nov. de 2024
Thanks Teodo!
goc3
goc3 el 9 de Nov. de 2024
This is impressive.
I do wish the speed of the animated gif could be slowed down and paused—it contains so much information.
Tim
Tim el 10 de Nov. de 2024
Yeah maybe I should have uploaded it as an mp4 so it could be scrubbed. But, the code lines are just lifted from the sub more or less

Etiquetas