|
Post by francesco on Oct 11, 2010 16:57:43 GMT -5
Hi, i was trying to add other kind of textures and models on my world, different from the alice archive, i found a model for a tree in .blend format, but after the export in .egg the result was the following: bana.jpg is what i get in my world and this is how it should be: i uploaded the original blend file i found.... hope some1 can help me to create the right png/tif file to attach to the model ' Attachments:
|
|
|
Post by Hannes Vilhjalmsson on Oct 20, 2010 17:44:13 GMT -5
Francesco, could you post an update on this to the board? Since by now you have actually solved the problem
|
|
|
Post by francesco on Oct 23, 2010 17:41:13 GMT -5
well actually the problem was only on the extraction of the texture from the original blend file. After the extraction of the -RIGHT- img file from the blend file, panda will be able to attach it autonomously to the egg file.
Eventually u can find useful to play with the RGB value of the model, or totally overriding it, as the following example:
<Material> Material { <Scalar> diffr {0.800000011921} <Scalar> diffg {0.800000011921} <Scalar> diffb {0.800000011921}
Actually i found more efficient and beautiful to eliminate the string about alpha transparency which sometimes caused view problems. But i didn't found it in all the model i found.
oh, one more thing: pay attention to the texture path!!! it's stored into the egg file, like this:
<Texture> Material { "./zebra-side2b.jpg"
wich means the texture MUST be in the same directory of the egg file.
if u need further infos, just ask.
|
|