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

Damn Draw Order Problem Again...

Messages
40
Country
canada
Sorry for the mild profanity....I've tried different exports to stop my DXT3 fence from making objects behind it invisible. I must have this nice new fence I built for the scenery in there. Please, is there a comprehensive guide on how to set the draw order of objects in the asm file(s)?
This is driving me batty!

Thanks,

Adam
 

Attachments

  • draw order.jpg
    draw order.jpg
    85.3 KB · Views: 577
Hello,
to avoid that "bug" I usually set the background of my fences as dark dark grey, but not black. In this way, the fence seems a bit opaque but without that visual bug.

bye!
 
Hi Adam,

Is using a DXT1 texture not an option for you? That should also solve the problem.

If not, can you provide a little more information. Is the fence part of the same MDL as the object it is hiding for example?
 
Hi gentlemen,

Thanks for the suggestions.

Arno, the fence in question is its own mdl. The DXT3 looks so much better than the dxt1. DXT1 is shimmery and fragmented even when mipmapped and worse when not mipmapped.

I will supply you with whatever info you need to help me with this.

FYI, FlyTampas latest TNCM has a really nice fence. It looks like 2 parts - one outside railing fully opaque and a plane with a semi-transparency for the chainlink. Can't quite figure how they've done it yet but it sure looks great.

Thanks.

Adam
 
Hi,

If the fence is a seperate MDL object, you can not control the drawing order by ASM tweaking. That only works for polygons that are inside the same MDL file.

Between different objects the drawing order is controlled by the distance to their reference point. So if you have placed that at the center of each object, it should usually work best. Maybe you can shift the reference point a bit to make sure the building is always drawn before the fence (so the reference point of the building should always be further away than the reference point of the fence in that case).
 
Hey Arno,

How exactly does one move the reference point? Is that the pivot point?
Or is that 0,0 in Gmax?

I could combine the objects in one mdl if that's easier.

I did try adding another small box to the hangar and pulled it far away, thus moving the center point out in front of the fence. Though, it seems as you say, I should be trying to have the reference point of the hanger farther away from my plane?

Sorry for my ineptitude...

Thanks,

Adam
 
Hi Adam,

How exactly does one move the reference point? Is that the pivot point? Or is that 0,0 in Gmax?

It's the 0,0 point in GMax, so you would have to move your entire object around to get the reference point somewhere else.

I could combine the objects in one mdl if that's easier.

In a case like this that might help a bit, but in general I would not try to put everything in one big MDL file. But if the fence sort of belongs to the building it might make sense.

Though, it seems as you say, I should be trying to have the reference point of the hanger farther away from my plane?

Correct.
 
Hi Adam,

Looking good, great to hear you got it working now.
 
Back
Top