Hi, is it possible to rotate the bias of a VRayDirt map with the object as I want to use directional streaks on a vehicle? Or is there a material node trick to making it lock with an arbitrary object, like 'reference to another node' does with vraytriplanars? Rich dirt has a rotation option but I'm liking the results I'm getting with VrayDirt better. Thank you
Announcement
Collapse
No announcement yet.
VrayDirt and local rotations
Collapse
X
-
Hi Aleksandar, unfortunately that's not really the best solution since it defeats the advantages of procedural texturing, having to bake all of the textures on all of the objects. Simplest solution for me is to switch back to RichDirt which does work with rotations, but it's a shame because VRayDirt gives me a better result. Maybe one day the developers can implement something similar to the "Space - local object' like VRayTriplanars do? Thanks for investigating.Last edited by dean_yurke; 24-03-2022, 11:17 AM.
- Likes 1
Comment
-
I haven't tried it at all, but I wonder if there is some xref scene way of doing this. With the object rotated in the xref'd scene. So it's on the cardinal axis in the xref'd scene and then rotated to the desired angle in the rendered scene. I don't think that would work, though. Maybe VRayProxy/vrmesh?Last edited by Joelaff; 24-03-2022, 01:14 PM.
Comment
-
Originally posted by dean_yurke View PostHi Aleksandar, unfortunately that's not really the best solution since it defeats the advantages of procedural texturing, having to bake all of the textures on all of the objects.
Unfortunately doing this via scripting would be quite messy (callbacks, referencing various maps in different places, and so on.), so it'd have to come from the devs, which are however quite busy atm.
Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
Comment
-
Originally posted by Joelaff View PostI haven't tried it at all, but I wonder if there is some xref scene way of doing this. With the object rotated in the xref'd scene. So it's on the cardinal axis in the xref'd scene and then rotated to the desired angle in the rendered scene. I don't think that would work, though. Maybe VRayProxy/vrmesh?
Last edited by dean_yurke; 24-03-2022, 07:11 PM.
Comment
-
dean_yurke Just so you know, I've logged an improvement request (internal bug-tracker id: VMAX-12000) to implement a "Rotate with Object space" option to VRayDirt.
- Likes 5
Comment
-
Originally posted by Joelaff View PostPretty cool. Did you try vrmesh ? I wonder if that would work. I bet it is the same, though.
Of course if you have just one object that needs this you could rotate your entire sceneā¦
- Likes 1
Comment
-
Originally posted by hermit.crab View Postdean_yurke Just so you know, I've logged an improvement request (internal bug-tracker id: VMAX-12000) to implement a "Rotate with Object space" option to VRayDirt.
- Likes 1
Comment
-
Originally posted by ^Lele^ View PostJust the dirts, so a) they stick to the node's transform and b) don't cost compute time for each frame.
Unfortunately doing this via scripting would be quite messy (callbacks, referencing various maps in different places, and so on.), so it'd have to come from the devs, which are however quite busy atm.
Like you said it's much faster to render and it means I can use the streaks blur too, but the biggest reason I'm doing it this is because when I use VrayDirt (and Rich dirt does this too) on an object which is an xref which I then bind and animate the rotations, after a few frames the object's animation goes haywire. It only happens if object motionblur is enabled too, weird city.
At least this way (bake to texture) I probably have a way more efficient overall pipeline so I guess all's well that ends well. Thanks!
- Likes 1
Comment
-
Dean, nice to hear you're finding at least some respite from your woes.
I realised late my suggestion was indeed too simplistic to cover all bases (you could have parameters in the dirt animated based on something else entirely in your scenes, or zoom in so much that a texture would be pixelated), but i thought i'd leave it in the hat regardless.
We have asked the devs for the change, and they'll be sure to implement it (it's also quite elegant an approach), but it will surely take some time.
There is also a way to do this that i didn't think of initially, which you may be able to request to your TDs: writing a simple scripted plugin of the vrayDirt map.
Essentially, the UI would stay the same, the only thing to add would be an extra rollout with the node picker.
Once the node is picked, it's trivial to refresh it (instead of checking the map against its references, wherever they may be in a complex scene), and it shouldn't impact scene speed at all.
I say this should be done by your TDs because it'd then be a plugin (albeit written in maxscript) to be deployed wherever one needed it (individual workstation, slaves), and it'd have a name which wouldn't be "vrayDirt" (as that's already taken), so there are things you may want to discuss while implementing it.Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
Comment
Comment