Triplanar - Object/world space texture sliding

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
stir
Licensed Customer
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

Hi

It looks like the triplanar Object space and worldspace coordinats is broken.
They both act the same unless i misunderstand how they are suppose to work.

This is how i think about it.

- You create a sphere in your 3ds max scene.

- You animate it from left to right.

- You apply a triplanar texture map to it and pick Object space.
This should make the texture stick/lock to the object.

- You now change it to worldspace
This should make the texture slide across the sphere because the sphere is animated.

At my end i get sliding on both systems.

UNLESS!!!!
I check the movable proxy on the sphere, then object space works as it should.
Is that intended? Do i really need to make all the objects containing this triplanar material to be movable proxy to make it work correctly?


They are both objectspace in the triplanar - But the first one is movable proxy and the second is not.

https://media.giphy.com/media/5UtdqOjGf ... /giphy.gif

https://media.giphy.com/media/WysDPT1Nq ... /giphy.gif

Thanks
-Mats
------------------------------------------------------------------------------

http://www.stir.no
User avatar
paride4331
Octane Guru
Posts: 3813
Joined: Fri Sep 18, 2015 7:19 am

Hi Stir,
my animation test seems to works fine, could you share your scene please?
Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
stir
Licensed Customer
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

Here Paride

I have attached the maxfile in this post.


Here is the renders i made with this file, just for references to see if you get the same result.

Here is frame 0 and 5, the sphere DON'T have movable proxy on.
Triplanar_sample_noProxy_001.jpg
Triplanar_sample_noProxy_002.jpg

Here is frame 0 and 5, the sphere DO have movable proxy on.
Triplanar_sample_Proxy_001.jpg
Triplanar_sample_Proxy_002.jpg
specs:
3ds max 2019.3
Octane 4.01.1 - 6-12
Windows 10 64-bit
Nvidia 1080ti x3


Cheers
-Mats
Attachments
Triplanar_sample.rar
(26.12 KiB) Downloaded 241 times
------------------------------------------------------------------------------

http://www.stir.no
User avatar
paride4331
Octane Guru
Posts: 3813
Joined: Fri Sep 18, 2015 7:19 am

Hi Stir,
you have not to put triplanar map into RGB image node.
Regardds
paride
Attachments
01.jpg
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
stir
Licensed Customer
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

Sorry paride.
It still doesn't work.

I have made a new test scene, this time i have based on this
https://docs.otoy.com/3DSMaxH/3DSMaxPlu ... narMap.htm

So we dont need to complicate it with maps, only colors.

The results i get:

Movable proxy off
Triplanar_sample02_ProxyOff_f0.jpg
Triplanar_sample02_ProxyOff_f5.jpg

Movable proxy on
Triplanar_sample02_ProxyOn_f0.jpg
Triplanar_sample02_ProxyOn_f5.jpg

The sphere is here animated between frame 0 and 5 with a 90degree rotation in Z
And the triplanar shader is set to object space on all the renders.

I would really appreciate it if you had time to take a look on this maxfile aswell.

Thanks for the help
-Mats
Attachments
Triplanar_sample_02.rar
(25.51 KiB) Downloaded 227 times
------------------------------------------------------------------------------

http://www.stir.no
senorpablo
Licensed Customer
Posts: 163
Joined: Sun Jun 28, 2015 2:52 am

I've had this issue in the past. If I recall correctly, you have to turn on movable proxy(which is un intuitive).
stir
Licensed Customer
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

senorpablo wrote:I've had this issue in the past. If I recall correctly, you have to turn on movable proxy(which is un intuitive).
Indeed, that's what i am trying to say.
And it is really strange.
------------------------------------------------------------------------------

http://www.stir.no
User avatar
paride4331
Octane Guru
Posts: 3813
Joined: Fri Sep 18, 2015 7:19 am

Hi guys,
if you want to see the textures rotate coherently with the moving object, you must use movable proxy option.
you must use movable proxy option with all moving objects in the scene, and personally my advice is use movable proxy always and anyway.
A correct animation is object-space and movable proxy; if you want special effect you can use word or object space, but using projection node too.
Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
stir
Licensed Customer
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

Sorry for late reply.

Thank you for clearing that up Paride.
I was under the impression that movable proxy was only needed for quick previewing.
But I will follow you advice and always use movable proxy on animated objects from now on.


Good to know :)
Thanks

-Mats
------------------------------------------------------------------------------

http://www.stir.no
lpgraphix
Licensed Customer
Posts: 4
Joined: Mon Aug 07, 2017 4:33 am

HI, sorry this is an old thread but when looking for triplanar swimming issues this is the only that came up. Is there a similar fix for the Houdini plug-in? I have all of my triplanars set to Object Space but they still slide around on moving objects.
Post Reply

Return to “Autodesk 3Ds Max”