Jump to content

jed

Limited Member
  • Posts

    2,189
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by jed

  1. I could have probably have made a better scene where an effector fall off shape moves (ie no object). Same idea though.
  2. 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...
  3. 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
  4. jed

    .

    This is springy delay.c4d
  5. 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
  6. 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...
  7. I think it's Liz the current Queen Wiki Queen Vic saying 'we are not amused' is ye olde englishe mythe.
  8. 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
  9. 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
  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. I use this renamer pack - OK with R20 http://www.lasselauch.com/c4d-script-c4d_renamer-pack/ on Windows, goes here C:\Users\jed\AppData\Roaming\MAXON\Cinema 4D R20_4FA5020E\library\scripts\C4D_Renamer-Pack_v1.1
  12. I dug out one of my old animations - 'We wish you a merry Christmas' played on tubular bells. I think I used Nitro4D's SoundFx to trigger the sounds. just a bit of fun
  13. I use modulo a lot, eg if I want to trigger some event every 10F I use if frame modulo 10 = 0 <do something> pseudocode
  14. I don't understand your maths, but this is how I'd do 2 oscillating lights 2lights.c4d edit - probably should have been >= not >, but you get the idea
  15. I was asked by a member for XPresso ideas to drive a clock sweep second hand, so I've zipped up a few scenes that might interest anyone learning XPresso. I used modulo to get the second pulse, a monoflop as a counter and delay effector for a small overshoot and wobble on the hand. In one file there's a ticking sound, but you can't really export sound easily in C4D, so my method is to record the sound in real time in Cinema using Audacity set to 'what you hear', and add it in After Effects. In the past when I've used the Audacity method on big scenes, the sound track can end up longer than the animation, but AE has tools for shrinking tracks. In this clip I exaggerated the hand overshoot to show the effect (has sound) - it's not rocket science, but might help XPresso beginners second_hand2.zip
  16. @madmarvin - regular collision needs objects to be polygons, but dynamic collision node also works with primitives. Depending on scene, dynamic collision often only needs one object input eg 'has object A collided with anything'.
  17. The file on that page gave an error messaged 'too old for R20', so I opened it in R19 and resaved. It seems to work the same in R20 as R19. r20-DelayCamera.c4d
  18. The emitter seems to get detected with dynamic collision node. xpresso_button_flip2.c4d
  19. There's a couple of Python target presets in XPresso window, System Presets, Calculations - you might get some ideas from there. In < R20, I think all that stuff was in COFFEE.
  20. Everything's connected to everything in this file. It's not very elegant, but works with random effector. You might be able to modify it to suit your needs. joincubes.c4d
  21. How many connections - is every cube connected to every cube ie 5 cubes = 10 splines ? Probably doable with iteration. Tracer will connect all objects under a fracture with one spline.
  22. @Havealot I'm sure you're correct, but I'm not all that good at mograph (read : world's worst). I initially tried using a cloner and accessing individual clones with formula effector id, but couldn't seem to make the values stick when moving to the next clone. I know it's a bit defeatist, but I usually find it easier to make a cloner editable and write some iteration in Python or XPresso. Re fields - I'm still trying to work out why this sound effector needs a field to work - even when there's nothing in the viewport.
  23. I was watching Big Bang Theory on TV, and one of the guys had a T-shirt that looked a bit like a reflected audio volume display - probably is something else, but I thought I'd have a stab at replicating it in C4D. As per my usual methodology, I tried using mograph but couldn't get it to work - so I made the cloner editable. There's 400 cubes and frame count is set to modulo 400, referencing the objects sequentially in a sweep. Sound effector gives the Y size - for some reason it needed a field to get an output. Previous sweep gets overwritten (a bit like hospital machines). I chose a soundtrack that has some suitable guitar 'ching' to give something to look at - most pop is highly compressed. It's not rocket science, but might interest someone learning XPresso. R20 scene https://www.dropbox.com/s/odrff8qi6d7eyxn/vol5.zip?dl=1
  24. Try using just one iteration node to drive things.
×
×
  • Create New...