Random parquet

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
User avatar
lucioing
Licensed Customer
Posts: 229
Joined: Wed Feb 19, 2014 4:01 pm
Location: Rome - Italy

As the subject, I'd like to make a parquet by tiles, each of them, the same texture but randomized in 'diffuse' and position.
Now the problem is that I'm able to offset the texture (even using xpresso) but it does works only using 'object' and NOT instances or render instances.
I'm able to do a random texture, but it does works ONLY on render instances...
So, please, is there someone who would help me?
:cry:
As you can easily recognize, using render instances, it seem that offset doesn't works on LV, instead of perspective view that works fine...
L.
RandomParquet.zip
(2.14 MiB) Downloaded 158 times
RandomParquet.jpg
Mac Pro 5.1 -16 GB- 2 x Titan Black 6GB - Titan Z - MacOS Yosemite 10.10.4
User avatar
unsergio
Licensed Customer
Posts: 19
Joined: Sun Mar 31, 2013 9:55 am

Unchecking "Render Instance" does the trick.
Attachments
parquet.png
Win10x64Pro || C4D || i7 2600k || 32GB DDR3 || 1x MSI Twin Frozr II 1GB (Display) + 1x EVGA 780Ti 3GB
User avatar
lucioing
Licensed Customer
Posts: 229
Joined: Wed Feb 19, 2014 4:01 pm
Location: Rome - Italy

Thank you, unsergio for the trick, but, as you can see, the 'random color' shader doesn't works, because it need render instance...

L.
Mac Pro 5.1 -16 GB- 2 x Titan Black 6GB - Titan Z - MacOS Yosemite 10.10.4
User avatar
atome451
Licensed Customer
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium
Contact:

Hello,

Yes, render instance must be activated for what you want. You dont need to copy the texture tag on each instance. Adding the tag to the base mesh will give the same result.

I didn't found a solution to randomize the position of the texture in the plugin for C4D (maybe it's possible with LUA script in standalone, i don't know) but you may use a complex gradient with a lot of entry points and different textures and/or transforms for each, even themselves with random color as power, etc.

I hope this will help you. :)

Here a quick sample:
RandomParquet-atome451.zip
a sample
(2.25 MiB) Downloaded 177 times
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
User avatar
lucioing
Licensed Customer
Posts: 229
Joined: Wed Feb 19, 2014 4:01 pm
Location: Rome - Italy

atome451... Simlpy ingenious :shock: :shock: :shock:
I never and never would have thought of this solution!
Thank you so much!

L.
Mac Pro 5.1 -16 GB- 2 x Titan Black 6GB - Titan Z - MacOS Yosemite 10.10.4
RahiSan
Licensed Customer
Posts: 134
Joined: Sat Apr 12, 2014 7:55 am

I think there are ways to offset the UVs of your objects that might work, check out these:


http://mograph.net/board/index.php?showtopic=28590

or

https://www.youtube.com/watch?v=PyQweIQl4aA
User avatar
lucioing
Licensed Customer
Posts: 229
Joined: Wed Feb 19, 2014 4:01 pm
Location: Rome - Italy

Thank you RahiSan!
The problem is to shift the texture UNTIL is running the 'color random' of Octane.
In fact, as I wrote, I'm able to offset the texture using obj, but random color of Octane, doesn't works using obj. And using instance render, I can get variation but any way to offset maps, doesn't works and I don't understand why...
It's a challenge!

L.
Mac Pro 5.1 -16 GB- 2 x Titan Black 6GB - Titan Z - MacOS Yosemite 10.10.4
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Random color works on scatter node in Octane. Do you know what does mean for us?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
lucioing
Licensed Customer
Posts: 229
Joined: Wed Feb 19, 2014 4:01 pm
Location: Rome - Italy

aoktar wrote:Random color works on scatter node in Octane. Do you know what does mean for us?
No Ahmet, I'm sorry, I don't understand what you mean...

L.
Mac Pro 5.1 -16 GB- 2 x Titan Black 6GB - Titan Z - MacOS Yosemite 10.10.4
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

lucioing wrote:
aoktar wrote:Random color works on scatter node in Octane. Do you know what does mean for us?
No Ahmet, I'm sorry, I don't understand what you mean...

L.
May not be directly about this topic. I can't catch or follow every posts. But just giving an information about "random color". It works over Octane scatter nodes. And render instances of C4D is based on scatter node.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”