Jump to content

wh1sp3r

Members
  • Posts

    421
  • Joined

  • Last visited

Everything posted by wh1sp3r

  1. yes, me too ... reason ? your code light:SetColor(Vec4(0,1,0,1), 1) my code light:SetColor(Vec4(0, 1, 0 ,1.0) ) what is a second parameter ?
  2. function class:GetLight() class = classnametable[ "light_directional" ] if class~=nil then for model,object in pairs(class.instances) do return model end end end
  3. ... ok, wrong math, lol but still .. color of light is not changing for example : light:SetColor( Vec4(0, 1, 0 ,1.0) ) for green light and nothing
  4. ... that I am 775 years old ?? just check my profile. --- joke, just making forum more livelier
  5. I have problem to set a color to my directional light local light = class:GetLight() -- this function returns first direction light handle light:SetColor( Vec4(1.0/255.0, 0.0/255.0, 0.0/255.0 ,1.0) ) light handle is OK, because i can rotate light but i can'T set color. thank you
  6. cool, didn't know about this tutorial thanks, method 3 is working
  7. Hi, Would like to ask, how to get directional light handle from different script ?
  8. lol ? thank you Andy, i will try it
  9. hmm, so , there is something wrong in le, hehe
  10. by the way i tried it 9600 NVIDIA card = crash too
  11. hehe so it should not be a ATI problem
  12. local posL = Vec3(0,0,0) local pos = Vec3(0,0,0) for i=0, 3362 do posL = surface:GetVertexPosition( i ) pos = TFormPoint( posL, object.model, nil) local h = class.GetTerrainHeight(pos.x, pos.z, self.model.world) hm, but It's defined ... IT's Vec3
  13. so explain me, why everything is working in editor ?
  14. i don't think, It's ATI issue, because everything works in 2.28 etc...
  15. Why ? when i do aritmetic thing with yy .. it shows different error, that i am doing arithetic on variable yy (usedata) i tried to make number from it, same problem. what's wrong ?
  16. i remember you from old forum so, you have new version ? .)
  17. yes, it fixes my problem, thanks. so, it should not compress texture
  18. DaDonik: texture has 900KB ;-) It's not about texture actually, but road tool doesn't care about texture, it scretch it as it wants .. EDIT: ah, i understand, how it works exactly .. i draw a circle on texture texture is repeating very often ....
  19. no no, It still crashes .. no without 0 message I tried example from wiki too. There is something wrong, because my demos from 2.27 2.28 works absolutely fine with emitters ... +, you have NVIDIA cards ;-)
  20. ... so ugly ? i would like to have sharp texture, how can i make it ?
×
×
  • Create New...