[noob]object total black in game

Posted By: ayks

[noob]object total black in game - 09/09/09 12:11

hi, i come with my noob/stupid/nonsense problem.
hope i post in the good section etc, rapidly searched "black model" or "export maya to game studio" but i got no solution :x sry if its a 9999x asked problem --

so, the problem is "my model is total black ig"

1)i do my noobish sphere on maya and put a texture on it.
2)i export it as ".obj" and import it in MED model editor
3)i save it as MDF7 file (.mdl)
4)in WED, i add this model with "add/model/my model" (edit : it appears in color in the editor WED)

and then i try to launch the game and the model is total black frown
tried to save as MDF5 file (.mdl) but this way, the model is total white ig (if i remember well)
i guess i forgot something or i'm total noob, so im looking for a solution, ty in advance and sorry for my noob english.
Posted By: Scorpion

Re: [noob]object total black in game - 09/09/09 12:46

hey ayks,

is the model in MED black, too? or is it textured there?
Posted By: Rasch

Re: [noob]object total black in game - 09/09/09 12:54

Open the Model in MED.

Do the follwing:

Edit -> Manage Skins -> Choose Skin -> Skin Properties -> Open the Texture Dialog -> Check 24bit instead of 32bit -> Klick Ok and Save the model

try again! laugh
Posted By: ayks

Re: [noob]object total black in game - 09/09/09 12:58

hi scorpion,
the model is MED is colored, that's partly why I don't understand it's black in the end :s
I took some screenshots for illustrate my problem

1) screenshot 1 http://www.noelshack.com/up/aab/1-5478020a36.jpg
the .mdl in MED, colored

2) screenshot 2 http://www.noelshack.com/up/aab/2-ee60303559.jpg
the basic terrain/earth + my noob model, all colored

3) screenshot 3 http://www.noelshack.com/up/aab/3-1775145999.jpg
in game, my model appears in full black :x

I guess there is a problem with my model but i don't know which one smirk

Posted By: ayks

Re: [noob]object total black in game - 09/09/09 13:03

ok, thanks, i will try

edit : still all black, screenshot. (what i changed)
I'm not sure i have a texture (cause i noob) :s

re-edit : i have nothing to open in "texture file" so i guess it's normal that nothing changed smirk
Posted By: Rasch

Re: [noob]object total black in game - 09/09/09 14:56

Yeah your texture donīt show anything. You need to choose a texture in Texture File and set this one to 24bit if you donīt have a alpha channel set.
Posted By: Renard

Re: [noob]object total black in game - 09/09/09 15:00

Did you set LIGHTS in your level?


Just in case...
Posted By: ayks

Re: [noob]object total black in game - 09/09/09 15:05

ok, i'll try to do something with maya for have an independant texture and then add it as you said, i'll reanswer later.

and i think lights are 'on' cause basic models are in color, only my own models are in black :x

thanks for answer
Posted By: Fab4

Re: [noob]object total black in game - 09/09/09 16:24

does your sphere use any shader? maybe a material sets the first texture as color map.

or do you maybe use external textures? but i think an error appears if the engine cant find it.
Posted By: Blink

Re: [noob]object total black in game - 09/09/09 16:54

try this..in the properties, change the ambient to 100%, if that doesnt work, go to project manager, add materials, and customize to change the ambient. that works for me. or add lighting to the level to see if it has a shadow.
Posted By: sadsack

Re: [noob]object total black in game - 09/09/09 21:19

mkae sure the texture for the model is in the same folder that the model is.
Posted By: Scorpion

Re: [noob]object total black in game - 09/09/09 21:50

If you want you can upload the model and we will figure out what's wrong with it for sure.
Posted By: ayks

Re: [noob]object total black in game - 09/09/09 23:20

ok, i tried something like everything and i got nothing aaaaa :OOO
thats not a fair first-step in game studio laugh
after trying everything i got bored and tried to search more in google but im still searching, tried to save as FBX, as .OBJ, for then convert to the MED format, and i always got the same problem :x
damn, i always have problem with basic nonsense detail :s

for answer to the last answers :
i don't really understand texture for now :s
i just put a color on my sphere on maya and export it. (y, noobish don't help me resolving my problem --)

scorpion I will upload my model good idea, maybe if someone can find a solution, i won't have to bother myself with import, export, format like .obj, .mtl .fdx, etc :s (maya's format)

last thing, i tried to download a .obj+.mtl to .mdl, but it hadn't worked -.-
maybe nothing works with me :s

http://onche.host56.com/model.zip
here the .obj and .mtl from maya, i don't know how to convert them in a .mdl

edit : ok i came back to start point, now i have my mdl. colored in MED and in WED but not ig (full black) its a .obj converted to .mdl.

link http://onche.host56.com/model.mdl


Posted By: Rasch

Re: [noob]object total black in game - 09/10/09 07:52

Try to export it as ".fbx" or ".3ds" instead of ".obj"
Posted By: Scorpion

Re: [noob]object total black in game - 09/10/09 16:53

lol, works fine for me^^ Try to make sure, you've got the newest version of the engine



PS: you didn't applied a texture to it. you just changed it's material attributes. In general a model should have (a) texture(s) ( = a 2D image as skin)
Posted By: ayks

Re: [noob]object total black in game - 09/10/09 17:21

rasch => already tried smirk
scorpion => is that in game ?
i got the last version a7 so i don't understand t_t


thx for precision on material/texture, i will have to practice more for "control"/"overcome" texture --
at least i ~ know what is material now :x
Posted By: Cowabanga

Re: [noob]object total black in game - 09/10/09 18:01

Here is it, in-game:


Works perfectly.
Posted By: ayks

Re: [noob]object total black in game - 09/10/09 18:18

ok, thanks, i guess there is something wrong with my wed :-(
at least now i know that its not a problem from export with maya smirk

i think im soon ok with this problem, im getting something smirk


edit : it works too with color as basic project, but as soon as i do "file / project manager / walk-thru" (i want to do a walk thru project for start) then i remove "1st person camera", add "3rd person camera", right click on my model, "behavior", pibiped, and then i got my model in full black ig -_-' (other model as the basic earth have no problem t_)

+ i have a question if some people are not yet too much bored by me : when i want to rotate my model (the yellow smile), it becomes red (as all item when i select them) and it's "boring" for rotate it in the way i want (cause i don't see exactly where is the face). so im looking a tip for it too smirk

Posted By: ayks

Re: [noob]object total black in game - 09/12/09 17:36

just for say that i finally did it with texture, wasnt easy but it's ok for it now, thanks laugh

(with 3d paint tool on maya)
© 2024 lite-C Forums