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.

Configure ANY colour ?

Home Forums General Questions Configure ANY colour ?

Viewing 15 posts - 1 through 15 (of 42 total)
  • Author
    Posts
  • #19029
    jezuk
    Customer

    I’d like to know if it is possible to create a Verge3d scene where instead of changing the colour of an object to one of several different choices, the user can change the colour of an object to ANY colour within the spectrum ?

    Let me explain. My client manufactures construction products can be ANY colour, not just a selection of a dozen colours.

    I have seen in your article that Verge3D, v2.9, for 3DS Max now has “Color Correction map which can now be animated”.

    Please can you give me some guidance as that sounds like that would do what we’re looking to do.

    Our product is only painted, so it could be just a change of hue, saturation and brightness (actually, the colour would be any RAL colour).

    I’ve yet to play with the Trial version of Verge3D but I would love to create a demo version (watermarked) to prove to my client the concept works so we may go ahead and make the purchase.

    Please can someone advise ?

    Many thanks.

    • This topic was modified 3 years ago by jezuk.
    #19032
    FunJoy.Tech
    Customer

    I think this is possible. I made a simple puzzle setup for reference, every time you click the cube, the cube will change to a random color:

    Attachments:
    You must be logged in to view attached files.
    #19035
    jezuk
    Customer

    Thank you for your reply.

    I meant to be able to choose any desired colour, rather than accepting any random colour, but your example looks promising :)

    Some kind of colour or hue slider rather than a set of colour swatches is what I’m imagining.

    • This reply was modified 3 years ago by jezuk.
    #19037
    FunJoy.Tech
    Customer

    Thank you for your reply.

    I meant to be able to choose any colour, rather than set any random colour, but it looks promising :)

    Some kind of colour or hue slider rather than a set of colour swatches is what I’m imagining.

    Yes, I understood what you mean, that’s just a quick setup for color attributes.
    For the color picker, check this topic: Color Picker – Change Diffuse Material

    #19038
    daveli
    Participant

    Is there a plan to make a similar puzzle to call the palette directly? :rose:

    #19045

    Hi,

    In 3ds Max, you can use material controllers which you can connect to color slots you’d like to have control over.

    As soon as you have such a setup, you can set the values for the controllers using Puzzles: set value or set color.
    https://www.soft8soft.com/docs/manual/en/puzzles/Materials.html#materials_set_color

    Some slots (e.g. diffuse color of the Physical or Standard material) are accessible even without adding controllers.

    Finally, you can add an HTML-based color slider (there are plenty of ready-to-use components on the web, see this one for example). You can retrieve the RGB components selected by the user and supply them to the above-mentioned set color puzzle. This integration can be implemented through the combination of HTML puzzles and the when called from js puzzle.


    @FunJoy
    thanks for helping out!

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

    Chief 3D Verger | LinkedIn | Twitter

    #19049

    Is there a plan to make a similar puzzle to call the palette directly?

    This is slightly out of scope of Verge, just like image editor for uploaded textures. :) We however will consider this. Thanks for the feedback! :good:

    Chief 3D Verger | LinkedIn | Twitter

    #19068
    jezuk
    Customer

    Thank you everybody :)

    I am getting very close to succeeding with my very first Verge3D model online.

    I have learned how to make my background transparent – using Puzzles “Initialisation” settings, but I don’t see these when I export via the 3DS Max menu.

    I can only get this to work when I export using the App Manager and publish to the Verge3D network ?

    Is this correct ?

    Also, is this how I utilise the puzzles in general ? i.e. whenever I introduce puzzles into my Verge3D project, I MUST publish to the Verge3D network to make use of those Puzzle effects ? (and then embed using iframe etc) ?

    I thought we could host independantly ?

    What happens if the Verge3D Network goes down ? Or….. if we start getting charged for having our models on that Verge3D Network ? (this work is for my client and he would want to be sure he will not be hit with subscription fees later down the line, like SketchFab for example).

    Sorry for the newbie questions here :)

    Many thanks.

    • This reply was modified 3 years ago by jezuk.
    #19073

    Hi,

    I have learned how to make my background transparent – using Puzzles “Initialisation” settings, but I don’t see these when I export via the 3DS Max menu.

    This is Puzzles-only setting which is independent on 3ds Max export.

    I can only get this to work when I export using the App Manager and publish to the Verge3D network ?

    To enable it, you should use Puzzles accessed via the App Manager, but the publishing part is optional.

    Also, is this how I utilise the puzzles in general ? i.e. whenever I introduce puzzles into my Verge3D project, I MUST publish to the Verge3D network to make use of those Puzzle effects ? (and then embed using iframe etc) ?

    Puzzles-enabled project can be launched locally as well. Verge3D network is irrelevant here.

    What happens if the Verge3D Network goes down ? Or….. if we start getting charged for having our models on that Verge3D Network ? (this work is for my client and he would want to be sure he will not be hit with subscription
    fees later down the line, like SketchFab for example).

    Verge3D Network is a convenience feature for people without websites. Unlike with Sketchfab, Verge3D apps are self-hosted.

    Please find more info here
    https://www.soft8soft.com/docs/manual/en/introduction/Beginner-Guide.html#Publishing

    Chief 3D Verger | LinkedIn | Twitter

    #19287
    jezuk
    Customer

    Hi,
    In 3ds Max, you can use material controllers which you can connect to color slots you’d like to have control over.
    As soon as you have such a setup, you can set the values for the controllers using Puzzles: set value or set color. https://www.soft8soft.com/docs/manual/en/puzzles/Materials.html#materials_set_color
    Some slots (e.g. diffuse color of the Physical or Standard material) are accessible even without adding controllers.

    I’m going with Physical Materials but am really lost trying to understand what’s going on here. If I don’t need controllers for Physical materials, why are they mentioned ?

    Please can someone show me an example of how this is done – I’m really having difficulty getting my head around this concept – I’m new to Controllers, Physical Materials, Puzzles, everything !

    And that’s before we start talking HTML and Javascript……

    For now I am just trying to understand how I can Set Color to an object (the default Box)

    1) How do I ADD a controller to the Diffuse (Base Color) of a Physical Material ? I use the Node based Material Editor (3DS Max 2020) and it won’t connect to the Base Color Node ?

    So, I’m stuck at this first point !

    #19289
    jezuk
    Customer

    Okay, I’ve worked out how to assign a Controller to my Physical Material.

    But which Controller would you advise would be best for me to assign ?

    The available choice is;

    Bezier Point4,
    Bezier RGBA Color,
    Color RGBA,
    Point4 List
    Point4 Script
    Point4 XYZW
    TCB Point4

    • This reply was modified 3 years ago by jezuk.
    #19291
    jezuk
    Customer

    Okay, this is starting to make sense :)

    So my next question is related to this comment;

    ” You can retrieve the RGB components selected by the user (who has chosen a colour using the color wheel/picker) and supply them to the above-mentioned set color puzzle.”

    How do I ‘retrieve’ the RGB components selected by the User ? (this is getting into JS and HTML territory)

    • This reply was modified 3 years ago by jezuk.
    #19324

    If I don’t need controllers for Physical materials, why are they mentioned ?

    Because sometimes you need more complex interactions then just modifying colors.

    But which Controller would you advise would be best for me to assign ?

    Physical material parameters can be animated or changed with Puzzles or with code using Float or Point4 material Controllers.

    How do I ‘retrieve’ the RGB components selected by the User ? (this is getting into JS and HTML territory)

    First, you need to set up a color picker. Then, you can find (from its docs or by reviewing the code) in what exactly form does it provide colors. You must convert them to RGB values ranged from 0 to 1 before using with puzzles.

    Chief 3D Verger | LinkedIn | Twitter

    #19335
    jezuk
    Customer

    Thanks Yuri for your patience and explanations, it’s all beginning to make sense :)

    #19337

    No problem! BTW here is the freshly created Manual page on Controllers:
    https://www.soft8soft.com/docs/manual/en/introduction/Materials-Maps-Reference-Max.html#Controllers

    Chief 3D Verger | LinkedIn | Twitter

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