Jump to content

jed

Bronze Supporter
  • Content Count

    1,351
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by jed

  1. I find the concept that any 3 points always lie on a circle a bit mind-blowing. Sounds like the kind of theorem someone in ancient Greece would spend their whole life trying to prove (or disprove).
  2. You could trace the car and activate trace part way through the journey. trace me.c4d
  3. jed

    coordinate input to hierarchy

    No probs - was just going to add this with math mult Xpresso Testing3.c4d
  4. jed

    coordinate input to hierarchy

    Rigging isn't really my thing, but I think I've sorted it. The way hierarchy works is that it outputs each object once every frame as per the instructions - D is down one level, N is down same level (next). In your case start path is D from the top parent, then each subsequent object is N until it runs out of objects. The representative object 'becomes' each object in turn, so any data applied to it applies to all in the list. In this file I've added a reference node which uses the same protocol as hierarchy. It looks at each object hierarchy outputs and goes D to its immediate child ie thumb > thumb ch1 etc. Then I connected the same user data slider - you could put a math node in here to give different bend with the 2 levels of joint. Xpresso Testing2.c4d
  5. jed

    coordinate input to hierarchy

    If you want to apply the same value to many objects using hierarchy, you use a representative object (usually the first). The hierarchy node must reference the parent of the objects. If your objects are not all together in the OM (ie scattered around), you can use object list in a similar manner. When dragging objects into the list, click the 'padlock' to stop the window closing. hierarchy.c4d object list.c4d
  6. @leiz Have a look at this iteration solution spots_3.c4d you can see which lights are on in object manager when you move the collider
  7. I could have probably have made a better scene where an effector fall off shape moves (ie no object). Same idea though.
  8. A volume effector object moving in the light plane would switch the spots on/off when the cloned light is within the object. In this file I copy the XY position of a 2nd object to the XY of the lights object. When the 2nd object intecepts a spot, it turns it on. spots.c4d might work...
  9. jed

    Elevation Model from CSV file

    I typed the 1st co-ord in the csv into Google Earth, and it's Abbottabad - where Mr O.B. Laden used to live.
  10. I had another look at animating the Windows spinning dot thing today with Python. In this version I animated one obj and made 2 history lists for position and visiblity. The other objs read off 5th, 10th, 15th value etc and so follow the 'master', but with delay. I tried using 'c4dcafe', and it kinda works - but too many letters maybe cafespin2.c4d I did the gifs in Photoshop.
  11. Not too sure on that scenario - one of the more experienced animators could probably advise here.
  12. Just easier - less chance of errors if you had 100 cubes
  13. You can simplfy your XP with a bit of iteration. Just point hierarchy at the cube's parent, D = down 1 level, N = next same level. Object index gets the cube index in the list. lag2.c4d
  14. Setting the XP tag to generators 0 seems to work
  15. jed

    .

    If you're wondering why the numbers don't match (5 input = 8.66 depth), I was a bit slapdash plugging a real into a vector port - this makes the numbers out by square root of 3. For 5 input = 5 depth divide by 1.732, so 5 / 1.732 input gives Motext depth 5 > Mr Pedantic
  16. jed

    .

    This is springy delay.c4d
  17. The old 'apply mode' had 2 options - all and step. All was same value applied to all clones, step was apply value dependent on freq across clones from lo to hi freq. As ion said, that's now in sampling. One thing I noticed about the new sound effector is how the display is now logarithmic (old one was linear). In music, going up an octave means a doubling of freq eg graphic eq is usually in bands 32Hz, 64Hz, 125Hz, 250Hz, 500Hz, 1kHz etc, successive C's on a piano are 2X freq of previous. The old sound effector was linear ie 1kHz, 2KHz, 3kHz etc so all the music was crammed in the 1st 10% of the display, and although it jumped around in time to music, the old display didn't really mean anything. The graphic on the new sound effector actually represents how the human ear hears things.
  18. jed

    connect spline point to object.

    I think the original file was something like this points.c4d
  19. jed

    Queen Victoria - 'we are not amused'

    I could probably be sent to the tower for mocking the queen and reproducing a banknote - Photoshop gave this message when I opened the note jpeg
  20. 10 ^ -8 is effectively zero. What you are seeing is the so-called floating point error. Python doesn't store numbers the way humans think, and so you sometimes get these little quirks. I guess you could fix this 'error' with something like round(x, 2), but it's not usually recommended. There's discussions at stackoverflow if you google 'floating point error'. I only clean up numbers for display purposes - not in calculations. from https://docs.python.org/3/tutorial/floatingpoint.html LOL, as they say...
  21. jed

    Queen Victoria - 'we are not amused'

    I think it's Liz the current Queen Wiki Queen Vic saying 'we are not amused' is ye olde englishe mythe.
  22. Works for me. Are you clicking compile and using 'math dot sin' ? Check menu, script, console for any Python error messages. You do know that Python + Xpresso both use radians ? 360 deg = 2 * pi radians
  23. I was reading up on epicyclic gears at Wiki here. The math at Wiki was a bit hard, so I thought it easier to build a model in C4D and experiment. I got a bit carried away... the soundtrack was made using this , Lego Man model by Rob Redman Lman.zip
  24. jed

    dynamic text

    That's why I tried a hidden plane for the text to sit on. In that last file, the text wobbles a bit when pushed, but you could keyframe bounce and friction off until it dropped.

×