www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Uncle Ray on January 31, 2015, 07:53:19 am

Title: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 07:53:19 am
solved
Answer:the fbx to obj,have some loss with texture,it is wrong in 3ds max,not jpct
____________________________________________________

here is in 3ds max
(http://i42.photobucket.com/albums/e308/409544041/62A476FE539F7248_zpsb1d62fcf.png)




here is in jpct
(http://i42.photobucket.com/albums/e308/409544041/62A476FEjpct1_zps9d494c45.png)
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 07:55:30 am
here is model
(http://i42.photobucket.com/albums/e308/409544041/62A476FE6A21578B_zps07037f7a.png)

here is texture
(http://i42.photobucket.com/albums/e308/409544041/doubikanj_zps1061bdcd.png)
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 08:06:16 am
Object3D a;
TextureManage tm;
a=loader.loadMD2(....);

tm.addTexture("shield", new Texture(Loadassets.Load("FX/texture/shield.png"),true));

a.settexture("shield");
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 08:09:07 am
why they looks different?
Any help will be appreciated.
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: EgonOlsen on January 31, 2015, 12:37:23 pm
Looks strange. Is this an actual device or the emulator?
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 02:51:30 pm
both device and emulator.
i have the model and texture,
would you mind tell me your email address,
i can sent it to you for tested it?

i have tried many decives they just the same.still different with 3ds max.


Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: EgonOlsen on January 31, 2015, 03:39:33 pm
It's most likely an exporter issue then. Stuff like this usually happens when the texture coordinates are messed up. You can send your files to info@jpct.net
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 04:10:46 pm
Thx,i think,i found the reason.
yes,you're right.it is exporter issue.

3ds max with md2,its right.jpct with ser,it's strange.
so i give up to translate md2 to ser.just keep md2.
when i keep the md2,the 3ds max and jpct just look the same.

honestly,it's not the first time appears issue with ser.
somtimes uv issue,sometimes location issue,sometime obj's id issue.

Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: EgonOlsen on January 31, 2015, 05:32:24 pm
I never had any issues with serialized files. My game uses dozens of them without a problem. Can you provide a test case for this?
Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 08:26:24 pm
i have sent it to you with email,please check it.

Title: Re: why the same texture shows different in jpct and 3ds max?
Post by: Uncle Ray on January 31, 2015, 09:31:15 pm
i am sorry,the reason is not ser.

the reason is 3ds max,when 3ds max export to 3ds,md2,ser,the uv would be strange.

it is my fault,not the bug of jpct.

Thank you very much,for your help.

Next time,i would be check it and check it many times
before pose a question,in here.

thank you again,and again.