Random rotation of 2D Mapping

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
AndreasResch
Posts: 25
Joined: Fri Jul 06, 2018 9:32 am

Random rotation of 2D Mapping

Post by AndreasResch » Sat Jun 20, 2020 5:48 pm

Hey.

Is there a way to randomize the rotation of the 2D Mapping node on a per object basis? It works quite nice in Cycles but I can't get it to work in Luxcore. Might it be possible via drivers?

Cheers.

User avatar
B.Y.O.B.
Developer
Posts: 3872
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Random rotation of 2D Mapping

Post by B.Y.O.B. » Sun Jun 21, 2020 2:11 pm

This is currently not possible in LuxCore. You have to create a separate material for each object and change the rotation value for each one (this could possibly be done in a Python script).

The feature that would make this possible is the one described here: Drive Vector Coordinates with Textures (you would be able to plug the random object ID into the rotation)

AndreasResch
Posts: 25
Joined: Fri Jul 06, 2018 9:32 am

Re: Random rotation of 2D Mapping

Post by AndreasResch » Sun Jun 21, 2020 3:25 pm

Hey.

I feared that it wasn't possible. I tried it with drivers, but they don't seem to work with the 2D Mapping nodes. As I need that feature in pretty much all my renderings, I can only hope that one day this will be added to Luxcore. Otherwise I really love the quality of the results. I will keep an eye on the development.

Cheers.

Post Reply