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

Editing a line

Messages
228
Country
france
Hi,

I need to edit a hold short line to get shorter dashes.

Please, look at the attached pictures to understand.

Pict1 shows the initial situation in FSX (before edting the line)

Pict2 shows the initial situation in the GP EDITOR.

Pict3 shows what I have done with points to get shorter dashes.

After compiling there is no change in FSX! (the dashes have the same dimensions)

Please tell me if I'm doing something wrong.
 

Attachments

  • Pict1.jpg
    Pict1.jpg
    90.7 KB · Views: 504
  • Pict2.jpg
    Pict2.jpg
    115 KB · Views: 440
  • Pict3.jpg
    Pict3.jpg
    106.4 KB · Views: 477
You are using a dimensioned texture. The texture dimensions in the Textures_Def.txt entry specify how the texture is to be applied. The mix of line patterns suggests to me this texture should not be dimensioned.

If you want shorter dashes, change the Textures_Def entry to a length that gives you the desired number of dashes - which will apply to all uses of the texture, or remove the dimensioning altogether. and then you can control the application from the GP editor.

Don
 
I don't understand. When I do this, it works fine.

Here is the dimensioned texture Def for the texture used below:

gp_PatternedLines_TRG|40F|80F|False


First I created a line, using the dotted red line:

attachment.php


It appears in FS9 as I expect:

attachment.php


Then I shorten the line using the horizontal Resize button:

attachment.php


and the lines are longer in FS9, just as I would expect:

attachment.php


I also did the same thing moving vertices instead, and I got the same behavior - on any line segment I shortened, the red lines got longer in FS. The untouched segments stayed the same.

It also worked the same for vertical lines.

I hope this is the expected behavior, because that is what I would expect. :)

Hope this helps,
 

Attachments

  • ade_gp_80_1.jpg
    ade_gp_80_1.jpg
    68.1 KB · Views: 693
  • ade_gp_80_2.jpg
    ade_gp_80_2.jpg
    64.9 KB · Views: 720
  • ade_gp_80_3.jpg
    ade_gp_80_3.jpg
    69.2 KB · Views: 653
  • ade_gp_80_4.jpg
    ade_gp_80_4.jpg
    64.8 KB · Views: 713
PS. I do agree that a fully dimensioned line texture is no longer needed, since the texture now always displays with its proper proportions (which is why I started using fully dimensioned textures). You can leave the dimension at 0 that is along the direction of the lines themselves (horizontal or vertical lines).

Thanks,
 
You are using a dimensioned texture. The texture dimensions in the Textures_Def.txt entry specify how the texture is to be applied. The mix of line patterns suggests to me this texture should not be dimensioned.

If you want shorter dashes, change the Textures_Def entry to a length that gives you the desired number of dashes - which will apply to all uses of the texture, or remove the dimensioning altogether. and then you can control the application from the GP editor.

Don

Thanks Don, it'OK now. It wasn't clear for me in the manual. I must redraw the line to take the new definition in account, but it was easy to do.
 
It appears that both of you did the same thing and got different results. I need to do further testing. In your screenshot, Tom, I notice that the texture size is unchanged even though you have effectively changed it.

You can leave the dimension at 0 that is along the direction of the lines themselves
Yes you can. But, the GP Editor display will differ. If the line texture is dimensioned along the axis of the lines, when you create a line, the texture will be applied in accordance with the geographic length of the line. If the texture is not dimensioned along the length, then the newly-created line will (should) use exactly one copy of the line texture. If the texture is not dimensioned at all, then you've got George's "undimensioned line" situation and what happens depends on the Lines_Def entry if there is one.

There is no point in dimensioning a texture such as gp_PatternedLines_40F across the breadth of the line patterns. The Lines_Def entry controls what portion of the texture gets used.

Jacques, when enquiring about a line situation, it is always helpful if you show the applicable Textures_Def and Lines_Def entries.

Don
 
OK, I understand the difference now. For almost all of my uses they should be dimensioned, then. I want the same dashed line on the airport, no matter how short or long I initially make the line. Using an undimensioned texture will make long lines with short dashes and short lines with long dashes - undesirable to me.

And originally when I only dimensioned the line direction, the texture did not display with its proper proportions. I had to dimension the breadth direction too. I'll see if that is fixed.

Thanks,
 
Last edited:
Nothing has changed in that regard since Day 1 Tom. If there's a Lines_Def entry, the dimension across the breadth of the lines in Textures_Def is (should be) ignored. Is that not your experience?

Don
 
Pict1 shows the initial situation in FSX (before edting the line)

Pict2 shows the initial situation in the GP EDITOR.

Pict3 shows what I have done with points to get shorter dashes.

After compiling there is no change in FSX! (the dashes have the same dimensions)

Please tell me if I'm doing something wrong.
Jacques, I have now had an opportunity to investigate further. It seems I gave you bad advice before, resizing the line on the GP Editor display should accomplish what you want - whether or not the texture is dimensioned.

When I resize the line, whether with the resize functions or by dragging individual vetices, the effects of the resizing is apparent on the FSX display just as Tom described.

How did you adjust the length on the line?

Don
 
Jacques, I have now had an opportunity to investigate further. It seems I gave you bad advice before, resizing the line on the GP Editor display should accomplish what you want - whether or not the texture is dimensioned.

When I resize the line, whether with the resize functions or by dragging individual vetices, the effects of the resizing is apparent on the FSX display just as Tom described.

How did you adjust the length on the line?

Don

By selecting upper vertices and entering a factor of 3 in the V box (as shown on the picture number 2) like I do with the unwrap UVW modifier of GMAX.
 
Last edited:
By selecting upper vertices and entering a factor of 3 in the V box (as shown on the picture) like I do in gmax wih unwrap UVW
And that's the one way I forgot to rescale the texture after vertex movement. Easily fixed. For the time being, please use drag or resize.

Don
 
Back
Top