Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: mant3ra on 2017-12-23, 13:29:59

Title: Floor Tiles - Random UV / Texture
Post by: mant3ra on 2017-12-23, 13:29:59
Hello there.

Im trying to achieve slimier look to this floor:
(https://images.homedepot-static.com/productImages/3c796f04-847c-4da1-86c2-4f1e73472f62/svn/malibu-wide-plank-engineered-hardwood-hdmpcl220ef-e1_1000.jpg)


But for me its a bit hard to do it, i tried to unwrap UV's in some random direction and i suck at it, ( never was any good at that job especially in c4d )

I made planks geometry, cloned them, and since there was many of clones, i had to make them all as one object, so i can use only one texture to it, with UV mapping i getting mixed results, with box maping all look the same.

Is there any cheat to make texture offset on random faces in random direction etc. like uv randomize for 3d max?


Any help is appreciated here.
Title: Re: Floor Tiles - Random UV / Texture
Post by: burnin on 2017-12-23, 15:51:48
Tutorial: C4D | Random Cloner Texture (https://www.caligofx.net/tutorials/43-c4d-random-cloner-texture) (with project file) by Domen Dimovski

There were also Xpresso Floor Generator by Josef Bsharah (https://forum.corona-renderer.com/index.php?action=profile;u=9165) but it seems gone now... hopefully he'll chime in ;)
Title: Re: Floor Tiles - Random UV / Texture
Post by: Eddoron on 2017-12-24, 03:04:12
There are multiple solutions to that.
Here's one comment from a video where you can't see anything but it works:

Quote
hey man, was looking for that for a wall of wooden planks. found a solution which works with the cloner:

You need two objects in the cloner with the same texture.
Change Offset on one of the Texture Tags:
This makes enough space for the effector to modify the texture

Cloner -> Clones: Blend:
this blends the two clones

Random Effector -> Effector -> Minimum: 0%:

Random Effector -> Parameter -> Modify Clone: 100%:

you can play with the offset in the end.
boom! 

Another way is to use a simple Xpresso set-up:

You'll find a lot more solutions through a google search.
Also, if you have R19, you can use the variation shader's UV options.

In this thread you should also find some useful things+ files:

https://www.cineversity.com/forums/viewthread/615/
Title: Re: Floor Tiles - Random UV / Texture
Post by: mlon on 2018-01-02, 15:25:58
try using the Variation Shader and use UV tiles randomization.

mlon
Title: Re: Floor Tiles - Random UV / Texture
Post by: Josef on 2018-01-09, 17:38:30
Link to the floor generator, it creates regular cubes so not much variation at the moment.
https://www.dropbox.com/s/uahvdpntbt68rue/Floor%20Generator%202.zip?dl=0

I have been experimenting with quickly UVing the generated object with houdini and getting some interesting results 
https://twitter.com/JosefBsharah/status/935633409694752773
Title: Re: Floor Tiles - Random UV / Texture
Post by: kraphik3d on 2019-02-01, 09:23:54
Thanks.

Just my thoughts:
Technically floor generator does what it delivers. Many different types of tileable floors.
It´s good but you should always model everything to 1:1 scale. Not everyone has a floor tile heights: 5 meters width: 50 cm and 5 cm in height. Perhaps real world scale in next version?