Halloween Costume ideas 2015
Articles by "anstudy"
@dorothiar #arttips #interview 101 2 Column Template 2012 mentee 2013 2013 mentee 2014 2014 mentee 2014 Portfolio Winner 2014 SCBWI Portfolio Mentorship Winner 2015 mentee 3 Column Template 360 3d 3d print 3d printing 3delight 8bit Abbey McCulloch abstract acryla gouache acrylic action addon adobe Adobe Flash CS3 Adobe Illustrator Advanced Tutorials advection Advertising advice Agata Wierzbicka agents airplane Al Wiseman ALA Alan E. Cober Alan Lee Alex Ross Alexandra Compain-Tissier Alexandra Lekias Alexandra Levasseur Alexandre Korobov Alexis Winter algorithm alien ALT Amelie Hegardt Amit Shimoni amusement an Ana Aranda analog Andrea Hrjnak Andrea Hrnjak andrea offermann andreaoffermann andreazuill Andy Musser Angela DiTerlizzi Angelika Peißker animal logic animals animation animation nodes anime anisculpt Anja Kroencke Anna Higgie Anna Jensen Anna McKay Annabel Briens AnneBerry Anneke Krull Annu Kilpeläinen anstudy anthology António Soares ar arduino area armature arrange array array modifier arrow art art director art directors Art is fun! art reps art tools Artaksiniya arthictecture arthur rackham artists artwork ase Ashlyn Anstee Asian aspiring asset atom attribute attribute transfer audio Audrey Kawasaki augmented reality aurasma Aurelius Battaglia author illustrator automatic automation Autumn Whitehurst avatar Avrom Yanovsky AW14/15 award awards Babeth Lafon Babies baboon Baby Love Background background color bacteria bake baking ball Bamboo banner Banner images banner making Barbara Dziadosz barcode basic bbox beads beats Bec Winnel beginner Bel Johnstone Ben Denison Bernie Fuchs Berto Martinez Beth Krush better photos bge Bijou Karman Bike biscuit bishop black and white black and white art Blair Breitenstein blam blender blender game engine blender3d blending Blinkie Blinky blob blocks Blog Tips blogger Blogging Friends blogs Blonde blur effect in pixlr and photoshop blur images and pictures bmesh bmesh viewer bolognaragazziaward bombing bone bone modeling bones book book launch books boomerang bottle bounding box bowl bpy brian eno brian ormiston Brian Sanders brian won brick bridge Bridget Davies bright Brooke Boynton Hughes build modifier building burns business Buttons bvh cage Caitlin Shearer caldecott calibration camera camera settings camera tips Candle capcom card career Carole Wilmet cartoony Cassandra Rhodin cast Catherine Campbell Cecilia Carlstedt cell center pivot centipede cg cg photography chair challenge Chanel changin color in pixlr changing color chaos character Character Bible character development charcoal charles Charlie Dot Charlie Hebdo Children children's book illustration chocolate Christina Drejenstam christina forshay Christina K christinaforshay Christmas Cindy Derby circle circle dance city cityengine clock clones cloning cloth Cloud based clover CMYK Coco Chanel Cody and the Fountain of Happiness coffee collect collection Collections collision color color balance color cast color correction color mode color study colorful Commercial Use complexity component compositing composition computational thinking computer concept art Condensed Posts conference connect connect the dot connection Connie Lim Conrad Roset constrain constrast contagion content Contest contracts control converter copy copyright Corinna Luyken count Courtney Brims crack Craft craftsmanship Craig & Karl creative creativity creature cricket Cristina Garcia Martin critic criticism critique Crop Crop Tool cross section crowd csv cubism curve curve modifier custom Custom Blog Design Custom Blog Design Tutorial Custom Blog Designers Custom Illustration custom properties Custom Signature custom xml cut cutting plane cycle cycles dae Damien Florébert Cuypers Dan Hillier dance Daniel Egnéus Daniel Segrove Danny Roberts Daren Newman Dasha Tolstikova data data path David Blossom david diaz David Shrigley David Stone Martin Dean Hardscrabble Debbie debbie ohi debbieohi deform deformer degrees deleting background in pixler demo demoscene desaturation of images design design by numbers design process Design Tips dictionaries dictionary Different Text Writing in Pixlr digital digital paint Digital Scrapbook Freebies Digital Scrapbooking disk distance distractions distribute diversion DIY DIY Contest Dolf Veenvliet Doll Doll Bones dolls domino domino effect doodle Doodles door doraemon Doris Jackson Dorothia Rohner dots dpi draw drawing drill driven driver drivers dual versions dummy duplicate duplicates duplication dupliframe dvd dynamic dynamic paint dynamic text E Simms Campbell Easy easy pixlr Easy Tutorials Ed Graham Ed Vebell editing editing photos editors education effect effects ego Eleanor Dalton electric Elia Fernández eliza wheeler Elizabeth Mayville elizawheeler Emily Forgot Emma Zanelli emoticon happy-face Emotional storytelling empathetic characters empty entoforms envy epicycloid EPS Illustration Epson scanner erasers Erin Armstrong Erin Petson erinoshea ernest shepard Esra Roise euler evaluate line Eveline Tarunadjaja evenly spacing vertex event everywhere door exhibition Expandable Posts experiments explode exploded view export expression extrude eye eye color in pixlr eye trick eyeball face rig facial expressions facial setup factory Faiyaz Jafri Families fashion illustration fashion week fcurve feature Featured Fee Harding Feedback fence Fernanda Guedes fibonacci Fifi Lapin file File Types Finalists Finding Nemo fire fix photos Flash Tutorials flicker flip flip flop floor flop flow flower Flowers fnmatch focal point follow up font Fontaine Anderson Fonts food footage For Sale force form formula fractal fracture frame Frames Francois Berthoud Frank Bellamy Frank Furlong Franklin McMahon freckles Fred Steffen FrederiqueBertrand Free for Commercial Use Free for Personal Use Free Stock Photography Free transform tool Freebies Frenchillustration Fritz Siebel frosted mylar fruit ninja Fumi Mini Nakamura Fun function futurism FW2017 fx Gabriel Moreno Gabriella Ibarra game game animation gameart gamma gangnam style Garance Doré Gary Fernandéz gel medium generate generative generator geometric geometry Gerald Lazare Géraldine Georges GIF Gildo Medina Girl Giuseppe Castellano Giveaway glorar goals golden ratio google google docs Google Tools Grant Young graph graphite graphite transfer grease pencil grid group group node growth Gucci Guest Guil Godier gustave dore hair handbook Harper's Bazaar harpercollins Harvey Schmidt Haute Couture head Headers heat map Helena Hauss hexagon hexagonal grid Hiroshi Mizuno Hiroshi Tanabe Holiday Holly Black homology honeycomb hook horror houdini how to how to blur a face or an object in pixlr How to change eye color how to delete an object how to desaturate an image how to edit a image in pixlr how to erase an object how to fix red eye problem how to fix red eyes in pixlt How to fix the parts in pixlr in photoshop How to make a banner in pixlr How to overlap the nevus how to remove a object How to remove an object in pixlr how to remove red eyes How to Remove the Background of an Image in Pixlr How to remove the parts that you don't want in pixlr and photoshop how to replace color How to write a Patterned Text in Pixlr how-to Hsiao-Ron Cheng hsv hue humor Hyshil I love illustration magazine idea ideas Igor+André illusion illustrating illustration illustration board Illustration Books Illustration Intensive Illustration Now! Fashion illustration process Illustrations Illustrative Berlin illustrator Illustrator Intensive Illustrator Tutorials iloveillustration magazine image ediditing lessons Image Ready image sequences image theft imaginative import import text import vertex color improving photos inbetween index visualizer Info Ingrid Bockting ink inktober input Inspiration inspirational quotes install instance instance switching intensive interaction Intermediate Tutorials internet interoperability interpolation intersect intersect edges intersecting intersection interview introduction invoke subprogram io ipad Irana Doucer Isabella Hemmersbach islam islamic iteration Izzie Klingels Jack Hearne Jack Tremblay James Dignan James Gurney japanese Jason Brooks Jean Kim Jeanne Detallante Jen and Chris Creed Photography jen betton Jen Rofé Jenny Mörtsell Jeremy Combot Jeslyn Kate Jesse Auersalo Jessica Jessica Lanan jessicalanan jewellery jewelry jiggle Jim Schaeffing Joe Bowler Joe Cleary Joe Isom Joe Krush Johanna Goodman john maeda John Vernon Lord joint Jordan Sondler JPEG JPG jpop juana martinez-neal juanamartinezneal Judge Judit Garcia Talavera Judith van den Hoek Judy Byron Schachner Jules Julien Julian Beever Julie Verhoeven Jump Break Tool JW Anderson K-Fai Steele Kaethe Butcher Kareem Iliya karel zeman Kate van Harreveld Kathrin Kuhn Kathryn Ault Noble Kathryn Noble Katie Kath kdtree Kei Meguro Kelly Beeman Kelly Light Kelly Smith kelly sonnack Kelly Thompson keyframe keyframing kidlit kidlitartists kimberlygee Kirkus Review Kisoo Chai Kodak Konstantin Kakanias Korean illustration Kotaro Chiba Kozue Himi Kremos Ksenia Finogeeva KT Smail kuler Kustaa Saksi Lanan Laptop larry gritz lasso tool latte lattice Laura Callaghan Laura Laine Lauren Rille layer layering Layla Holzer layout leaf learning learning blender LED Leendert meets Ingrid lego length Leonard Starr lessons levels LFW A/W 14 liangzhu liero lightbox lighting lightning Lina Bodén Lina Ekstrand Linda Dorn line line connect line drawing lines Links Linky Love Linn Olofsdotter Lionel Gilbert Lisa Anchin Lisa Billvik Lisa Krannichfeld lisaanchin lisbeth zwerger Liselotte Watkins list list comprehension List First Last listing locator lofting logo Logo Design Lola Dupré London Fashion Week loop looping loops looptools Lorraine Fox lossless lossy lost weekend lostweekend lotte reininger Louis Glanzman louis vuitton Luciana Rondolini luciograph LULU* lv Lynnie Zulu Mac macgyver macouno maeda Magda Antoniuk magic Magnus Voll Mathiassen mailing mailings maker Makiko Sugawa making banners Malika Favre MAMP mandala manga map map range maplelam mapping Marcel George Maren Esdar Margot Macé Margot van Huijkelom Maribeth Olson Marie El-Ahmar Marilyn Conover Marina Esmeraldo Marine Marbleindex mario Marlies Niemeijer Marsha Riti Martha Rago Martin Krusche Martine Johanna mask masking material materials math matrix matrix apply matryoshka Matt Baker matte medium Matthew Woodson maya maze mdd Meagan Morrison measure megaman Megan Hess Meizhen Xu Mel Crawford memory mentee mentees mentors mentorship program Mercer Mayer Meridth McKean Gimbel mesh mesh cutter meshlab Meta Tags metal gear rising Meyoko Mia Overgaard Micca mice Michael Sanderson Michela Picchi middle grade midi miku Milan milipede minidom Minima Mio Matsumoto mirror cut Misc Miss Blackbirdy miss maple's seeds Miss Take Mitchell Hooks mixamo mixing Mobile Apps mocap mod model modeling modifier modular modulation modulus mold molecule molly idle Molly Ruttan Molly Ruttan Illustration money monitors monkey mono-zero monster monster university morph morpher mosaic mosquito motion motion capture motion capture mouse motion trail moto360 mountain muji Muriel Wood Murray Tinkelman mushroom Music and Podcasts My dead pony Nadia Flower Naiad Einsel Naja Conrad-Hansen Natalie Brockett Natalie Foss nathan vegdahl nautilus Nav Bar navigation needle-felting negotiating Neil Boyle neon nescbwi14 nested New Blogger Questions New Blogger Template Tutorials new user pixlr new year new york New York Fashion week Newbery nicholas nicholas bishop Nicholas Hong Niki Pilkington Niso Ramponi nla No Software node node-based nodebox noise non linear animation Non-Web Font normal Noumeda Carbone npr number NURBS NYFW object object color change object info octopus offset Ola Volo Olaf Hayek old formats opaque projector open movie open shading language open source openshadinglanguage opensoundcontrol optical organization origami original art show Ornaments osc Oscar Schlienger osipa osl outline outliner output Pages paint paint weight painting painting on illustration board painting on wood painting with movie painting with numbers Pair pandas panorama Paper paper lantern parabola parametric parent parenting particle particle info node particles pat david Pat Zietlow Miller pattern Patterned Text Paul Faassen Paul X. Johnson Paula Sanz Caballero PC pdb pebbles pencil Pencil Sketch pencils Penguin perfume perlin Peter Helck Photo CD.8B photo editing software Photo Reference Photobucket photographing art Photographs photography photomerge photoshop Photoshop Brushes Photoshop CS3 Photoshop elements photoshop pixlr desaturaion Photoshop tips Photoshop Tutorials Picture Book Builders picture books Pierre Louis Mascia Piet Paris Pietari Posti pingpong pinnochio pipes pixar pixel pixel art pixel generator pixlr Pixlr advanced Pixlr blog pixlr desaturate keep a colorful part pixlr editting pixlr express Pixlr forum Pixlr free transform Pixlr Lesson Pixlr lessons Pixlr mobile Pixlr resizing images pixlr shortcuts Pixlr tools pixlr tutorial pixlr tutorial with pictures Pixlr Tutorials pixlr white black pixlr.com plant plot plotting ply PNG PNG Illustration podcast point point color pointilism polka dots polyCut polygon Pomme Chan pop-overs portfolio Portfolio award portfolio showcase portfolio-advice portrait position Post Dividers postcard poster Posting pot powdered graphite powerhousemuseum Prada presentation print printmaking Prize procedular procedural process processing programming projection Promotion property prototype PSD psy publishing pulse puppet puppetry pydriver pydrivers pyhandler pyhandlers pyramide python quad quick select set quick tips qumarion Rabbit Moon Rachel Ryle radians radius ramp random random motion randomization randomize range float raspi Ray Houlihan reading reading XML READY-TO-WEAR realflow Rebecca Clarke rebecca dautremer Rebecka Skog rebuild recursive recursivedrawing red eye remove reducing glare reference referencing release remesh modifier remix removal remove remove red eyes remove unwanted objects Removing backgroung render rendering renderman repeat repeater repeating replace replacement replacing color representation rerouter resample resampling research Resizing image resolutions retopology retro review revolve rgb rib Ricardo Fumanal Richard Scarry rig rigging rigify Rikke Jorgensen ring ripple roadkill Robert Heindel Robert J. Lee Robert McCloskey Robert Shore Roberta Zeta Robin Rosenthal robot robotic rocks Rodolfo Montalvo Roller Coaster rotation Rousseau rsl Rubin Pfeffer ruler tool Russ Mills russian rut S/S14 S/S15 S/S16 Sabine Pieper sadako Saftey Pins Sainte Maria Sale Sam Weber Sanda Suy Sandy Kossin santoso Sara Andreasson Sara Singh Sarah Jacoby saturation artist tools scan scanners scanning scatter scbwi SCBWI 2015 mentee SCBWI conference scbwi germany SCBWI mentorship scbwi-la scratch scratchboards screensaver screw screw modifier script scrub sculpting seamless Seamless Patterns Search Engines select by material select by name select by type SEO sequence series set keyframe set keyframes shader shading shadow Shannon Stirnweis shape grammars shape key shapekeys shapes shards shatter Sheilah Beckett shell ship shipping shipwright Shoes SHOWstudio shuffle Sid Barron Sidebar Titles Signature Silja Goetz silkworm Simon and Schuster Simon Varela simple simplicity simulation sine Site Engine Optimization Sjoukje Bierma sketch Sketches sketching skin skin modifier skinning slice slicing slides sloth slow parent smoke smoothstep SN snake Sneek Peek snippet Snow Snow White Snowflakes soccerball social media Social Media Buttons Social Networking society of illustrators Society6 soft body softbody Sonia Menti sound sound wave space spaceship sparta special spider spiderman spiderweb spin spiral Spiros Halaris Spiros Halaris x Urban Decay spline Spot Healing Tool spreadsheet SS16 stack stacking stair stamp Stan Galli star starfish stencyl step Steven G. Dobson still Stina Persson stone stones storytelling strand strand info strands street art string stripes structure studies studio style stylistic summary Summary Posts Summer sun supplies surface Susan Farrington suzanne Suzanne Kaufman sverchok swatch switch sydney system table table of contents take out background Tal Drori tangent tangled Taschen teaching teapot Template Templates tentacle Tess Jacobson Tex Avery text text editor Text Formats Text Styles in Pixlr texture texturing The Cartorialist The Grudge Keeper The Purple Book thinker1 Thomas B. Sawyer thread TIFF tile tilecam tiling time time code Tina Berning Tina Kugler tips tips for artists Toby Neilan Tom Baxter Tom Bjarnason tombow tomie depaola tool tools topology tower Tracy Turnbull Train transfer drawing transferring sketch transform transformation transit travel triangle wave Tricia Springstubb trigger tris tristan lock tube tubes Tutorials twitter type tool typeface typography unbake unity3d universal unquad utah uv valentine Valentino Valerie Servais vanilla variable variation variety vase vector vectorized Velwyn Yossy venus Veronica Ballart Lilja vertex vertex color vertex group vertex paint vertex weight VFX Victoria Boysen video Videos viewer Vintage virtual virtual studio visualization vivid vividfestival VOGUE volumetric voronoi Vote voxel voxelated voxelation walking teapot Walter Einsel wand tool water soluble graphite watercolor wav wave we need diverse books web webbing Week Themes weight welcome Wendy magazine Wendy Plovmand what casues red eyes What is Pixlr Wherever You Go Wide Awake Bear wiggle Will Davies Winner Winnie Fitch Winnie Truong Winter wire wired wireframe wolfram Woman wood woodwork wool wooly wordpress work workflow World writing writing XML www.pixlr.com XML YA yayoi kusama Yelena Bryksenkova yoda Yoko Furusho Yuliya zaha hadid zen zsphere



After a while, I realized that Procedural Animation is really different from Manual Animation. Both creates movements and beautiful visual that can entertain many, but the thinking is different. This is probably obvious for long time animators that got exposed to both. Not something that you need to think about, when working. It just happens.

What I mean by Manual Animation in computer is what is rooting originated from Traditional Animation, frame by frame, pose to pose. We can more about the pose of characters, or how non animated objects can tell story.

Procedural Animation, however, it is more like about automation. Generated. Sometimes accidental, sometimes complex to create. But more closely related to the beats of music.

NOTE:
If you happened to know any "Animation Mentor" students, they might mention "beats and rhythm in animation" while animating a character. It's advanced stuff.

I have personal interest in both manual and procedural animations. Sometimes I think manual animation is too tedious, some can be automated, like Walk Cycles. Currently the best usage of generated animation and real animation is in robotic or video games industry.

ELECTONIC MUSIC

Talking about beats of music, I think creation of procedural animation can learn by observing electronic music, sampling and loops.

Few apps for iPhone and iPad gave me this inspiration to write this article:

  • Auxy
  • KORG iDS-10 (like Nintendo DS one)
  • Loopy HD

Those example apps basically allow user to create musical loops. If you can get a hand on it, it's highly recommended. Watch some YouTube DEMO it will help you to understand what I am attempting to do here.

Apple's Garage Band does this too, although not so obvious. Basically any music apps or programs out there, for PC or Linux, that actually loops sampling and show MIDI UI is nice.

Some AN developers actually have similar ideas. But I think it's a pending task. Basically a way to make it easier to construct animation in Blender, using Animation Nodes, in a way we can create songs using MIDI apps. It's in the AN Github forum somewhere.
https://github.com/JacquesLucke/animation_nodes/issues/332

Which leads me to this forum thread: (but I have not checked it)
http://blenderartists.org/forum/showthread.php?378208-Add-on-AddMIDI

In short, I am attempting to visualize AN to use: BEATS and LOOPS and PATTERNS to MAKE PROCEDURAL ANIMATION.

PROCEDURAL ANIMATION LOOPS

Before I jump right ahead trying to build node tree of LOOPS that further LOOPS, and get complicated, I will start simple.

(Actually, this is my 3rd time trying to get my head around how I could write this and explain my thoughts. I make 3 different node trees trying to achieve similar thing.)

I need to make a very simple node looping thing.

Let say, create animation of a jumping / bouncing Suzanne head. All procedurally created, and the animation will simply loop. But the height of jump of Suzanne needs to be able to be controlled per beat or depending on pattern.

Do you reckon you can make this?

IDEA 1:
You can use some math expression to achieve bouncing effect. You learned this already if you happened to read my old, old article. It's using the SINE and ABS you can create this bouncing motion animation.

I did try it using AN Expression, the math.sin() formula is a bit strange that it ask for Radian... anyway, see the last image in this article to see my attempt.


IDEA 2:
To actually create and using Animation Curve. Wait... did you say Anim Curve? Isn't that a Manual Animation? Semi-Procedural animation, I think it's the most correct term.

I mean, creating certain animation Curve using Math Formula... c'mon, it is stupidly complex and unnecessary for artists to having to create formula for a curve. A much better thinking is to visually create the curve and further use it procedurally.

So in procedural animation, we should care more about animation curve in between keyframes and how we can break them into elements.

The node tree I built looks like below:



I really started from "Interpolation from Curve Mapping". That is my very 1st step.


I quite like this node. It is visual. Kind of like something that can be use to "Ramp" values and maybe to create random looking curve, and can be used for lots of things.

I think the node has a bug that is causing it so the first and last value has "jump". But if we use Debug Interpolation node as viewer, we can see the real value being sampled from 0 to 1.


Next thing I did is to use the Evaluate Interpolation node. It's obvious node to use for this case. We just want to "translate" that Anim Curve into animated value, that we can use to animate any object in 3D scene. Just the Translate Z value of an object, in this case.

You see how I use Time Info and Repeat Time (it's looping!) to control the looping jump motion. It's really easy up to here.

Next, I add some more nodes just to MIX thing a bit.


Above, I am using a simple list in "Text". The text looks like this:
1, 0, 1, 0 ....

Some kind of pattern value that generates number list to be used to mix and multiply the translated Anim Curve values.

This way, I can make the bouncing goes like this:
BOUNCE, OFF, BOUNCE, OFF.

If we use values like this:
2, 6, 3, 2, 2, 1, 2

It will translate to the jump so the jump heights changes depending on how it multiply the curve. Very neat actually!

START THINKING ABOUT LOOPS...

So.... from here, really you can sort of starting to get an idea how we can utilize LOOP to make animation that actually does look natural and believable and the cool thing about procedural animation, is we can quickly create variations.

I leave it here for now. But you go ahead.

Roughly, I think it's possible to create a "MIDI like animation loop" setup using AN, without visual. It's just by using that Text Pattern thing.

1, 0, 0, 1, 1, 0, 0, 1
1, 0, 1, 0, 1, 0, 1, 0
etc.

You can use this for many things:

  • to animate Lights in Cycles
  • to animate traffic lights
  • to procedural animate based on MIDI

I need to look for more inspirations around. Maybe by learning already existing works.

Few things I found during my study:

  • Blender's Time Line started from frame 1, start using frame 0
  • Start thinking about Length of animation for main loops, let say, we have the running timeline, which extend continously. But maybe our loop is 200 frames. Maybe our LOOP has 4 BEATS (it can be 4, 8, 12, etc) , each BEATS is 50 frames in length. 

ANIM CURVES or MDD CACHE?


Below is the big node tree I first built when I was marking around to get AN to repeat beats patterns and move every click and loop back.

One Loop can goes to the next Loop or branching. But then it started to become like game animation?

I think it can be simplified, really, become AN GROUP node that just does the job.

Here, all the loop is just a single value for an attribute. It's the most basic, elemental. Would be nice if we can utilize something like MDD animation or cached animation.

Or even Blender's own Action, if that's simpler for mind. 

I personally don't quite understand animation like NLE, or layering of animation. I sort of can think animation in term of BLOCKS, BLENDING, but maybe noding is needed too somewhat to have more control.

Mind you also that this loop business, it's really similar to programming too. But just a bit more visual and easy to understand that we use node. 


Silly attempt to try looping.

PATTERN GENERATOR EXAMPLE

This might be useful for you.




A CHALLENGE:
Animation spider legs procedurally using the method above?



Here is a quick AN exercise:
"How to make Epicycloid?".

I decided to write this real quick after receiving email from Eli S earlier this morning. Thanks for your email asking about this, I guess nothing wrong to try to review old thing. Maybe I was missing a step in my explanation in my old writing.

Not long ago I must have done this using Sverchok. Either way, they both can do cool stuffs that overlap with each other. Just slightly different way of thinking.

Animation Nodes (AN) add-in in Blender is really fantastic to build a quick prototype to study motion. Like Steve Jobs would say: "It's INSANELY GREAT." I would say AN is INSANELY AWESOME!

AN Script Node for Epicycloid

You can create this Epicycloid shape using a few Math and Number nodes or perhaps Expression node in AN, however, I decided to use AN Script Node. Why? Because I want to show clearly INPUT and OUTPUT things the simple way.

This is really simple to build, actually.

1) Research the Formulae for Epicycloid

You must love Math, like I do :) Not the complexity per se, I mean, the complex stuff will be dealed by smarter geniuses people. We, computer artist, very often can skip that part and simply use the formula. For epicycloid shape, I found this on Wiki, super useful:
https://en.wikipedia.org/wiki/Epicycloid

2) Write it down
I quickly jump into Blender and rewrite the formula inside Blender Text Editor. I do not write this in single typing. Basically I started just by typing this:

x = r * ( k + 1 ) * cos(a) - r * cos ( (k + 1) * a)
y = r * ( k + 1 ) * sin(a) - r * sin ( (k + 1) * a)

THEN, it become something like below:


Few things changes, depending on what variable names I give, what are going to be the INPUTS and how it fit the requirement of AN script node. You add input and output variables as needed.

3) Noding it
AN Script node does all the magic. You could actually make your own custom (real) node for AN that simply creates Epicycloid shape.

For our purpose, we use Script node, which is like a quick prototype node. It's really fast to make and super handy for a lot of things.

Keep in mind that this Script node is linked to your script earlier.



4) Build the Node Tree
The rest is piece of cake. You simply use the actual Script Node and test it in 3D View.


I am applying the Epicycloid formulate to create this epicycloid motion to the default Cube.

The shape will be created as we play with the ANGLE variable. I use the Time Info node, and plugging in the output to the angle. Watch out here that I convert the Degrees to Radian in order to make this working properly.

5) Viewing the Motion
Now, in order to view the motion, you need to see it in Playback. As this is really just a motion in shape of Epicycloid.

What nice is that Blender has a way to display a keyframed motion, and this is build in on object transform, under "Motion Paths" subpanel.

What I did below, is I am using AN Set Keyframes to bake the motion, then I simply draw view the curve motion.




Drawing Epicycloid Curve using AN

I was going to stop writing here. But then I am thinking... You must be curious on how you can draw this using AN?

If you read my previous blog writing, you should be able to build the setup.

The aim is to generate Vector List using Loop. It's easy. This way we can pipe the Vectors => Points for Curve aka Spline.



We can smooth the spline, bevel it etc, and then voila, a 3D cycloid mesh.



And... moreover, why did we do all this steps? Because in node based system, you can always go back, change variables, improve it and you get different result.


That's all folks, Merry Christmas 2015, since it's already pass, hope you all have an insanely awesome new year 2016!



PYTHON AND ANIMATION PIPELINE


You can skip all my rambles to the actual topic by direcly go to (*) below.

Few days ago, I was watching this 2 hours video regarding "Python and CG Pipeline. There is one part about ANIMATION that I am interested in: A mention of MDD Cache for animation transfer between softwares.

You can watch the video here: (original video is in Russian by Russian TD, then translated by another Technical Director)
https://vimeo.com/88080700

Basically this Technical Director (TD) was giving an example scenario where Python might be useful to pass on DATA between softwares, like in this case from Maya to Houdini (it can be IN and OUT from and into Blender too of course).

FBX format is apparently (still) not perfect for exporting and importing. Houdini FBX Import from Maya does not guarantee a fully compatible correctly read data. This is a common situation in any production, the format conversion is often not perfect out of the box. Using Python, the TD wrote this "translator" that export out MESH data as BGEO format (Houdini native, more robust than the basic OBJ) and the ANIMATION data as MDD Cache.

I remember that Blender has a pretty good MDD tool built in, and it is part of Blender's Modifier. Cool, let's talk how this later relate to the AN business.

ROUGH PIPELINE SUMMARY

I will try to explain a bit of summary about "CG Pipeline":
In CG Production, there will always be a stage where everything is "baked" prepared for (Final) Rendering. Asset and Rig are baked, Camera animation is baked, Shader is baked, Character animation is baked, VFX is baked, and so on.

BAKED DATA can be "final", but does not always mean final, meaning that artist can always go back and make edit, just in case there is an issue.

However having this BAKING STEP implementation allows for CHECKPOINT and VERSIONING before re-assembly. Definitely allows for flexibility for a lot of situations.

BAKING can sometimes expensive, especially for VFX simulations.

Ideally, the whole production is made inside "just one" software/tool that does every stage of production smoothly. For example, Blender is one tool with a complete and robust tools. Including compositing.

In typical film or game productions, many artists may use different tools:
- MODELING: ZBrush, Mudbox, Sculptris, Blender
- RIGGING: Maya, Houdini, Softimage
- ANIMATION: Maya, Houdini, Softimage
- VFX: Houdini, Maya, Softimage
- RENDERING: Arnold, Renderman, VRay, Octane
- COMPOSITING: Nuke, After Effects
- VIDEO EDITING: Premiere

Blender, I believe, WILL eventually fit every stages to help artists. If not already.

What really important is usually the way we "BAKE" animation or "TRANSFER" data between tools, along the pipeline, to ensure smooth process.

Remember this:
For any "procedural" workflow, at some point we need to bake.

WATCH OUT:
Although baking of animation is nice, sometimes this is also not always possible. Sometimes Anim Curves need to be retained and re-applied to the RIG ASSET.

I believe current convention in CG industry is to use Alembic for baking mesh data. Sometimes we actually need to bake the Animation Curves into generic data that can be passed on between softwares. All this needs to be taken into consideration.

In the past, I have experienced in using Maya and Houdini as ASSEMBLY tools. Blender actually has this potential to be the assembly tools because of its open source and always available to use in any system.

But well, it's all back to the Studio Production Pipeline.

MDD CACHE FOR BAKING ANIMATION

MDD Cache, although old and may does not seem much, has a lot of potential and advantages. It is really simple to use too.


ALEMBIC is probably the next thing to look at, once Blender implemented it (!)

Anyways, MDD Cache allows DEFORMING MESH ANIMATION to be baked fully. By doing this, we are no longer dealing with hundred of animation curves (f-curvds) which is good!

NOTE:
One note, althouth mesh caching is great for film animation, maybe not for Game Animation that requires joint, but there is always a way to "reverse engineer" MESH ANIMATION to JOINT ANIMATION.

ANIMATION NODES TO CONTROL MDD ANIMATION (*)

Ok, FINALLY ....
we got to cover the actual topic on using Animation Nodes toolset for MDD Animation.

Above, I am trying to give us a background scenario of typical MDD usage to bake animation in pipeline. Beyond that, MDD can be used to create complex animation. For examples, maybe we want to:
- Generate multiple VARIATIONS of animations
- Create OFFSET ANIMATIONS for same rig
- Have easier control over thousands of rigs (simple crowd system)

What I really want to cover here is one way we can think procedurally using nodes to offset animations :-)

Simple right? Well, apparently not that simple.

Although we already have "F-Curve Animation Offset" AN Template, that can help offset animation curves, but I believe it works only for a single object transformation, and that its function is simply to offset animation to INSTANCES (duplicate) of same object.

What if we have a rig with many controls? Do we need to deal with bunch of controls and f-curves and then re-apply it back into rig? Although this is probably possible, I think it's really too complicated for now.

That is why I am looking at MDD Cache for now.

Caching/baking animation really simplifies a lot of animation complexity. By baking, we don't have to deal with hundreds if not thousands of Animation Controls and Animation Curves and Attributes.


BLENDER ACTION BLOCKS AND NLA (Non Linear Animation)
Blender has this function built in to turn animation curves into block of animations, and we can sort of arrange and edit animation like NLE Editor.

It might be handy for certain scenario but I honestly have very little experience with Blender NLE, animation block layering, etc. I think it can do what we are trying to do (offseting animation) using block of Animation Actions, but we will take it a little further and tackle the problem procedurally using animation nodes.

I am definitely more familiar with MANUAL ANIMATION and PROCEDURAL ANIMATION, and SEMI-PROCEDURAL ANIMATION is really my desire to achieve using Blender and Animation Nodes. It needs to be simple enough concept that animators can learn in technical level.

LET'S BEGIN...

We will use a simple rig to explain this concept. By understanding this example, you will learn further about LOOP and data GENERATOR of AN.

1 Rig and Multiple Controls
You can use your own rig. Or download from Blend Swap. But basically you need a deforming mesh that you can export animation as MDD.





2 Export out MDD
Activate MDD exporter from the User Preferences. Maybe it should always be ON by default, because Blender's MDD reader is always part of Blender Modifier feature. Anyway, "Save User Settings" if you like.

Then, you select the mesh that is deforming and then export the animation as MDD.




3 Use the MDD Cache
Once you have the MDD, all you need is the "original mesh" duplicate or imported into the 3D scene, and apply Mesh Cache Modifier, read the MDD cache from disk, and to apply it to the mesh. Then you get the animation back.

The mesh needs to be identical to the mesh used for rigging and animation in term of vertex order. We will be using AN to "drive" the "Evaluation Frame", so I set it to "Custom".



WEIRD BUG:
Sometimes after you save the Blend file, and re-opening, the path into the MDD might change, for example:

Correct:
//../MDD_TEST/simple_single_surface_rig_001.mdd

Wrong: (when opened back, was working...)
//MDD_TEST/simple_single_surface_rig_001.mdd

Make sure you put the //../ dot dot.

4 Offseting MDD Cache using AN Node
This part is pretty straight forward and simple. You just need "Object Attribute Output" node that can directly drive any attribute of an object.


The DATA PATH here is: modifiers["Mesh Cache"].eval_frame.

At this stage, note that we can actually have MULTIPLE caches, different kind of objects ANIMATION. Later on below, when things get serious, you will see how we can orchestrate many objects using AN node LOOP.


5 Using Loop Node
Now, this is the FUN part.

If we were to manually connect nodes for multiple object with MDD Cache, and create offset, we might have something like below:


Above is not wrong, in many software packages (such as Maya), this is actually what is happening under the hood. It's pretty crap, however easy to connect nodes to create offset using script, user will still end up with web crap of noodles and nodes. What if we have hundreds of objects? It will be a pain to connect.

You could write Python that randomize the "Object Attribute Output" node's attribute ("Delay" attribute, in this case), but still that is not efficient.

AN actually has a nice looping system that is pretty robust, yet pretty simple to understand.

How do reduce the connections above into a nice system? First, I look at which ATTRIBUTE that will have MULTIPLE values applied FOR EACH. In the way, AN Loop is similar to Houdini's "For Each" node conceptually.

Above we can see:
- DELAY: will have different values per object. How many? As many as user wanted.
- OBJECT: will have different input, whether the user supplied objects via "Group" node, or

So, I was first experimenting with generating the random values, this will be LIST of random values we can plug into DELAY attribute. It's a floating values.


LOOP in AN will do either of below:
- To "do something" for each LIST of input
- Generating LIST with certain number of iteration

6 Loop that generates LIST of OFFSET values

Above, you see, those network in light maroon color, is responsible to generate LIST of values for our OFFSET DELAY attribute.

7 Loop that take LIST of OFFSET and apply to MANY OBJECTS with MDD


I am plugging in the OUTPUT into another LOOP. The setup will then magically takes the generated offset value, and loop iterate it for X many objects we supply via "Group".

Don't you think it's such a revelations?


At this stage, you should already see things happening. You could Blender duplicates the mesh + mdd mesh cache modifier, and each one of this object will be controlled by our setup, each being offset slightly in random fashion.

This is a rather complex setup. Well, still a "simple" basic procedural magic example. But creating this any other way probably will not be as elegant.

HEY, CAN'T ONE JUST USE PYTHON?

SURELY, you can always make Python script that generate random values and apply it ONCE OFF to randomize the offset, and then create driver expressions that drive each "Evaluation Frame" of MDD objects so that we are getting the same effect.

However, this is one ideal situation when we set everything nicely, we have full control over the whole things. And more over, you could expand from this and make all kind of tweak and variations.

I WANT MORE...
The setup can be more elegant and reusable if we maybe create an AN GROUP CONTAINER for our node. AN prodives this way of organization to reduce clutter of node noodles.

You might want to check AN Subprograms "Group". It's like a way to nodify node network and reduce it into a CUSTOM NODE container that takes INPUT(S) and spit out OUTPUT(S).

If you check some of the AN Templates, you will see this "Group" custom node is used quite often. At first, this might feel like an extra unnecessary step, but when our network grows over 100 nodes or perhaps we often use a certain node setup, this will become very helpful.

Maybe I cover that in next article.

Good luck!











I like to really explore Splines using Animation Nodes (AN).

Splines aka Curves is often the odd one, the one that do not get much attention these days because the popularity of Polygon mesh. Luckily, I started 3D by learning about NURBS and Curves and Surfaces in Maya, so I kind of have an equal love between Curves and Polygons (!).

In Blender, Curves object is a special one (just like Text object or Metaballs). It's more than just a curve, it can "morph" into lots of other objects really quickly via Modifiers or other ways.


In order to really understand Curves, we need to look at it slowly and thoroughly.

The Simplest Curve...

.... is made of 2 Points.

I am using Sverchok point index viewer because as far as I know, Blender is not showing points in Object level, needs to go to Edit mode, but that's a hassle.

Two points will create a (straight) Line. Blender case, we need to care whether it is a Poly object or Bezier object.

"Spline from Points" node does the hard job, connecting the dots. But you may notice automatically created "Create List" node.


To be honest, I personally don't care about the naming, but I believe "Poly" curve is linear and always create straight lines. While Bezier is curvy.

Ok, next, when we have more than 2 points, we can start to have interesting shapes. And we can care whether it is "Cyclic" or NON "Cyclic".

Cyclic just means that the last point will make a close loop of the Curves (like a closed Circle), while Non-Cyclic means the curve is open, no connected lines between first points and last point.

Non Cyclic Curve
Cyclic Curve

Appending Point(s)



You can Append Point to Spline using that exact node like above. Soon you will realize that AN create these "Create List" node and "Get List Element" node quite often. A little confusing may be, even for me. But there might be a reason behind it, perhaps inside a single Curve object, we can have multiple Splines to create surface? Maybe. Something to keep in mind.

Anyways, we keep "Append Point" in mind, in case we like to extend a curve (?)

UPDATE CORRECTION FROM JACQUES:

You were right this Spline list is because a curve object in Blender can hold multiple splines.
Nevertheless these extra get list element and create list node are redundant. You should manipulate the spline first and then create the list from it. 

What you did there is:
making a spline -> make a list with that spline -> take the spline out of the list -> append a point -> create the list again -> set the spline list on the curve object

Instead it should be:
making a spline -> append a point -> create the list -> set the spline list on the curve object


Random Vector Points Generators >>> Curve


Random Vector node can be used to generate random point positions, that feeds into the Curve.

Wiggle Points >>> Curve

Like wise, Wiggle Points node, special node that generate wiggly points over time, also can be fed to generate Curve.



Sometimes, in order to really understand what's happening, it's better to see in 2D what's really happening. So, let say we are looking through the Front camera, only Z is wiggling, Y is all zero, and X equals to "index" (0, 1, 2, 3, 4...) we can see more clearly the wiggly lines.


JACQUES: Use Wiggle Number node! Simpler! It exists!

Smoothing the Curve

Below you see node called "Smooth Bezier Spline" node that can help to create a smooth curve. Based on the Wiggly line above.


Make sure you set to "Bezier" for the Spline from Points.

Revolve Curves

Let's jump into another topic using Curves: to create DONUT shape by revolving Circle using another Circle.

Below is probably one of simplest example. It generates a Donut shape, but really depends on how you orient the 2 Curves.


TEMPLATE: Distribute Instances on Spline

There is a fun template you can try to instance many duplicates of X objects, along Curve. This is actually one feature that Blender does not have but made possible using AN because of the node setup and this is actually useful.



Animating Instances along Curve

Supposed we have a bunch of Torus along Circle curve.




Knowing that each one of duplicate instances are in order, we can use the Index to push and offset delay every instance.


NODE: Get Spline Samples

Using this node called "Get Spline Samples", similar to template above, we can place locate object directly along curve, and also know the orientation.




NODE: Spline From Edges


Another handy node is to generate Splines, that is based on Polygon Edges. This conversion from Mesh to Curve is LIVE, so if the mesh is changing, the curve is also changing.


Lofting Splines

If you ever loft a bunch of splines to create a mesh, the process can be less destructive this way.



Blender Polygon object is usually easier to work with, than Splines/Curves (I think) so sometimes maybe you want to do something like below where we have bunch of polygon edges, and we like to LOFT it into a surface.



There are plenty more topics we can talk about Splines, but that's probably enough for now. Save the rest for some other times.

If you are somewhat new to Blender and 3D, Mesh Edges and Spline Curves are two different things but each can be related to each other. Just like Vector and Point Positions, are two different data type, however can be used interchangeable sometimes.


And as always, knowing the fact that you suddenly have so many controls over many things can be overwhelming. If not careful, creating chaotic mesh is only a node away.




MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget