i am new to blender. been using it for a few weeks and just started messing about with the game engine and the physics now but when i come to preview my game. my objects dont load there textures/materials. there just plane coloured blocks/shapes but when i render its fine:confused:
how do i apply textures to the game engine? i know it can be done because i saw a demonstration of in blender where this ball rolls down a slope and knocks down some crates. i had a look at the objects used but there is no sign of materials or textures. so it looks like its images. if it is this then how do import them onto the faces of the object? or the object its self. a step by step guide to this would be ace as for i am still learning.
thank you very much for reading this and if anybody knows the answer to my problem then i owe you a big kiss
hope this helps! it probably wonāt make much sense if you dont understand the basic concept of UV mapping. Basically, itās taking a 3D object and slicing it in key places and unwrapping it like and orange. hope it helps!
ok guys thanks alot for that i did what you said and can see my image on the cube. however when i start the game Ā§ the cube is just black so what am i missing out? please help guys. you have been great so far
PS the picture is all over the cube and is messed up. it was only a tester. but could this be the problem? hope this helps you in helping me
It sounds like you need to ad a lamp to your scene.
to do that:
put your mouse-poiner over the d3 window
press space
select add
select lamp or light or what is it called?
and pick one.
position it so the light shines on the side of the cube you see (if the light is behind the cube it wont help)
about the picture being messed up there are good tutorials on uv mapping that should help you sort that out. (it is unlikely to cause the cube being black)
cheers for that. the picture is messed up because it is a pic of a rendered cube with lines on lol. i still cannot get this working. here are some pics to show it. its just a quick go. just to get used to texturing s dont expect a work of art. its just a cube and a pic i found on my comp.
and just after i post thatā¦ i figure it out lol. whoopsy forget to hit texface. incase people are still struggling with this you need to go onto the materials panel and hit texface. and thast it lol. one little thing
thanks alot for the help through this guys. i owe you 1
Humā¦ im a bit concerned about your lights!
if you look at the left of the āUV FACE SELECTā mode there is an option called āfaceā.
try to play around with it to see if the lights influences on them!
Also i read that the fact that the light would be on another LAYER will not light the others elements. So it might be that the floor and the lamp are on the same layer, but the walls no.
Or try to check the normals:
go into edit mode, select everything.
press "ctrol +n and chose ārecalculate normales outisdeā¦ā
try to exit and press P.
if nothing changed, go back in edit mode, and select all, and ācontrol SHIFT nā in will ārecalculate normals insideā