We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Mirror UV Map

Home Forums Puzzles Mirror UV Map

Tagged: , , ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #63718
    Mariusz
    Customer

    Hello! I’m wondering if it’s possible to mirror UV Map with puzzles?

    I’ve got a nice material shader that animates along the path and I would like the user to be able to change the direction of the animation for the different objects with a button click. In Blender, mirroring the UVMap does the trick. Is there any way to do it with puzzles?

    Alternatively, is it possible to change the object’s pass index in Blender with a puzzle? That might work too with playing around with some Object Info nodes.

    Attachments:
    You must be logged in to view attached files.
    #63721
    kdv
    Participant

    In Blender, mirroring the UVMap does the trick

    there is no need to do it. you can change the flow direction this way

    and that value can be controlled in Verge3D

    https://v3d.net/iqo

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #63725
    Mariusz
    Customer

    Yes, but changing this main Value, changes the direction of the complete material for all the objects. And I would like to change the direction only for the selected objects, and preferably keep one material to do this (to reduce the number of shaders for performance reasons). Any idea how this can be done?

    #63726
    kdv
    Participant

    Something like this will work

    https://v3d.net/iqo

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #63730
    Mariusz
    Customer

    It works, thank you again! :yahoo:
    In my case, I used the object’s mesh Blender name in getObjectByName and used object.objectIndex = 1; and now it works like a charm.

    #63731
    kdv
    Participant

    A little simplier way to get what you want. Works even better, without “jumps”.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #63757
    Mariusz
    Customer

    Thanks kdv!

    Another question about Javascript, maybe you will know the answer. Can we, in a similar way (with Javascript), change the Viewport display color? I’m trying with your code but it doesn’t work and Google didn’t help me find the right answer yet…

    Attachments:
    You must be logged in to view attached files.
    #63759
    kdv
    Participant

    the Viewport display color

    What’s this?

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #63760
    Mariusz
    Customer

    Viewport display Color it’s an object property in Blender. By using the material node “Object Info”, and the slot “Color” we can use one material for different objects and each of these objects can have its own color assigned.

    Attachments:
    You must be logged in to view attached files.
    #63762
    kdv
    Participant

    objectGrid.objectColor = new v3d.Color('#2515FF');

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #63763
    Mariusz
    Customer

    It works, thanks again! :good:

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.