Jump to content

Scene Nodes | Capsules file pit


Hrvoje

Recommended Posts

Hi folks

 

This topic will be used to frequently showcase examples of capsules/nodes setups. Primary intent is to use them for learning purposes. You can also think of them in terms of examples, snippets and prototypes. All scenes will be commented to reasonable extent to describe what is going on in particular setup.

 

Please do not reply in this topic! If you have a question regarding particular setup please post separately.

 

Hope it will help you get familiar with nodes and start making your own stuff 🙂

 

Link to comment

For our first post here is a small helper generator which will show point indices of objects we put under the capsule (generator). Capsule has control for size and color of generated visuals in viewport

 

Capsule is used as any other generator in Cinema

 

160_Index_display_capsule_OM.png

 

160_Index_display_capsule_VP.png

 

Here is a graph view so one can replicate in older versions even though I would suggest using R25

 

160_Index_display_capsule.png

 

Hopefully comments describe what is going on. Possible expansion of this setup would include orienting the resulting index according to given point or change size depending on camera distance (try it!)

160_Index_display_capsule.c4d

Link to comment
  • Guest featured this topic

Here is an capsule generator which sorts input objects based on their size (bounding box) and spreads them in linear fashion. It can sort in ascending and descending manner. This example shows how to work with multiple input objects.

 

105_Sort_Objects_By_Size_AM.png

 

 

 

 

105_Sort_Objects_By_Size_OM.png

 

 

Here is the main graph

 

105_Sort_Objects_By_Size_graph.png

 

 

There is an "algorithm" for sorting which is separate group, here is the graph

 

105_Sort_Objects_By_Size_subgraph.png

 

 

105_Sort_Objects_By_Size.c4d

Link to comment

Here is geometry modifier capsule example. This, well, deformer is generating wave like motion of various type through any mesh (or spline). Has multiple controls for defining wave type, frequency, speed and amplitude

 

 

 

 

32_Wave_Deformer_VP.png

 

 

 

 

32_Wave_Deformer_AM.png

 

 

32_Wave_Deformer_OM.png

 

Here is the main graph (double click the icon of modifier in object manager)

 

32_Wave_Deformer_graph.png

 

But all the "magic" happens in Wave deformer group so here is the subgraph

 

 

32_Wave_Deformer_subgraph.png

 

This setup can be expanded quite a lot, hope it gives you nice insight on how to build your own modifiers/deformers

32_Wave_Deformer.c4d

Link to comment

Here is an interesting recursion setup. Doing this outside nodes is quite tricky. Generator takes input object and for each new generation places a scaled copy on the points of previous one

 

40_Recursion_OM.png

 

Depth and scaling factor controls

 

40_Recursion_AM.png

 

Here a cube with a depth of two

 

40_Recursion_VP.png

 

 

Graph

 

40_Recursion_graph.png

 

 

The core of the setup happens inside loop carried value node

 

40_Recursion_subgraph.png

 

 

This is a nice example of using LCV node. Try expanding the setup to show different color for each generation!

 

40_Recursion.c4d

Link to comment
  • Hrvoje changed the title to Scene Nodes | Capsules file pit
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   1 member

  • LATEST ACTIVITIES

    1. 7

      CORE 4D Youtube channel

    2. 7

      Draw primitives on surface of existing objects?

    3. 0

      Nodes Modifier result isn't updated anymore

    4. 220

      Scene Nodes | Capsules file pit

    5. 3

      Flipped clones in multi-segments curve

×
×
  • Create New...

Copyright Core 4D © 2023 Powered by Invision Community