Hi there,
anyone has an idea how the structure for UVs could be for the attached file?
The UVs begin at 0x6E78.
[/quote]
Any help appreciated!
Thanks
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Help with UVs
- shakotay2
- MEGAVETERAN
- Posts: 4291
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1151 times
- Been thanked: 2244 times
Re: Help with UVs
this looks like uvs; not sure how to unscramble them atm:
(well - done; had to subtract 1.0 from every uv value > 0.5)You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: Help with UVs
Thank you! Im very impressed.shakotay2 wrote:this looks like uvs; not sure how to unscramble them atm:(well - done; had to subtract 1.0 from every uv value > 0.5)
However, i can not rebuild das, with your tool. Can you tell me, which i settings exactly i have to chose to get that result? i already get corrupt data for "go2".
Also: How did you find out to subtract 1.0 for every UV value > 0.5?
Thanks!
- shakotay2
- MEGAVETERAN
- Posts: 4291
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1151 times
- Been thanked: 2244 times
Re: Help with UVs
with hex2obj you get the left part of the image in my previous post when pressing the 'uvs' button.Ginsor wrote:However, i can not rebuild das, with your tool.
(I temporary inserted the (if (uvpos>0.5) condition) into the code to get the right part of the image.)
it's one of those tricks you learn after having analyzed hundreds of 3D formats.Also: How did you find out to subtract 1.0 for every UV value > 0.5?
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: Help with UVs
Oh i see, so I cant rebuild it! Then I need to find a way to build an .obj for that somehow. Any idea how I could achieve that?shakotay2 wrote:I temporary inserted the (if (uvpos>0.5) condition) into the code to get the right part of the image.)
Haha, I get that. Thank you, it is a very useful info.shakotay2 wrote:it's one of those tricks you learn after having analyzed hundreds of 3D formats.
Also, why is your count 753? Shouldnt it be 1761?
- shakotay2
- MEGAVETERAN
- Posts: 4291
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1151 times
- Been thanked: 2244 times
Re: Help with UVs
In hex2obj switch to ShortAll, then File / SaveAs meshGinsor wrote:Oh i see, so I cant rebuild it! Then I need to find a way to build an .obj for that somehow. Any idea how I could achieve that?shakotay2 wrote:I temporary inserted the (if (uvpos>0.5) condition) into the code to get the right part of the image.)
Load the created obj file into a calculation app (Excel or so), blank as a separator , for the vt lines you should get three columns for "vt", tx and ty. Select the tx column apply a formulae which expresses the above conditon (same for ty column), save the changed table and you're done (more or less).
Maybe; didn't check that. I care for the first submesh only in most cases.Also, why is your count 753? Shouldnt it be 1761?
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: Help with UVs
Yea, I did that even before reading your post. Came to my mind as well haha, thanks! When i imported it to blender it still looked messed up tho! I will give it another try tonight when i get home, but in my first attemp the UV map in blender looked not right.shakotay2 wrote:In hex2obj switch to ShortAll, then File / SaveAs meshGinsor wrote:Oh i see, so I cant rebuild it! Then I need to find a way to build an .obj for that somehow. Any idea how I could achieve that?shakotay2 wrote:I temporary inserted the (if (uvpos>0.5) condition) into the code to get the right part of the image.)
Load the created obj file into a calculation app (Excel or so), blank as a separator , for the vt lines you should get three columns for "vt", tx and ty. Select the tx column apply a formulae which expresses the above conditon (same for ty column), save the changed table and you're done (more or less).
Wait, you can see that there are submeshes inside? Sorry, Im a little lost now. For me it all looks like just one big mesh with 1761 counts for vertics and UVs.shakotay2 wrote:Maybe; didn't check that. I care for the first submesh only in most cases.Ginsor wrote:Also, why is your count 753? Shouldnt it be 1761?
Thanks for all your help tho! I appreciate it a lot.