Hi,
Is there a possibility to let textures move with an object? Like in LW you can set a reference object and the texture follows this?
I was thinking about spot info connected to the U and V translation inputs... but that doesnt do anything..
thanks in advance.
Ruud
Move a texture with an object?
Moderator: juanjgon
The spot info is not going to work because this information is not available in the Octane context, but I suppose that you can link the position info from any object item info node to the translation input of the Octane projection node.
Be aware that perhaps this workflow is not going to work in realtime in the IPR, but if you reload the scene or redraw it, the texture should move with the reference object.
Thanks,
-Juanjo
Be aware that perhaps this workflow is not going to work in realtime in the IPR, but if you reload the scene or redraw it, the texture should move with the reference object.
Thanks,
-Juanjo
- ruuterdetuuter
- Posts: 86
- Joined: Tue May 02, 2017 8:41 am
Thanks, but whenever I move the object, the texture on the surface goes another way..
Thanks in advance,
Ruud
Thanks in advance,
Ruud
- ruuterdetuuter
- Posts: 86
- Joined: Tue May 02, 2017 8:41 am
I did, but it didn't make a difference.
Thanks for the suggestion
Thanks for the suggestion
Probably you need some math nodes to adjust the coordinates system. Octane has the Z axis inverted, so you should try to invert this axis to see if it works.ruuterdetuuter wrote:Thanks, but whenever I move the object, the texture on the surface goes another way..
Thanks in advance,
Ruud
Thanks,
-Juanjo
- ruuterdetuuter
- Posts: 86
- Joined: Tue May 02, 2017 8:41 am
I can get it to invert (-100 scale on the Add Scaled Node) But then it inverts on the X axis also... Is there a way to invert only the Z-Axis?
- ruuterdetuuter
- Posts: 86
- Joined: Tue May 02, 2017 8:41 am
Thanks Juanjgon for thinking along. But I cannot make it work. The nodes are not working as I'd like them to work... Maybe for the next update of Octane it would be an idea to just invert the Z axis? or otherwise deliver a node that does just that?
Thanks again. Hoping for other suggestions.
Thanks again. Hoping for other suggestions.
Weird. It should work. Attached you have a sample scene. Put any file in the texture node and check what happens if you move the Null object. Remember that you must reload the scene in the IPR to see the changes.
Thanks,
-Juanjo
Thanks,
-Juanjo
- Attachments
-
- plane.rar
- (4.31 KiB) Downloaded 265 times