PDA

View Full Version : MoGraph: Question Rephrased


GruvDOne
07-29-2006, 02:28 AM
OK, here's what I want to do...

I have I floor comprised of a grid array of discs, with a step effector scaling them smaller as they get farther from the camera...

I have been able to, with an Inheritance Effector, cause a wave-like movement from front to back along the y axis. Cool.

What I want however, is the same type of effect with color rather than position. The floor is black, but I want the front row of clones to turn white and then turn back to black as the second row turns white, and so forth all the way to the final row. And I want it to loop this way.

Now, the problem I am having is that the Inheritance Effector only effects Position, Rotation, and Scale. There is no color option like there is in the other Effectors...

I tried using a Random Effector with a Multi Shader, and it gave me an effect reminiscent of an Othello Board, but no way to make a useful controllable animation of the sort that I need.

Then, I tried using a Shader Effector with a BPM Shader, and while this worked quite well in terms of switching between black and white, it affected all of the clones.. close but not quite.

Now, since the final animation will have music, I thought maybe I could use the Sound Effector to give me the effect I wanted. And while I was able to make the discs dance about with Position, Rotation, and Scale, enabling the color options gave me no result at all.

This seems like a simple task for MoGraph, and I feel like I am right on the verge of figuring out, but I keep running in to walls. So I beseech the MoGraph masters out there.. HELP!!!

Seriously, any direction would be appreciated.

Thank You,
Will

neosushi
07-29-2006, 07:38 AM
Hello GruvDOne,
i hope i got you right and the files i have attached are the correct way you wanted the effect.

Files:
- Preview Movie (http://www.wicked-design.de/download/MG_effect.mov)
- Scene File (http://www.wicked-design.de/download/4groove.zip)

When using Sound to controll your scene. Let's say lights, color, etc. You may want to have a look inside the Sample Effector node for XPresso. I think there is a sample on the goodies CD which is called discolights or simillar (can't remeber the correct name :)).

With this Sample Effector Node you are able to adress alomst everything within CINEMA4D. The Disco Lights example was done using this Node to controll the brightness of the lights and the luminance of the Materials.

I hope this helped you out a bit.

cheers
::neosushi::

basilisk
07-29-2006, 11:03 AM
instead of changing the colour, you can have a second disc 0.001m bigger, which has a different colour, and animate its transparency, using a display tag.

neosushi
07-29-2006, 11:26 AM
instead of changing the colour, you can have a second disc 0.001m bigger, which has a different colour, and animate its transparency, using a display tag.


Shure he could if he do not want to use MoGraph :) I guess GruvDOne want to do the animation using MG. But that's also a way to do it :)


cheers

::neosushi::

GruvDOne
07-29-2006, 05:43 PM
Neosushi -

Awesome man, that looks almost exactly like what I want. I was hoping you'd see this thread ;)

I had come up with a crude solution.. thought I'd share.

I placed a material on the floor that had only reflection, with a fresnel to make it appear black.

I then made a plane and scaled it so that it was the the width of a single cylinder, and the length of 3 (we are trying to evoke the feeling of a highway / dance floor), placed a material on it that was only Luminance with a brightness value of 200%. I placed a Compositing Tag on the plane and made it invisible to the Camera, but visible to Reflection

Next, I used a Cloner Object, set to Linear and made enough clones to match the # of rows of Cylinders I have for the floor.

I animated a copy of my original plane moving from the front to the back of the floor, and created an Inheritance Effector with a 4 frame offset and enabled 'Loop Animation' to make the effect continuous.

It worked pretty nice, but it seems that I may have better control over the end result if I use your method.. I just wish I knew XPresso better :(

OK, enough rambling, I need to study the file you made.

Thanks again :)

CGTalk Moderation
07-29-2006, 05:43 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.