Home › Forums › General Questions › Configure ANY colour ?
- This topic has 41 replies, 7 voices, and was last updated 4 years, 6 months ago by Mikhail Luzyanin.
-
AuthorPosts
-
2019-09-19 at 8:54 pm #19029jezukCustomer
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.
2019-09-19 at 9:47 pm #19032FunJoy.TechCustomerI 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:
2019-09-19 at 10:38 pm #19035jezukCustomerThank 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.
2019-09-19 at 10:53 pm #19037FunJoy.TechCustomerThank 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 Material2019-09-20 at 1:17 am #19038daveliParticipantIs there a plan to make a similar puzzle to call the palette directly?
2019-09-20 at 6:48 am #19045Yuri KovelenovStaffHi,
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_colorSome 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.2019-09-20 at 6:54 am #19049Yuri KovelenovStaffIs 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!
2019-09-20 at 2:03 pm #19068jezukCustomerThank 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.
2019-09-20 at 2:39 pm #19073Yuri KovelenovStaffHi,
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#Publishing2019-09-25 at 9:01 pm #19287jezukCustomerHi,
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 !
2019-09-25 at 9:10 pm #19289jezukCustomerOkay, 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 Point42019-09-25 at 9:21 pm #19291jezukCustomerOkay, 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)
2019-09-26 at 7:57 am #19324Yuri KovelenovStaffIf 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.
2019-09-26 at 10:07 am #19335jezukCustomerThanks Yuri for your patience and explanations, it’s all beginning to make sense :)
2019-09-26 at 1:49 pm #19337Yuri KovelenovStaffNo 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 -
AuthorPosts
- You must be logged in to reply to this topic.