• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Unwrapping complex objects in Gmax

hairyspin

Resource contributor
Messages
3,253
Country
unitedkingdom
Mapping complex geometry in Gmax is a drag. Map the polys, export selected to LithUnwrap, save as bitmap, update material, test in UV editor, adjust mapping some more, Lith, save, update, test, adjust, Lith, save, update etc round and round and round again, zzzzzzz.

I stumbled across the following method recently and have been searching to see if I've merely reinvented the wheel: the nearest I have found is Vitus' mapping tut in the Wiki but I hope this is enough of an improvement to be useful.

This pilot's seat from a VC project will do for an example - complex enough to need mapping of various parts of the object from different directions. I've already used a Reset XForm to avoid any UVW scaling errors.


unwrap01z.jpg



Go through the usual procedure using Poly Select (or Mesh Select) modifiers to select polygons for each direction needed. This is a great time to use Willem's tip on user-defined grids (not shown here) to get just the right alignment for the UVW Map modifier. Be careful to maintain the same size of UVW map for each selection unless you want to give yourself a hard time.


unwrap02.jpg



Apply an Unwrap UVW modifier, open the UVW editor and move the UV vertices to a suitable place on the map.


unwrap03.jpg



The idea, once you've mapped all the polys, is to have all the selections laid out so you can easily identify them on the map. Repeat the Poly Select-UVW Map-Unwrap UVW procedure until you've mapped all the polys and roughly laid out all the UV vertices to suit.


unwrap04.jpg



unwrap05.jpg



unwrap06.jpg



The nuisance so far is you can't see all the UV vertices in the UVW editor in Gmax, only the last set selected, so you can only roughly lay out the various selections. The usual answer is to export the object to LithUnwrap and save the map as a bitmap which is used to texture the object. Then begins the round of adjusting the UVW Unwraps, exporting to LithUnwrap, saving bitmap etc until it's all the way you want. Fiddle, fiddle, fiddle.


The answer is terribly simple. Apply another Poly Select (or Mesh Select) modifier to the object and this time select all polys. EDIT: or apply an Edit Mesh modifier - no need to select all polys with that (thank you Mathias!)


unwrap07.jpg



Next apply another Unwrap UVW modifier to the object and open the UVW editor.


unwrap08.jpg



All the UV vertices are visible, roughly laid out. It's an easy task now to edit them to exactly the way you want.


unwrap09.jpg



When that's done you can export to LithUnwrap, save a bitmap and apply the texture to the object. Neat, precise and no fiddling!


unwrap10.jpg





A couple of final points: If you get a map with lines going from centre to bottom left you've haven't mapped all the polys - you'll see the same in LithUnwrap.


unwrap11.jpg



If the stack is collapsed after mapping the object you only need apply an Unwrap UVW modifier to the object: this is how I stumbled on this method originally.


I hope you find this useful!
 
Last edited:
Very nicely described and illustrated. This is the same technique I described at FFDS about five or six years ago, which has long since been pushed so far down in the archives that I doubt it could be found now... ;)

I'm very glad that you discovered it and have documented it for the benefit of others! So few folks do that anymore. Ideally it could be "Wikized" for posterity... :cool:
 
Pretty cool Tom!

Mapping is so dang difficult, especially with seats that are puffy like in Mooneys and Cessna's and such.

My method is to capture a good angle and adjust as needed (stretching).

The difficult part is 'shading' and 'tweed' or grain matching of fabric or leather. Pains me to think about it... (left hand eyebrows twitch in unison.. )




Bill
 
Wheels reinvented to order, Bill! :rotfl: Everything I know here I've learned from others, so I like to return the favour. :)
 
Last edited:
Many years after the wheel's invention it is still being used, and remains the standard.

More "revisiting" than reinvention.
 
Just for the record, if you apply an UVW or unwrap UVW modifier to the top of your edit mesh or edit poly modifier it'll always be applied to the complete mesh, no need really to go to subobject level and select all polygons in that instance.
 
For me, to simplify things, I always collapse the stack.

First UVW Planar is applied, UVW Unwrap applied, full area

Second, third, fourth, etc, is then done by selecting Polygon zones, using either or both UVW and UVW Unwrap and map that zone, resave as Editable Mesh or Poly, repeat for next zone, repeat for next zone, until done.

Once you collapse the stack, its locked in on all the area's. You can then go in and remap 'area's.

For me, if I keep the stack huge, with more then one UVW in there, when I collapse it, in the past, it would be messed up. Perhaps I was doing something wrong? But if I collapse the stack each time when mapping, it works great.

Of course, this is in ancient Gmax, a form of Phoenician / Babylonian ancient 3D programming.... ack...


Did you know you can also select a part (that was added earlier) to an object, a Element (sub part) and remap that? Works great.... I will create a disc brake assembly with bolts and bits, join it all into one giant piece, then map it once (for a main area, but map all of it at once), then I go in and map the small parts one at a time in Element modes.



Another side tidbit. Did you know you can copy/paste the UVW Map and UVW Unwrap from the stack (use Shift key and select both) and right click and 'Copy' those, and apply them to a duplicate part, same material and it will map those settings to the new part(s)??? This works awesome. But, will not work on Mirrored parts, such as a Right wing from a Left wing. Mirroring freaks it out bad....



Bill
 
...Of course, this is in ancient Gmax, a form of Phoenician / Babylonian ancient 3D programming.... ack...Bill

Really Bill you are so behind the times, get the latest (2002AD) Gmax version 1.2 it's much more baffling! (available from TurboSquid) :duck:

But seriously, putting an Unwrap UVW modifier already locks the mapping to the vertices selected. Messing with the UVW Map modifier afterwards won't do anything unless the Unwrap UVW modifier is first deleted or much headbanging and eyebrow pulling will ensue. Vitus had some interesting tricks to do with that in a recent thread.

But I agree with collapsing the stack once all is to my liking.

Thanks for your other tips!
 
Back
Top