SpEcIeS Posted February 24, 2016 Share Posted February 24, 2016 Now that I have some new models to use, I am having a lot of difficulties with materials on models. Even when using the animation shaders, there are missing patches of the material on the model. If the regular shaders are used, the materials work as expected, but, as predicted, the materials do not "sick" to the model. When importing new models, what are the configurations and settings for the textures and materials? I have been spinning my wheels for hours and end up with the same results. Attached is an image to help. Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 24, 2016 Author Share Posted February 24, 2016 https://drive.google.com/open?id=0B-jLHUWs4Ve7NE4zVnpHVFV6ZTQ Quote SpEcIeS Link to comment Share on other sites More sharing options...
Angelwolf Posted February 24, 2016 Share Posted February 24, 2016 When you double click your model from the assets (not scene), you should be able to see the animations and bits etc. From the options at the top, click tools then Calculate Normals. Try using Angular Threshold and see if that makes a difference? Quote My Games: Nightmare Prism:::WolfTale:::Dungeon Creeper:::Despair of Ordinary Men:::Piano Simulator 2016:::House (W.I.P) Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 25, 2016 Author Share Posted February 25, 2016 Thank-you for the offering the help, but unfortunately it did not seem to correct the problem. It is very unclear to me what is happening. If the correct animation shaders are used, should it not work? There are three textures for each material: diffuse, normal, and specular. The "diffuse+normal+specular.shader" is applied and the "shadow.animation.shader" is also used. Also, in order to allow the textures to be seen, Strip Vertex Colors was applied on the model in the editor window. Otherwise the model is black. Another odd issue is, since the model is HUGE, resizing the model in the editor to 6' makes it invisible, therefore needing to be reimported. Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 25, 2016 Author Share Posted February 25, 2016 Today I uploaded a video to assist in seeing what is occurring. https://drive.google.com/open?id=0B-jLHUWs4Ve7LUlOTnpOYV8xUU0 Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 26, 2016 Author Share Posted February 26, 2016 Still trying and ending up with the same results and I cannot help but to feel that there is something wrong with the model editor for GNU/Linux. All the errors occur while interacting with this editor. Is there another way of assigning materials to a model without the use of this editor? This post may be best placed in the Linux area. Quote SpEcIeS Link to comment Share on other sites More sharing options...
Angelwolf Posted February 26, 2016 Share Posted February 26, 2016 Im shooting in the dark here, but dont you need the animation shader as normal as well as shadow? Quote My Games: Nightmare Prism:::WolfTale:::Dungeon Creeper:::Despair of Ordinary Men:::Piano Simulator 2016:::House (W.I.P) Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 26, 2016 Author Share Posted February 26, 2016 Yes, and bother are using the animated shaders. Are you using a GNU/Linux platform such as Ubuntu or Debian? I am asking because the problem does not seem to happen on the Windows platform. Quote SpEcIeS Link to comment Share on other sites More sharing options...
Angelwolf Posted February 26, 2016 Share Posted February 26, 2016 No, my linux box couldnt handle LE if I even tried! Quote My Games: Nightmare Prism:::WolfTale:::Dungeon Creeper:::Despair of Ordinary Men:::Piano Simulator 2016:::House (W.I.P) Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 26, 2016 Author Share Posted February 26, 2016 lol Poor little machine. Thanks for your help anyway. Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 28, 2016 Author Share Posted February 28, 2016 Ok. I have determined that it is the model editor. If the merc model, which works completely fine, is loaded into the model editor, then Save is selected, the materials are then patchy, like the image and video that are provided above. O.o Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted February 28, 2016 Author Share Posted February 28, 2016 Just guessing, but I would think this thread is related, as the model seems to save in an animation step with rendered issues: http://www.leadwerks.com/werkspace/topic/10856-model-editor-freaks-out/ https://devtalk.nvidia.com/default/topic/812194/bug-report-rendering-problem-on-linux/ Until it is fixed, it is very likely I will continue to talk to myself about this. lol Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted March 2, 2016 Author Share Posted March 2, 2016 For the last few days I have built a program in LE that loads a model, applies the materials, and allows all animations to be accessed without flaw. All this was done via lua script. The use of models, and manipulation of said models, is possible without the use of the GNU/Linux version of the buggy model editor. I do have a question regarding "Strip Vertex Colors". Some models, when loaded, are black and absolutely huge. lol So, I have applied a rescaling to solve the size and have used a method, surface:UpdateNormals(true,.00001,150.0), to change each of the surfaces from black to the material designs. When looking at the model editor under Option -> Strip Vertex Colors, code wise, what exactly is being applied here? Correction (I cannot seem to edit my posts): Tools -> Strip Vertex Colors So I can.. sort of. O.o Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted March 4, 2016 Author Share Posted March 4, 2016 Maybe using Blender would be a better option for correcting black models? Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted March 10, 2016 Author Share Posted March 10, 2016 Today curiosity got the best of me and I install Unity3d 5.1.0f3 Personl for Ubuntu (Debian derivatives) and the models work just fine and import without issue. There are no patches,or missing portions, in the materials of models with animation, thus furthering the conclusion that the Leadwerks model editor is flawed on the GNU/Linux platform. Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted May 1, 2016 Author Share Posted May 1, 2016 *Bump* Quote SpEcIeS Link to comment Share on other sites More sharing options...
SpEcIeS Posted June 1, 2016 Author Share Posted June 1, 2016 *Bump* Quote SpEcIeS 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.