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.

Material dropdown doesn’t show info from my second scene

Home Forums General Questions Material dropdown doesn’t show info from my second scene

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #66635
    nsansomw
    Customer

    Hi,

    I have a main scene that works perfectly. In the puzzles, when setting the color of a material, I can use the dropdown to select which value I want to change. However, when I load a second scene, the values from that scene don’t appear in the dropdown within the puzzles. Is there a simple method to determine the value names, such as RGB, RGB.001, etc.?

    Thank you.

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

    Do you load this additional scene on demand by clicking some button in your app?

    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.

    #66639
    xeon
    Customer

    The materials of the second scene will not be populated in your main scene puzzles unless you copy those materials to an object(s) in your main scene. This is because they are not loaded into memory and thus are not available.

    There are some workarounds.
    Option 1. Bring all your other scene materials into your scene and then set up the puzzles. After your puzzles are set you can delete the objects and materials. Your puzzles will turn red indicating the materials are missing…but when you do load your other scene it will work.

    Option 2. Reference all your second scene materials by using the Text puzzle.

    There are other options too but these are the most common. The first method will let you do it via dropdowns.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #66641
    kdv
    Participant

    The simplest way to read objects and materials from scenes that are supposed to be loaded later on demand (and that are not loaded in the puzzles editor by default).

    Enable, save, run or reload puzzles, do something, disable, save, reload puzzles.

    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.

    #66755
    nsansomw
    Customer

    Thanks you all,

    I got it working by temporary adding the material into the first scene. However when I got the value names and put them in a text puzzle it did not work, but leaving them as the red dropdown worked perfect.

    Thanks Nick

    #66756
    nsansomw
    Customer

    Enable, save, run or reload puzzles, do something, disable, save, reload puzzles.

    This didn’t make sense at first, but now I understand. Thanks will try it out.

    • This reply was modified 7 months, 2 weeks ago by nsansomw.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.