SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [TEC] Technically based stuff (https://www.subsim.com/radioroom/showthread.php?t=239858)

gap 02-04-19 07:13 PM

Quote:

Originally Posted by Jeff-Groves (Post 2590111)
You can fold that box to 4 to get a lower vt count.
faces will remain the same and just use the same vt in places.

I am sorry but I don't get it. Of course I could overlap all the UV vertices so that they look just one vertex, but to my understanding the different number of vertices in the UV map than in the 3D geometry is only determined by the un-welding of some faces (more unwelding = more edges and more vertices). The only way to reduce again this number is by welding again the un-welded faces, but we can't weld UV faces that are not welded in the 3D geometry. Can we? :doh:

Quote:

Originally Posted by Jeff-Groves (Post 2590112)
On putting multiple meshes in an obj? Don't weld the verts and they will remain a separate mesh! Burn your AO, then export ONLY that one mesh.

Yes, indeed but that's not what I was talking about.

Let's say that I have one object composed by two meshes let's call them a and b. the vertex sequence in that object is

v a1
v a2
v a3
v a...
v b1
v b2
v b3
v b...

Now let's say that we want to bake our object together with another object. After the creation of a new UV map (for the AO channel) and the AO baking we separate the combined object into the single meshes composing it, and then we re-compose the original objects. As long as we didn't alter the geometry of any single mesh, vertex order within them should not have changed. But what if the order of the meshes within the re-combined object has changed as a consequence of its separation and re-combination? We would find ourselves with an object so composed

v b1
v b2
v b3
v b...
v a1
v a2
v a3
v a...

Apparently the original object and the re-combined object will only differ in their UV mapping, but to GR2 Editor would be two different objects...

I hope I made myself clearer this time...

Quote:

Originally Posted by Jeff-Groves (Post 2590111)
All things should be fine! Now in Max I have a script the will export all the meshes to separate obj files so it's simple. Maybe Wings has scripting abilities?

I don't think so :hmmm:

Jeff-Groves 02-05-19 11:06 AM

I think I know what you mean but I'm not positive.
Can you send me example obj files and which version of the GR2 editor you have a problem with?

gap 02-05-19 02:16 PM

Quote:

Originally Posted by Jeff-Groves (Post 2590203)
I think I know what you mean but I'm not positive.
Can you send me example obj files and which version of the GR2 editor you have a problem with?

For the moment I have not good examples that I can send to you. No doubt I will, in case I face problems the next times that I will need to import some objects with their secondary UV map into a GR2 file.

I am not saying that the problem I tried to describe below will necessarily happen, or that all the problems we faced in the past were coming from there, but we should at least agree on the fact that this is something that can happen, and if it happens it can scramble the UV-map import.

Jeff-Groves 02-19-19 11:29 AM

Quote:

Originally Posted by gap (Post 2590220)
we agree on the fact that this is something that can happen, and if it happens it can scramble the UV-map import.

I believe We saw this problem with the new wooden boats or the barrage balloon way back didn't we?
That issue may have been fixed with later releases of TDW's Exporter/Importer?
:hmmm:

gap 02-19-19 02:05 PM

Quote:

Originally Posted by Jeff-Groves (Post 2592556)
I believe We saw this problem with the new wooden boats or the barrage balloon way back didn't we?
That issue may have been fixed with later releases of TDW's Exporter/Importer?
:hmmm:

Hopefully yes. I remember having had some AO-import problems even using the last release, but I am not 100% sure and I can't say exactly on which model.

As I said, let's face problems as they come. I hope we will import many AO-mapped models in the next months, so we will have plenty of case studies :)


All times are GMT -5. The time now is 05:16 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.