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.

general OBJECT Puzzle

Home Forums Puzzles general OBJECT Puzzle

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1505
    a.gracki
    Customer

    I’m missing OBJECT puzzle , what I mean is “when click on OBJECT change the colour of this OBJECT depends of some variables stage”
    So puzzle which will know which object is clicked ? it is possible with current puzzles ?

    I’m just testing the possibilities and looks like this kind of recognizing object will be useful

    #1509

    Hello,

    You can use ‘when clicked’ puzzle with object selector to detect user clicks. Color can be changed by assigning a new material to an object. See ring configurator example in your Verge3D distribution (also Spinner) for real examples.

    Chief 3D Verger | LinkedIn | Twitter

    #1511
    a.gracki
    Customer

    Ok I did this already but the problem is it can be many objects to change material , do I need to set it as I did for “Sphere”.
    This is just testing but I will need for example allow user to change material for multiple machine parts choosing from couple of materials. So the option to change the material of the object which was clicked will be useful, or there is a different way to do it ?

    Other question I have: Can I move the object and this will change the position of the other object or some parameters of it ? for example create slider to change light intensity/colour, kind of drivers in Blender

    #1516

    do I need to set it as I did for “Sphere”.

    I see. Yes, it appears so. The good news is that you can simplify this task by arranging similar parts to groups in Blender. Still I believe that knowing which object was actually clicked from a group can come in handy in some situations. Will think about it!

    Can I move the object and this will change the position of the other object or some parameters of it ?

    For now this can be done with some coding, see for example
    https://threejs.org/examples/webgl_interactive_draggablecubes.html
    Need to think if this can be done with Puzzles.

    I’d like to thank you for the feedback which helps us understand the needs of real-world applications.

    Chief 3D Verger | LinkedIn | Twitter

    #1524

    FWIW, implemented ‘picked object’ and ‘all objects’ puzzles. If you want to test how it works with the dev preview, replace your puzzles runtime with the JS file attached. ;-)

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #1538
    a.gracki
    Customer

    Thank You , works perfect :)
    so this test is completed ready to implement to real project.

    Now I will test some other options; ‘look at’ and ‘tween camera’ looks interesting for product presentation to show some details

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