Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  06 June 2011

This XPresso Randomize surface of polygon object.

sample movie

sample file

This XPresso is another variation of my previous XPresso "Neon switch XPresso".

This XPresso changes surface of "child of child" object, based on "child" object. So you have to first duplicate your object, and put original object under it, then put it under null object which has this XPresso tag.

This XPresso works with only polygon objects.

About "Randomize_UV" XPresso, please refer to other thread.

There are 4 target objects. They have userdata to control this XPresso, and work independently to each other.

1. "radius"
Specify area in where the polygon is randomized (noised). Nearer points to target object get higher displacement. Further points from radius do not change.

2. "strength"
Specify strength (height) of displacement. The points are displaced to normal direction of each point.

3. "frequency"
Specify time change of the motion. Larger values get harder motion. Putting "0" to "frequency" and "wind" stops motion.

4. "scale"
Specify scale of the motin (noise field). Smaller values get fine motion, and larger values get rough motion.

5. "wind"
Specify spacial change of the motion. Larger values get faster flow of the motion. Putting "0" to "frequency" and "wind" stops motion. Z axis of target object is taken as flow direction..
  06 June 2011
You can do the same thing with MoGraph tofuji, you basically rebuilt the displace deformer
with your xpresso/coffee rig :-) And you have even built in a falloff, which is awesome.
With the displace deformer you can use an animated noise for example to drive your
deformations, here's an example of the displace deformer in action:
  06 June 2011
Thanks again Yader.

I have used the CINEMA 4D R9.1 for long time, so sometimes I miss newer functions like MoGraph and take "longer ways". I will try to learn it.
  06 June 2011
One more small question.

How can I change the "Color" to "Luminance" in shader effector of the torus?
  06 June 2011
not sure if i understand what you mean,
and you probably just know this;

but you can copy the Noise into the Luminance Channel of a Material,
use that material as a Texture in the Scene, set the Shading of the Displacer to Luminance and reference that Texture in the Texture Tag Link Field.

  06 June 2011
I am sorry for my bad explanation.

In original file "colorizePolys.c4d" by Yader, the torus is shaded by "Shader" effector and "Channel" menu in "Shading" tab is set to "Custom Shader". As a result, "Layer" shader which is in the Custom Shader may be worked as "Color" channel.

Here, "Color" means "Color" channel in Material which needs light to get colors.

Then, I want to change it to "Luminance" which need not the light to get colors.

At first time, I changed the "Custom Shader" to "Luminance", and link a material (Texture tag) which includes Luminance material, but it did not work. After that, I have read help and tried it to other channels, but could not solve the problem. So I asked it to here.

This is my sample to get Luminance.

Last edited by tofuji : 06 June 2011 at 01:32 PM.
  06 June 2011
You mixed the threads tofuji :-)
You did the right thing with setting the shader effector to Luminance and dropping in the luminant material. Either my hack don't work with this setting or you found a bug :-)
  06 June 2011
Thanks again Yader, and I am sorry to mix threads.

I will ask it to Maxon.
  06 June 2011
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:18 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.