Jump to content

Hey

please be considerate and disable AD blocker when you are on the C4D Cafe, because it helps us run this forum. We minimalized showing of the AD's all across the forums, so please, be so kind and at least help us by having AD blocker turned off. :cowboypistol:


Check out premium "TD Master Section" training classes in Clubs section  and STORE!

jed

Bronze Supporter
  • Content count

    902
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by jed

  1. Odometer/Rolling Number Wheels Rig

    As they say on kids TV - here's one I made earlier
  2. Odometer/Rolling Number Wheels Rig

    Not sure where the 44 fits in, but I think this file does what you want ie it turns the 2nd wheel by 44 degs from 90% > 100 %. There's a readout for the 2 rots, and a user data control to turn 1st wheel. Remember that XPresso uses radians not degrees. turn44.c4d
  3. 2nd answer 1st - saving data in user data. Here's an interesting idea I got from a guy called base80 : In XPresso there's a node that can measure the length of a string ie how many characters (including spaces) are in a phrase. But what if the phrase was 'this phrase has 35 characters in it' and you were getting the '35' from XPresso? That would mean connecting the output from the 'length' node at the end the chain of nodes, back to the input at the LHS. Output to input is not allowed in XPresso, because it would create problems, especially for noobs - but looping in programming is one of the most powerful tools. The answer is what base80 called his 'dirty proxy trick' - you get the length from the node, write it to a user data value (at the end) and read it back (at the start). See file https://www.dropbox.com/s/ax4dbteq3ayve7f/base80trick.c4d?dl=1 Using math add, I've made the string 'this phrase has 29 characters'. The '29' is auto generated. If you edit the 1st string to read 'did you know that this phrase has ... etc', and either press 'a' to reload (or jiggle the playhead) you get 'did you know that this phrase has 47 characters'. That should amuse you while I write some Python for your 1st question.
  4. I got lost on question 1. Is object C different to object A ? A = A + B is a loop C = A + B is addition Making the loop scenario only execute when the value to be added changes is easy in Python. make a user data value (real, with no limits) and write to, read back etc.
  5. Make sure TR server and client are allowed, both private and public, in Windows firewall. I use static IP addresses for TR machines - check you have specified the correct ports. There's 10 videos on setting up TR at Cineversity here.
  6. I saw an interesting optical illusion animated gif in an online newspaper today, so I thought I'd waste an hour or so recreating it. The key seemed to be using a bit of trig to keep the moving parts a constant width. I've added a 'reveal'. this file has a control panel, so you can play with the parameters - https://www.dropbox.com/s/21rgcyj8xgwyyw7/star.c4d?dl=1 might amuse someone
  7. So what's your definition of optical illusion ? To me it's just a bit of deceptive geometry that confuses the brain. You video don't have any ambiguity - looks like a regular animation to me. I do realize that everyone's brain works differently ie some people can't see some illusions. Here I've a stab at the old hollow cubes thing - the cubes flip for me, so is that not an optical illusion either ? I think the trick here is lack of perspective (I used a parallel camera). I used Python to swap the colors - sledgehammer/nut etc. https://www.dropbox.com/s/pudtcdey6i631ln/cubes.c4d?dl=1
  8. couple as in 3 . . .
  9. LOL - I read 'em all, Guardian, Sun . . .
  10. I nicked the idea from this Daily Mail story. I think the illusion is supposed to be the blue and black lines changing length (as opposed to the star thing). I also had a go at animating the out of step wonky bricks thing (there's a building painted with the pattern in the article), but that's still a wip. Here's a still wonky bricks, only circular - needs large monitor There seems to be a lot more to optical illusions than I first imagined. The size of pic and viewing distance plays a part.
  11. Has anyone got this octo running on dynamics ? Getting the legs in sync is harder than I thought. Here's my wonky 1st attempt -
  12. That ball socket was not allowing the spring to change length. I added a slider (you can join slide to turn connectors, but not turn to turn etc) and the spring will now expand and bounce. I also gave the weight some initial Z velocity, and it goes side to side somewhat. It's a fascinating topic - I'm a big fan of C4D dynamics. https://www.dropbox.com/s/91lodminjpgr87m/slider.c4d?dl=1
  13. You could bodge some of the oil tank alignment problems by hiding the dynamic oil tank and having a dummy non-dynamic tank aligned to the spline, with tangent on. I used 98% align. https://www.dropbox.com/s/8urc390vjaye3ft/dummy.c4d?dl=1
  14. call-out align to camera

    Try the character constraint tag, up vector. You can set a target and specify one locked axis.
  15. I don't know much about IK, but you can get sound level data by plugging the sound effector into a sample node, then do some math to move stuff. Here I use the data to transition from one vector position to another - https://www.dropbox.com/s/6rw7lcy31y8c3xf/dance.c4d?dl=1
  16. Animate a tracked vehicle

    Not sure why your track's slipping - have you got the base80 cylinder the same radius as the track rounding radius (and located it midway in the track) ? For bumpy terrain, you might want to look at a dynamic system. I've had limited success, as long as you don't get too ambitious re steering and speed. Here's a straight line dynamic version https://www.dropbox.com/s/zixwjmfrt21ct4t/trackerdynamic.zip?dl=1 I sent you a pm about some new math ideas I had for the non-dynamic tracker.
  17. Animate a tracked vehicle

    I built the Lester Banks version and added one of my steer rigs - https://www.dropbox.com/s/zrpkz5i0wwhc5rh/tracker.c4d?dl=1 does the stationary spin on axis thing
  18. Animate a tracked vehicle

    I think this is the XPresso you are looking for https://www.dropbox.com/s/gfa9t0yovbohxcm/basewheel1.7.c4d?dl=1 the wheel rotates correctly for any position or rotation of the parent null @HSrdelic can this brilliant bit of Base80 global matrix magic be put in the big file repository before it's lost forever ? added: I watched the Lester Banks videos. He locates the Base80 wheel at one of the cylinders - I think it makes more sense to put it midway between the front and back cylinders (on each side), especially for the skid-steer spinning on axis thing.
  19. With the dynamics tag on the cloner, you can get the same effect in your scene by changing individual elements to anything other than off. When individual elements is off, the dynamics sees the cloner as one big object, but after changing that value each clone can act separately. The difference is more noticable with a grid cloner as in this file. https://www.dropbox.com/s/tckv6x7e1gixb32/toplevel.c4d?dl=1
  20. Measuring the direction change at some % position on a spline, then using that to control the position (via speed) involves connecting an XPresso output to the input. This is not usually allowed, but you can bodge it by writing to user data and then reading it back. In this file I used a spline node to get the tangent, and a memory node to get the change. The change is compared to a threshold for fast/slow. It slows down on the curves, but is a bit hit and miss. You might be able to tweak it to your scene, but I think you'd be better off using adaptive splines and putting extra points on the curve sections. https://www.dropbox.com/s/4365j5hfn908mbj/splinefast.c4d?dl=1
  21. Conveyor Belt with dynamics

    @fourDhead if you use the cloner method you don't even need XPresso - just set rate to say 7% and the slats move around the spline. That's the method I would use, with dynamic cylinders that turn due to being in contact with the belt to look like they are the driving force. I only suggested my first method using hinge connectors because @Covcov mentioned motors.
  22. You can add the global position vectors of the 2 anchors, divide by 2 and write that value to the mid-way object. C4D doesn't seem to like dividing vectors, so in this file I multiplied by 0.5. The mix node with data type vector, set at 50% would do the same thing. https://www.dropbox.com/s/txv3mrktudeeqez/anchors.c4d?dl=1 added: I've edited my original file to put the XPresso after the anchors in Object Manager, since strictly speaking the calculation comes after reading the anchor position - can sometimes give a 1 frame lag.
  23. Conveyor Belt with dynamics

    @Covcov I noticed that some of the strips in my 1st file were not lying flat on the belt, so I tried moving the hinges so they are equidistant ie in the gap and they lie flatter now. I guess it makes sense to put them halfway. https://www.dropbox.com/s/jyuyrhrge384zt0/convbelt3.c4d?dl=1
  24. Conveyor Belt with dynamics

    A cloner and rate is probably the easiest, but if you want to use motors here's some ideas. I cloned some slats with hinges along a spline, made it editable and connected the slats into a belt using iteration. This gives a belt that droops - upping steps per frame helps fix that, and I also used wheel suspension to tension the belt. https://www.dropbox.com/s/j7ri11wv5ih5bur/convbelt2.c4d?dl=1 (also works for tanks)
  25. Unchecking in the TR server seems to take a machine offline.

×