Jump to content

DoerrSt

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by DoerrSt

  1. Hi, is Android and iOS support already available in current Leadwerks 3.1 Indie edition on steam? And do I need to have Steam installed on the system I develop or is it possible to copy it to the development system which does not have Steam installed? Thanks, Stefan
  2. Got it, thanks guys. AFilter was set to 8 but the TextureFilter setting changed to smooth improved the rendering quality.
  3. Hi Rick, I load the model with LoadMode("mymodel.gmf"). This loads automatically the "mymodel.mat" and applies the materials. If I load the object in the model viewer the textures are automatically applied. The model script contains no code but on another model with code I've the same trouble. Regards, Stefan
  4. Hi, I load models with the material automatically with LoadModel("...."). After the model is correctly loaded I try to change the material of this model (a modeller complaint about blurred textures - looks like I've to change the texture filter). The problem is that I can't get access to the material itself but not one of this commands returns a valid material: mat0=player.material mat1=player:GetChild(1).material mat2=GetEntityMaterial(player) mat3=GetEntityMaterial(player:GetChild(1)) If I use material=LoadMaterial("abstract::cobblestones.mat") ground=CreateCube() ground:SetScale(Vec3(100.0,1.0,100.0)) ground:SetPosition(Vec3(0.0,-2.0,0.0)) ground:Paint(material) the commands mat0=ground.material mat2=GetEntityMaterial(ground) are returning the correct value. Do I undestand something or do I've just found a bug? What I want to do is creating a look to set the texture filter for each material with PIXEL instead of MIPMAP: Thanks, Stefan
  5. Hello, is there any way how I can set the TextureFilter for all materials (Lua, C) ? I want to set it for all textures to TEXFILTER_PIXEL instead of mipmap. Or do I have to change it for all materials one by one? As far as I can see there's no way to do that in the material-editor? Thanks, Stefan
  6. I'm not a modeller, sorry - more a programmer. A fried is doing the modelling stuff with 3DS Max. He send me a model in GMF-Format with different MAT-Files. I created the Default lua-Code to get the properties-diaog to get the properties inside of the LE2-Editor (lilke material, physics, ...). Here I can choose one material-file, but I've 4 .mat-Files from him I checked the .sbx-File and it Looks like it is only possible to indicate one of These material-files but not all 4. Sorry my misinterpreted description.
  7. Thanks, that's what I've expected, but how to assign these multiple material files to one mesh? I've only one field to enter the material-file inside of the editor.
  8. It's the answer to my question, I know But could you also explain how to do that? Thanks
  9. Hello, I can assign one material to my model, but is it possible to assign different materials/textures to different sub-models/limbs? Example: I've one texture for the clothes and one texture for the Skin. Thanks in advance, Stefan
×
×
  • Create New...