• 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.

FSXA spline and mapping

Messages
44
Country
france
Hello gentlemens,
-
Just to share.
Perhap's a lot or maybe all already know.
But for a beginner as me it's really fine.
-
So.
I use a lot of shapes/ lines for cables / wires ...
And because I've learn a way which is working I stay on it ...
Gmax is enough complicated ! ;-)
But this time :

Who know why ... ?

This a basic line with thickness.


-
I usually apply the classsic "UVW MAP" folowed by the " Unwrap".
Because I've learn to do like this.
And as many expect I've this kind of UVW :

-
But !
If you forgot the "UVW map" and apply directly the "Unwrap".
You 'll have this one :

-
Really more easy to map is'nt it ?
-
If it's a "no value" post for all please forgive.
-
Daniel.
 
That's because you have instructed Gmax to generate mapping coordinates for your line's mesh. Delete the UVW Unwrap modifier, then untick Generate Mapping Coords in the Mesh Settings for your line. Now apply a new UVW Unwrap modifier and you'll get the result you want. edit: or nearly - you may have to scale the mapping to get it to fit on one tile only

As an aside, lines with Display Mesh ticked don't display in FS unless you apply an Edit Mesh modifier or convert the line to Editable Mesh/Editable Poly or collapse the stack after UVW Unwrapping (resulting in an Editable Mesh).
 
Last edited:
Tom, I understand Daniel to say that his second picture shows an unexpected welcome result, and once you scale it down it certainly is. Nice trick indeed.
 
Here is a nice little tidbit of useful info.

If you have cords and long round things to map, try reserving spaces on sides of texture sheets that go from one side to the other, like in this case, along the bottom of a texture sheet, and a very thin area as well. Now, you can map that object along that area, overlapping the ends.


Next, if you have some texture to it, and this is 'very' long, you can select half of the area of the objects UVW mapping vertices, and reverse the direction and 'fold' the area, and use 'move' and slide it over the other half so now, they take up 50% of the original mapping room. (I have folded things several times to fit in a single area that isnt over the edges).


Next, if you need the area to open up (widen), you can use Scaler to widen it, and since this texture goes from one side to the other on the texture sheet, you can stretch it well over the sides as it will auto-tile now, so you can stretch that objects map out all you want and it will still be tiled onto that standard texture sheet.

Works nicely, as you can have 1 foot of texture with a neat bump like mapping on it, in a very small area, and map like 10+ feet, tile fashion, and it really looks good in the sim. (Been doing this for years now).
 
Generate mapping coordinates works for all sorts of shapes:

Create a cylinder, tick "generate mapping cordinates", slap on a UVW modifier and bingo all sides and polys mapped without overlap and without needing to split the part into elements.

Pretty good for texture baking it would be ... if only Gmax could do it.
 
An other example:

The part :

fuselage.jpg

-
With the duo "UV Map" + "Unwrap" (the way I previously learned / use) :
Rotate / move / adjust ....
uvwmapfuselage.jpg

-
With only "unwrap" applied:
unwrapdirect.jpg

-
With wings or others ... The same.
Everythings perfectly separated and aligned.
-
For sure it's not always what we need.
But I think I'll use it a lot.
-
Daniel.
 
Your screenshots give a "403" error. Try re-uploading them or uploading them to tinypic.com or so.
 
When one first starts using gMax, the types of UVW map in the UVWMap rollout often go under the radar.

Then you discover that a plane or box isn't always the best starting-point.

The mapping applied by the built in mesh from a spline, or indeed as an option for the loft tool is usually best for long line objects.

The UVWMap is usually a starting point. It is simply a matter of which starting point gets you where you need to go.

The default mapping for primitives is usually scaled from 0.0 to 1.0 on a UV sheet.

Most often you need to reapply this with equal side lengths, so the proportions are correct.

Ps: photos don't show for me either.


Sent with Tapatalk for iPhone
 
Yo ! :-))
-
Mr H cornea.
-
I'm a French froggy one ( really not fluent in English).
And a Gmax newbie (really also not fluent in Gmax).
Two good reasons to completly "ununderstand" what you said ... ;)
It's certainly my fault and I accept that.
-
It's seems also that we are "clearly" not at the same level / skill.
It was for me " a discovery" and certainly not for you.
I understand.
-
But for a lot of us spending time to "rearragange" UVW...
-
You know ?
The UVmap is not always needed.
-
Sometimes just the "Unwrap" give us directly what we need.
Not always.
Depend
-
Just trying to show that.
Not more.

-
The part
partsh.jpg


-
The UVmap + Unwrap
uvwmapunwrap.jpg

-
Only unwrap
unwraponly.jpg

-
I think that Gmax is not so a "bad done".
We have just to understand how all these smart guys have done the job.
I think there is still a lot to discover...
For me it's sure !! ;-))
-
I wish everyone a good evening / morning / day ...
Depend just on what side of the earth you are.
-
Daniel
 
Hi,

This is true usually only if the part has been texture mapped before. If that is true, then a simple UVW Unwrap is indeed a better option than UVW Map plus UVW Unwrap, which destroys all the mapping done earlier.
 
Last edited:
I think this discussion is missing another point. Two different mapping results are shown above, but which one was used to map the textured object? I don't think the Unwrap-only method would avoid texture stretching in this case. That may not be a problem with this model, but it certainly would with a camouflaged warbird or a highly detailed paint with lots of rivets and panel seams.

Horse for courses, but it's the finished, textured result that counts.
 
Another thing that obviously didn't happen in the UVW map modifier was to set the length and width parameters to something meaningfull with a power of two.
 

Attachments

  • uvw_gizmo.jpg
    uvw_gizmo.jpg
    106.7 KB · Views: 429
The "only unwrap" option you have pictured above is not how an object like this appears if "no map" has been applied to it before. That object has already had texture mapping applied. The UVW-unwrap modifier unwraps what is already there, and hence shows the mapping to you.

The "UVMap and UVUnwrap" example as you have displayed it, seems to have used a Plane UVMap, aligned along the side of the fuselage, with no parameters and scaling specified. That overrides the more-or-less orderly mapping already present on that object. (as displayed when you simply unwrap it). What you are seeing is the SAME mapping as the other example ... except:
a. The scale is stretched
b. it is rotated 90 degrees
c. both halves of the fuselage UVMap are overlapped on each other.

It is likely that the object was mapped this way as a starting point then modified manually (UVUnwrap) to produce the mapping observed in the first example. That is the normal workflow.

The point is: which UVWMap you use (the roll-out on the right panel) and, as has been correctly suggested, the scale and alignment. You really need to understand how the Map modifier works. UVUnwrap just shows you what is there, and lets you adapt and move parts around.

Thinking about it another way (in your example) .. applying a UVWMap modifier is undoing the map already applied and starting again. Not bad ... just not wanted you wanted to do in this instance.

With regard to lofted or splined objects with texture stretching, these can be corrected using the horizontal or vertical "scale" in the UV Unwrap.
In Max, edges (say from a Plane map applied to a cylinder can be relaxed to provide more even texture spread and prevent stretching.) From memory that feature is not available in gMax
 
Last edited:
Hello Mr Hcornea,

I effectively use a plane aligned as you said.
What are "parameters and scaling" you are talking about ?
I see nothing but eventually lengths x/y/z...
-
I think that "tiles" are not needed here.
-
"Map channel" ? I don't know.
-
What I don't understand even with your explanation:
It's why when we apply a UVmap then the "mesh" ? Is rotated, streched ...
-
And definitively I don't see any "Scale" option in GMAX.
-
Nevermind I continue to test. ;-)
And this "direct" Unwrap" give sometimes also some strange results...
-
It's cleary not a "magic" one.
But could be a time earner for templates.
Sometimes ... ;-))
-
Thank for your contribution.
I' learn !
It's good for me :-)
-
Daniel
 
Daniel,

I think you have a great deal to learn. Your experiments have prompted me to do some experiments myself: using only UVW Unwrap does give a mapping result, but one which is very unpredictable and generally useless to an aircraft modeler (which is my field). If you find useful results for scenery modeling then good luck to you.

We apply a UVW Mapping modifier first to control the type of mapping used. We can also specify the size of the mapping so more than one object can be mapped to the same texture sheet. The alignment of the mapping can also be controlled from this modifier to avoid stretching or to align the mapping of different objects the same way. We also use this modifier to map different areas of the same object in different ways to get a useable mapping for the whole object.

With the mapping modifier applied, we then use UVW Unwrap to edit fine details of the mapping. If the object has been mapped in various ways we can then edit how the different mappings are laid out on the texture sheet. UVW Unwrap also allows us to fit a mapping on to an existing photo being used to texture the object.


I strongly recommend working through a good tutorial on mapping. I'd suggest Milton Shupe's C162 tutorial, part 22.
 
I effectively use a plane aligned as you said.
What are "parameters and scaling" you are talking about ?
I see nothing but eventually lengths x/y/z...
Yes ... that's the idea. The length parameters will become the size of your object before any transformations, by default. In practice this is almost never the size you want them to be.

Repeat the UVWMap, using a Plane Map, but make the two side lengths equal to the longest side length, and equal to each other. Unwrap that and see what the difference is: the map is closer to what you expected, yes?

(Note: a plane map on aircraft fuselage will stretch the texture underneath and on top ... in much the same way the texture would stretch if you were shining a slide projector of your texture on the side of white plane fuselage.)

I think that "tiles" are not needed here.
Correct.

It's why when we apply a UVmap then the "mesh" ? Is rotated, streched ...
No. Semantics and terminology. ... the comment I made relates to the mapping, not mesh. The MAPPING is rotated 90 degrees, stretched (due to no appropriate scale / dimensions being applied), and overlapped (because that is what you asked it to do when using a "plane") The mesh (geometry) is unchanged

And definitively I don't see any "Scale" option in GMAX.
Scaling UVWs is done within the unwrap window ... but choosing an appropriate scale for UVWMap does not require a button marked "Scale". Using mapping measurements that are appropriate for the dimensions of the geometry is choosing an appropriate "scale"

And this "direct" Unwrap" give sometimes also some strange results...
You are ascribing more functionality to the unwrap tool than is there:

1. primitive objects in Gmax are given an "appropriate" map by default when they are made (eg box map for boxes, plane map for Plane objects, Cylinder map for cylinders, etc)
2. the texture-mapping will become "bizarre" once the geometry of these objects is altered / added to (because the original map now has little correlation to the shape of the object) --- hence, at this point, enter the UVWMap modifier!
3. if there is ANY mapping present, UVWUnwrap simply shows you what it is.
4. if there is NO mapping, UVWUnwrap applies a very basic UVWMap, and then shows you the mapping (appropriate or otherwise)

EVERY object that has a texture on it has a UVWMap applied to it (whether you were aware of it or not!) The UVWunwrap is simply for modifying that mapping to suit the object in question.

No map = no texture.

Hairyspin's suggestion is a good one. Thanks for the link to that too, Tom. :cool:
 
Last edited:
EVERY object that has a texture on it has a UVWMap applied to it (whether you were aware of it or not!) The UVWunwrap is simply for modifying that mapping to suit the object in question.

...unless you deliberately turn OFF the "Generate Mapping Coordinates" option before creating the primitive object. :D
 
Sirs,
-
You have filled my bag.
I've now to digest all that and do my "homework" .
And perhap's / surely come back with other question.
-

Thank you for your patience and your support.
-
And I hope all this will help a lot of others.
-
Have a good evening.
-
Daniel
 
Last edited:
from the Font of Useless Information...

...unless you deliberately turn OFF the "Generate Mapping Coordinates" option before creating the primitive object. :D

Hmm. You may be surprised - I certainly was - but despite building an object from splines and using a Cross-section and Surface modifiers and making jolly sure at no time was any option to generate mapping coordinates ticked; when adding a UVW Unwrap modifier and clicking Edit the blighter displayed a mapping!.

A perfectly useless mapping, but a mapping none the less!

Then to make doubly sure I deleted the Unwrap, collapsed the stack, converted to editable mesh, ran the UVW removal tool over the mesh and applied another UVW Unwrap. Result - another useless mapping!

Howzat! :confused:
 
Back
Top