mdgunn Posted October 16, 2018 Share Posted October 16, 2018 Added a palette material we could share across objects to get a uniform colour scheme (which could be changed in an instance) and would reduce draw calls, reduce memory usage and increase render speed (I believe). Also updated the tree slightly and now using this palette. 1 Quote Link to comment Share on other sites More sharing options...
aiaf Posted October 17, 2018 Share Posted October 17, 2018 Cool, How do you color that tree ? I can model but i dont know how to color the things. Quote I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station Link to comment Share on other sites More sharing options...
mdgunn Posted October 17, 2018 Author Share Posted October 17, 2018 In Blender have a UV/Image window on one side (left) and a 3D window (on the right). Do the following: select the object Tab into edit mode CTRL-A to select all or select the faces, or click select the faces you want to assign a colour to. Press U to unwrap and select Unwrap Scale down the unwrapped faces which will appear in the UV/Image window a few times so they are really small and fit within the coloured square of the colour you want the faces to have. You also need to make sure you have the 3D view in material view and you need to create a material with an image map of the UV image texture. This bit can be confusing if you are not familiar with materials but if you mess around in the texture tab and material tab you should figure out how to do it. The image in the UV image window you load from the low poly one in Material/Simple . When you export your model you will probably need to set the material in Leadwerks again on the model as I think it will not have selected the shared one in Material/Simple but instead expects to see it in the same folder as the export. That confusion might be a bit confusing. If so I can probably catch you on Discord, though I may be at work. Not sure on your timezone. Quote Link to comment Share on other sites More sharing options...
mdgunn Posted October 19, 2018 Author Share Posted October 19, 2018 Material was missing from repo for low poly texture so added. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted October 19, 2018 Share Posted October 19, 2018 Is there a way I can use your color palette in another 3D program (3D Coat)? Quote Link to comment Share on other sites More sharing options...
mdgunn Posted October 19, 2018 Author Share Posted October 19, 2018 yeah....the png is there for you to load up as a texture that other programs can use to position UV's. Path in repo is forth/Materials/Simple/low_poly_palette.png Not sure exactly what you want to do. I have 3D Coat but sadly I've not really got my head into it very much if you have any specific requirements. Quote Link to comment Share on other sites More sharing options...
mdgunn Posted October 19, 2018 Author Share Posted October 19, 2018 In general if you want something to have a colour you need to select those faces in a 3d program and shrink them right down so they fit in the tiny square. Shouldn't really matter how you've unwrapped it as long as it's located in the small square of the colour you want. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted October 19, 2018 Share Posted October 19, 2018 Thanks just worked it out. For anyone else wanting to know. In 3D Coat select to color picker in the paint work space. Select "IMG" in the color palette menu. Click "select tab" and navigate to the image file location. Your image is now available as a color palette. Quote Link to comment Share on other sites More sharing options...
aiaf Posted October 21, 2018 Share Posted October 21, 2018 Thanks , i figured how to use this from blender.Next i export to fbx. But i dont know how to make this colors appear in leadwerks editor .. Quote I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station Link to comment Share on other sites More sharing options...
mdgunn Posted October 21, 2018 Author Share Posted October 21, 2018 In the model editor you should reselect the correct material to make sure it is set up for the Simple/low_poly_palete.png material If still problems then it's probably that Blender might not have fully been setup to setup the material texture against the UVs. If you can see the model in blender with the right colour on faces then it is should be mapped correctly. See the image below of your model showing the colours and little uv'd faces on the low poly texure on the UV/Image view. Maybe check over the texture settings on the right, below making sure mapping is set to UV not generated. If you are in cycles then probably a bit different. Here is the model 'detector_mdg_test' in leadwerks after reselecting materials/simple/low_poly_palette.png You can delete the detector_MDG_TEST files when you are done with them when you want. 1 Quote Link to comment Share on other sites More sharing options...
aiaf Posted October 21, 2018 Share Posted October 21, 2018 Cool now it looks the same in le editor. Many thanks, more color models will come soon. 1 Quote I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.