Jump to content

jed

Limited Member
  • Posts

    2,189
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by jed

  1. Here's the navigation for hierarchy up_down_iteration.c4d this file just does one plane - you'll probably have something like this for all planes
  2. My (expandable) python solution - sensors under a null, using hierarchy + a ref node (down) same in Python GetDown() = down lister is an empty list where 0 = target not hit, 1 = target hit for loop iterates through the cloners and if a target is hit, puts a 1 in the relevant place in lister now test if there's a 1 anywhere in lister > light up cursor thing py 1.c4d
  3. You can add inputs to the Boole OR, so any input being 1 gives a 1 output. Not very elegant if there's a large number of objects. For large numbers, or something more flexible, you could maybe make a Python solution - put the targets under a null and iterate the list so if any value is True <do something>.
  4. jed

    Double helix

    I've updated the helix video in post #3. Here's the python I used to get the double helix trace python helix tracer.c4d there's comments in the python
  5. I found this on my HDD def main(): xp = doc.SearchObject('xpresso') tag = xp.GetTag(c4d.Texpresso) master_node = tag.GetNodeMaster() root = master_node.GetRoot() my_nodes = root.GetChildren() # makes a list print my_nodes print len(my_nodes) bit out of my depth here 😀
  6. jed

    Constraint tags in Python

    Here's a workaround. I used GetTags() and specified which tag I wanted. Here I set a cone as the parent of the cube. I just dragged the fields into the window and did some editing. Some fields seem to have numerical names. def main(): obj = doc.SearchObject('Cube') obj2 = doc.SearchObject('Cone') tag = obj.GetTags()[0] # assuming constraint is 1st tag tag[c4d.ID_CA_CONSTRAINT_TAG_PARENT] = 1 # enable parent tag[30001] = obj2 # Cone is parent there's probably a correct way to do this 😀
  7. For > 1 sphere, try a memory node set to matrix. rail 2.c4d
  8. Make a copy of the spline as a rail, and put the sphere in a null. rail.c4d
  9. This renders to mp4 with music (has field)
  10. The more recent sound effector needs a falloff field adding to get any strength output. Any field will do eg linear. If you can hear the sound playing and 'include sound' is checked in render settings, it should record with music to mp4.
  11. jed

    Simple bounce with decay

    This is close. Try tweaking the rangemap decay curve. ball.c4d
  12. You can't get an output from vibrate as you describe - just use noise. This thread is about noise deform Is there a way to randomize a deformer´s animation? - Anim. General - Core 4D Community
  13. I'm not sure I understand the problem, but if it's to move the object manually (reflected in slider) and also move by slider, then a memory node set to 1F can detect value change ie is value != previous. slidervsvalues_0001.c4d
  14. Need more info on what you are trying to achieve, but a few things spring to mind. If using XPresso, are you aware that percent is represented by the decimal 0 >> 1 eg 50% is 0.5 not 50. Also angles are in radians not degrees eg 30 deg is 0.523 in XP. For constantly changing values, noise is smoother than random numbers. Apologies if you already know this ^ simple stuff.
  15. One of my current fav bits of animation is the UK Channel 4 station ident where some kids in Liverpool 8 have a kick about with a big metal giant. Video halfway down this page
  16. jed

    Double helix

    If any of your files use Python, there may be compatibility issues. Recent C4D uses Python 3 and things like xrange, integer division and print have changed. You might even have an old COFFEE preset that needs fixing.
  17. jed

    Double helix

    @Igor actually, I forgot to put one of the files in the zip - is it easy to swap out the zip file for an updated one ?
  18. jed

    Double helix

    @Igor zip file uploaded - let me know if I've done it correctly 😀
  19. Version 1.0.0

    35 downloads

    Some formula spline sweeps with thumbnails
    Free
  20. jed

    Double helix

    Did those scenes come from this French pdf https://www.dropbox.com/s/2qm29j6axr58ct2/formulas.pdf?dl=1 You probably have it, but may interest others. Some of the examples seem to not work, but IIRC they are dependent on number of samples. sweep 3.c4d
  21. jed

    Double helix

    I made the spline using tracer. Here's a higher res version scene file helix tracer.c4d I just tweaked the values until both ends met 😀
  22. I saw a guy on YouTube who had made an aluminium helix that changed radius at the top and went down inside the original helix to join up again at the base. When it spins you get an up down optical illusion. I tried to make it using formula spline - disaster I tried joining 2 helix primitives using FFD to flatten the ends - another disaster Eventually I used a tracer and some XPresso math. Here's the wip -
  23. This is red on F0, then random. red on F1.c4d
  24. re extra ports - you can add input ports by clicking the LHS blue square and selecting the correct data type. Ditto output on the RHS. You can rename the ports to something meaningful and these are the variable names used in the script (don't use Python reserved words). Output ports must be declared global. Python does have drag and drop, but slightly different to XPresso. If I had my code in a Python tag and wanted to control a cube's Y size, but didn't know the correct syntax, I can drag the relevant field into the Python window and it gives Cube[c4d.PRIM_CUBE_LEN,c4d.VECTOR_Y] then I'd edit the cube name to what my cube was called.
×
×
  • Create New...