www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Melssj5 on February 04, 2006, 02:52:04 am

Title: UV coordinates
Post by: Melssj5 on February 04, 2006, 02:52:04 am
Hi, how can I change the uv coordinates of a md2 file, I mean changing the file propierties to change the information of the fil about the uv coordinates, I have a md2 file that appears with the textures placed inverted, up to down.
Title: UV coordinates
Post by: EgonOlsen on February 04, 2006, 12:22:33 pm
Why not just flip the texture?
Title: UV coordinates
Post by: Melssj5 on February 04, 2006, 07:09:42 pm
because I must redistribute that model, its an animation of a paper moving, but the qtip exporter make it appear with wrong UV coordinates.

The animation will be used in a comercial software called concayo viewer, used to watch digital magazines, very similar to zinio. They use another engine to do the render because its in vb.net. But I want to change the uv coordinates of my animation.
Title: UV coordinates
Post by: EgonOlsen on February 04, 2006, 07:37:25 pm
So you want to modify the file itself, not the coordinates after loading...? In that case, i have no clue. Maybe using another exporter will help... :?:
Title: UV coordinates
Post by: Melssj5 on February 04, 2006, 07:43:07 pm
ok,thanks. Do you know about one for 3d studio max 6 or 7?

I used qtip but its awful.
Title: UV coordinates
Post by: Melssj5 on February 06, 2006, 05:04:33 am
Well, how do you know how to set the texture in this kind of files?
Title: UV coordinates
Post by: EgonOlsen on February 07, 2006, 12:32:53 am
Quote from: "Melssj5"
Well, how do you know how to set the texture in this kind of files?
...i don't quite understand that question... :?:
Title: UV coordinates
Post by: Melssj5 on February 07, 2006, 01:31:23 am
Well, JPCT can load md2 files, so I want to know, wich bytes  do you read from the file that tell you how to set the texture on the map.
Title: UV coordinates
Post by: EgonOlsen on February 07, 2006, 09:32:11 am
It loads MD2 according to the specs of the file format, which can be found here for example: http://tfc.duke.free.fr/coding/md2-specs-en.html