Posted: 10th Dec 2021 6:11
Ok so some of my 3d models I load in turn black.

There fine in blender and are perfect in my model application.

But in appgamekit they are black.

I am loading them correct and applying textures correct so i am not sure what the reason would be.

I am loading them up as FBX as they work perfect this way other then the ones that are black.
Posted: 10th Dec 2021 8:06
Would SetObjectColorEmissive(Obj,80,80,80) light it up enough to see if the textures exist on your models?

Also, can you export your models in another format? Like b3d or x.
Posted: 10th Dec 2021 8:27
SetObjectColorEmissive(Obj,80,80,80)

This sets them grey with no texture even though they have a texture applied.

I do not have a option for .x and have not tried b3d.

But so far fbx is the best option for animated models.
Posted: 10th Dec 2021 9:33
I usually use milkshape3d, b3d or fbx for animated models.
Today I made an animated model ms3d and it didn't work even though it works fine in milkshape. I exported b3d and it worked.

I often have trouble with this. Some times a format works and some times it doesn't with all 3 of the formats I use.
Sometimes the anim is screwed and sometimes not.
It is very inconsistent. Trying all different formats is the only workaround I have found.
Posted: 10th Dec 2021 9:53
If you are using multi textures try just aplying 1 tex in slot 0 just to see if it shows up or not. If your model was grey before then it seems like it's just not there. ???
Posted: 10th Dec 2021 12:20
are you using UVMap 1 and texture slot 0 ??? and check the normal directions
Posted: 10th Dec 2021 19:05
are you using UVMap 1 and texture slot 0 ??? and check the normal directions


I am using texture slot 0 and for testing I am now using

SetObjectMeshImage( Guard, 1,ObjectImage_1, 0 )

As far as the normals I am not sure how to check the direction.

Please note:

They all work in other application's, just not appgamekit.
Posted: 10th Dec 2021 19:26
I am not sure how to check the direction.


The green lines should be pointing away (outward) from the model, any that point inwards are wrong

for any wrong faces, select the face, from the menu, Mesh>>Normal>>Flip ... it sounds more like a UVMap issue tho, are you sure its unwrapped??

Please note:


Hmmm, double check the UV, I'm sure it must be that

AGK demands that the UV is UVMap 1, cant use secondary UV maps unless using a custom shader
Posted: 10th Dec 2021 19:53
Hmmm, double check the UV, I'm sure it must be that


It could be but it looks just fine in blender so I am confused.

I am going to recreate it and start over because there must be a setting I am setting for some and not for others.

The only difference I can think of is the ones that are black have hair and the ones that work fine have no hair.
Posted: 10th Dec 2021 22:55
I remember this problem. It had to do with the model having vertex colours (set to black)
Posted: 10th Dec 2021 23:36
I remember this problem. It had to do with the model having vertex colours (set to black)


Well I am making fbx extension's not .x so I am not sure how to fix this.
Posted: 10th Dec 2021 23:42
Then just delete the vertex color groups in blender, that should fix it, no?

Posted: 11th Dec 2021 0:30
Then just delete the vertex color groups in blender, that should fix it, no?


I will try this now and let you know.
Posted: 11th Dec 2021 0:45
That works , oh my lord it works.

But it only works if I do not give my model lightmode=1

so the models can not have shader support is what is wrong.
Posted: 11th Dec 2021 0:59
Everything you see on the screen is rendered by a shader its how the GPU draws stuff, there must be something else in the model effecting it.

where it it from, free to download, I'll take a peek if I can...
Posted: 11th Dec 2021 1:06
where it it from, free to download, I'll take a peek if I can


I Make these myself in character creator and export them out with a export license.

They are strait from iclone 7 with full face animations and textures with mod variations.

That is why I am setting this up to show that I can export and import iclone characters.

I will show something tonight when I am finished.

I can even sell these models as there mine but Not the ones I'm testing.

But they look and work just as good.