Randomize_UV XPresso

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 06 June 2011   #1
Randomize_UV XPresso

This is XPresso to randomize colors of each polygons easily.

sample movie
http://www2.11moon.com/sample_files...andomize_UV.mp4

sample scene
http://www2.11moon.com/sample_files...andomize_UV.zip


1. This XPresso randomize UV coodinates to randomize colors.

2. While randomize, subdivision number is 10*10. So you can use 100 colors totally. This is fixed and not changed if polygon number is more or less than 100, also not changed for triangle porygons.

So you have to make 10*10 tile texture for the object. I used "Gradient" shader to make it in this sample file.

3. While randomize, you can specify "random seed". Changing the random seed shuffles the colors. In this sample file, the random seed is linked to time, so the colors are shuffled time by time.
 
Old 06 June 2011   #2
This is another way to change random colors in material.

sample movie
http://www2.11moon.com/sample_files...ndomize_UV2.mp4

sample file
http://www2.11moon.com/sample_files...ndomize_UV2.zip
 
Old 06 June 2011   #3
Flow_UV

Also this is another way to change colors.

At first time, I tried to flow the colors with standard C4D tools, but could not get answer.
So I have made this XPresso.

sample movie
http://www2.11moon.com/sample_files...611/Flow_UV.mp4

sample file
http://www2.11moon.com/sample_files...611/Flow_UV.zip


This XPresso changes data in UVW tag "UVW", based on data in original UVW tag "UVW_org". So you have to first duplicate the UVW tag, then rename it to "UVW_org".
Also make sure that your "UVW" tag is at just right of the texture tag.
When there are multiple UVW tags in a object, texture tag takes UVW tag which is placed just right from the texture tag.

This XPresso is designed for objects like "plane" or "torus" which has regular UV coodinates. The other hand, some objects like "platonic" which has irregular UV coodinates, or objects including triangles do not work with this XPresso.


In this XPresso, userdatas are added to XPresso tag itself. This is because links to userdata under object are cut while copy/paste the XPresso to other objects.


1. "UVW_org", "UVW"
Here is a strage to store/take links to UVW tags automatically. You do not need to care them.

2. "number of U"
Put number of polygons in U direction into here.

3. "number of V"
Put number of polygons in V direction into here.

4. "wind_U"
Specify speed of flow to U direction. Minus values change flow dirction.

5. "wind_V"
Specify speed of flow to V direction. Minus values change flow dirction.
 
Old 06 June 2011   #4
Nice setup you have there tofuji, thanks very much.
An effect which comes near but isn't exactly the same
is to adress the polygons in your torus as clones and
manipulate them with a shader effector and a random effector.
In order to do that you have to seperate the polygons from each other.
A shatter deformer helps with that.
Scenefile:
http://dl.dropbox.com/u/28253825/colorizePolys.c4d
 
Old 06 June 2011   #5
Thanks Yader, for your good example with MoGraph.

Actually say, I do not know the MoGraph well. Then, can you do similar things with the MoGraph?

Surface Randomizer
http://forums.cgsociety.org/showthr...p?f=94&t=986548
 
Old 06 June 2011   #6
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.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 04:03 PM.


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