www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Simdanfeg on May 07, 2012, 03:31:57 am
-
Hi,Could I use the engine to one of surface texture?
-
What ???
-
EgonOlsen
Sorry for the late reply, I want to say jpct texture mode principle. By the way, i want to write a book to introduce jpct.can i?
-
I still don't get the question... ???
-
e.g
now i have a texture image(Multiple images in one piece) and a complex 3ds file.now i just call thing.setTexture(texture). Engine will correct it covered with texture? if not ,what can i do for it? please
-
Your file might or might not contain proper uv-mapping for the textures. If it does, a setTexture(...) will use these mappings to apply the texture. If it doesn't contain a mapping, setTexture(...) will still work, but the results might not be satisfying. The engine can't know how to apply a texture if the file contains no mapping.
I'm still not sure if this was your question though...
-
Thank you for your patience to answer, it is . How do I know whether it is proper uv-mapping for the textures?
-
Just add a texture. If it looks good, fine. If not, there might be no mapping or at least no mapping that fits the texture. Usually, if you download a model and it comes with a texture, it has a mapping. If the download contains no textures, chances are that there's no mapping in the file either.
-
;D You are my light in the dark . thanks