Enable outlines via text elements or function parameters

Home Forums Puzzles Enable outlines via text elements or function parameters

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13410
    scalarescalare
    Licensee

    Hello Guys,

    I need to be able to enable the outline effects by specifying them with a text that refers to a collection name, or by applying it through a parameter or variable that holds the collection name, but it looks like it is not working. If I do it with an object selector with the collection name, it works though. It seems that the change you’ve made to make everything work via texts has left the outlines effect out?

    Or am I missing something ?

    Thank you!
    Andrés

    #13416
    Yuri KovelenovYuri Kovelenov
    Developer

    Yes, when you’re using a text puzzle as input, it assumes that an object name is supplied. To make it work with a collection, you can use the following undocumented hackery – use a list consisting of two text puzzles: “GROUP” and “your collection name”.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #13444
    scalarescalare
    Licensee

    Hi Yuri, that is great! Thank you. But I have a question: Will Verge3D eventually be able to accept collection names for the outlines? If so, will this hackery still work? Because if not, we will have to change our coding when you include the “regular” functionality in the future release.

    #13446
    Yuri KovelenovYuri Kovelenov
    Developer

    This issue is not specific to the outline puzzle but rather to all puzzles in general. When using text puzzles instead of selectors, you have to somehow distinguish between object names and collection names. So I think we won’t be changing this behavior in the observable future.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #13447
    scalarescalare
    Licensee

    Great. Thank you for clarifying!

    #23704
    Branden CokerBranden Coker
    Licensee

    Glad I found this! I’m having a similar issue, but rather than enabling outlines on a collection of objects, I’m attempting to combine text with a picked object puzzle. Attaching a screen shot here for clarity.

    The picked object in this case is called “housing.” I would expect resulting text to be “outline.housing” which is the same name as my variable.

    It’s not working as shown here. If I replace my create text puzzle with the “outline.housing” variable puzzle, it works fine.

    puzzles

    Attachments:
    You must be logged in to view attached files.
    #23713
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi Branden,

    You might try to retrieve the value of the variable with this puzzle before passing it to outline. Right now is just creates a String value which the outline puzzle interprets as an object name, while you need it to be a list of object names.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #23779
    Branden CokerBranden Coker
    Licensee

    Thank you Yuri. This is good to know. I managed to find another solution. I actually used Collections in Blender and the info here you shared to get it running. I’m sure the “variable value by name” puzzle will come in handy soon though.

    #23801
    Yuri KovelenovYuri Kovelenov
    Developer

    Sure! Glad you worked it out! :good:

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.