Tagged: multiple materials loned object
- This topic has 37 replies, 8 voices, and was last updated 1 month, 1 week ago by kdv.
-
AuthorPosts
-
2023-10-22 at 6:15 pm #67807kdvParticipant2024-06-19 at 10:48 am #75025studiogijsCustomer
@kdv77kdv
I wonder if the following scenario is possible with your plugin. I have objects that sometimes have a single material applied, and sometimes need a multimaterial assigned. So within the mesh I have two subsets that can either have material A+A, B+B, C+C, etc. or have A+B, A+C, etc.
Or do you have other tools/ideas to make this possible?Ideally I want to avoid having to modify the app making the objects have two meshes, or having to duplicate all materials, if that makes sense.
2024-06-19 at 11:34 am #75026kdvParticipantWhy not? Quite possble. Depends on your logic.
Puzzles and JS coding. 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 the meaning at all.
2024-06-19 at 12:26 pm #75028studiogijsCustomer@kdv77kdv Because I don’t see how this is possible. If I assign a material to a single mesh, then subselect a part of the mesh and assign the same material, how then do I differentiate?
Or vice versa, if I have an object with material A and B, and I replace material A with C and B with C, how do I then go back to the object having material A and B?2024-06-19 at 12:35 pm #75032kdvParticipantEasy.
Puzzles and JS coding. 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 the meaning at all.
2024-06-19 at 1:21 pm #75035studiogijsCustomer@kdv77kdv ok, thanks, that looks promising. It’s not clear to me however how I can create a submesh in Blender without assigning more than 1 material to it.
2024-06-19 at 1:25 pm #75036kdvParticipantIt’s not clear to me however how I can create a submesh in Blender without assigning more than 1 material to it.
Actually it’s not clear to me what are you talking about
You don’t need to create any special meshes or submeshes in Blender. You just create an object, assingn several materials to it as usual and export the scene. The puzzle can replace any material on any object in the scene.
Puzzles and JS coding. 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 the meaning at all.
2024-06-19 at 1:31 pm #75037studiogijsCustomer@kdv77kdv I initially don’t start with a multimaterial object, but apparently that’s a no go, and I need to export the object with a multimaterial in order to assign different or the same material to different subobjects later. I’ll go ahead and get your plugin to see if that works.
2024-06-19 at 1:34 pm #75038kdvParticipantI initially don’t start with a multimaterial object
In that case you can’t make this object multi-material afterwards. This should be done on Blender beforehands. Your objects should initially have the desired amount of material slots.
Puzzles and JS coding. 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 the meaning at all.
2024-06-19 at 2:00 pm #75039studiogijsCustomer@kdv77kdv
thanks, that makes sense.
I get an error when trying this. What am I missing?https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:606b34768b/my_awesome_app.zip
- This reply was modified 6 months ago by studiogijs.
- This reply was modified 6 months ago by studiogijs.
Attachments:
You must be logged in to view attached files.2024-06-19 at 2:24 pm #75046kdvParticipantFor some unknown reason the global variable
LIST_NONE
is not defined in your visual_logic.jsWait a sec, I’ll fix it…
Puzzles and JS coding. 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 the meaning at all.
2024-06-19 at 3:07 pm #75049kdvParticipantDownload the fix, reload and resave your puzzles.
Puzzles and JS coding. 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 the meaning at all.
2024-06-19 at 3:31 pm #75051studiogijsCustomer@kdv77kdv
perfect now, thanks!2024-06-19 at 3:41 pm #75052studiogijsCustomer@kdv77kdv, one more question, I will have many objects that need to be assigned either a single or multimaterial.
Is there a more efficient way to handle multiple objects? Since the submesh name will constantly change.2024-06-19 at 3:44 pm #75053kdvParticipantmaybe later I will rework this puzzle to be a little more universal for using in loops with different objects, but not now…
Puzzles and JS coding. 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 the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.