Jump to content

[1.12.x] Mark IV Spaceplane System (August 18, 2024)


Nertea

Recommended Posts

7 hours ago, Nertea said:

Sooo... I think I fixed it.It was B9PartSwitch procedurally re-rendering the drag cubes with fuel switching. Easily fixed when I traced it, just needed to add a leaveDragCubes flag...

@sh1pman, @Jarin Test link:

https://www.dropbox.com/s/6qsphec151nc9g0/MkIVSystem2_3_5_X2.zip?dl=0

Something is still off. Note how the middle cargo bay still has huge drag:

eONXFVL.png

f9170mP.png

Edited by sh1pman
Link to comment
Share on other sites

12 hours ago, Nertea said:

Sooo... I think I fixed it.It was B9PartSwitch procedurally re-rendering the drag cubes with fuel switching. Easily fixed when I traced it, just needed to add a leaveDragCubes flag...

@sh1pman, @Jarin Test link:

https://www.dropbox.com/s/6qsphec151nc9g0/MkIVSystem2_3_5_X2.zip?dl=0

I think that did it! Got both of @sh1pman's planes to orbit, if not as efficiently as the first one did before (sorry, tail's gonna have some drag). As for my minimal-drag testbed:

lklxVpk.png

Those are some beautiful numbers right there. Thanks @Nertea so much for sticking with this and tracking down the issue. (though I do find it funny that the service bay has basically no drag no matter what I do to it, but that's hardly game-breaking)

Edit: Oh, and the shoulder intake drag looks great too. Did you make any adjustments to the Advanced Shock Intake (the 2.5m one) like you did for the shoulder?

Edited by Jarin
Link to comment
Share on other sites

16 minutes ago, sh1pman said:

@Jarin See my previous post

Dangit, didn't check the middle bays on that one. (also didn't see the new page, so thought you hadn't posted; whups). So it's something about multiple contiguous cargo bays, I guess? The two larger ones back-to-back didn't have any trouble.

Edit: Huh, that's weird. Now I'm seeing the huge drag on the front and back bays.

r99NZpD.png

Mostly the back. I wonder if the fact that I autostrutted the craft changed something... (possibly a red herring, I'm just guessing wildly at this point)

Edited by Jarin
Link to comment
Share on other sites

The front-and-back thing makes sense, if the front bay has its rear node un-occluded and the rear bay has its front un-occluded (i.e. brickwall in the airstream). No clue why @sh1pman is seeing drag in the middle and not the ends though. Doesn't help that we're now testing different models. That longer one has 4x240 bays, rather than the 120s in the shared ship.

Link to comment
Share on other sites

2 minutes ago, Jarin said:

The front-and-back thing makes sense, if the front bay has its rear node un-occluded and the rear bay has its front un-occluded (i.e. brickwall in the airstream). No clue why @sh1pman is seeing drag in the middle and not the ends though. Doesn't help that we're now testing different models. That longer one has 4x240 bays, rather than the 120s in the shared ship.

Just make a ship with 3x 240s and see what happens

Link to comment
Share on other sites

20 minutes ago, sh1pman said:

Just make a ship with 3x 240s and see what happens

Long-bay test shows the same thing for me. Front-and-back drag.

9SHGM6V.png

Like the end-piece bays' inward-facing nodes aren't occluded.

 

Link to comment
Share on other sites

18 minutes ago, sh1pman said:

@Jarin no, my previous ship had 3 bays and still experienced drag. It had B9 procedural wings, maybe they conflict with mk4 somehow?

Okay, just to eliminate wings as an issue, I pulled off the tweakscaled OPT wings I'd used out of laziness and tested out this crime against nature and aerodynamics:

YFuuc3R.png

Only stock Big-S wings, 3 bays, front-and-back drag like before.

Link to comment
Share on other sites

Just now, Jarin said:

Okay, just to eliminate wings as an issue, I pulled off the tweakscaled OPT wings I'd used out of laziness and tested out this crime against nature and aerodynamics:

YFuuc3R.png

Only stock Big-S wings, 3 bays, front-and-back drag like before.

And I've got front-and-middle drag.

Link to comment
Share on other sites

3 minutes ago, sh1pman said:

And I've got front-and-middle drag.

That last plane showed no drag variation, too, which is something I haven't been able to get. Inconsistency is the bane of debugging... there's got to be a common thread in here somewhere. =/

Link to comment
Share on other sites

1 minute ago, Jarin said:

That last plane showed no drag variation, too, which is something I haven't been able to get. Inconsistency is the bane of debugging... there's got to be a common thread in here somewhere. =/

Yep, that last plane was spared of the drag bug somehow.

Link to comment
Share on other sites

I think I'm gonna wait for @Nertea to take a look at this. Maybe there's something obvious here to someone with knowledge of the internal workings. We may be approaching the "clean install, one mod only" testing point though, which is always a pain.

Edited by Jarin
Link to comment
Share on other sites

1 minute ago, Jarin said:

I think I'm gonna wait for @Nertea to take a look at this. Maybe there's something obvious here to someone with knowledge of the internal workings. We may be approaching the "clean install, one mod only" testing point though, which is always a pain.

Impossible to make it one mod only, since mk4 is bundled with like 5 other mods.

Link to comment
Share on other sites

I confirmed this. The bay does not occlude... other bays. Only everything else. So let's say we have this structure (C = cockpit, B = bay, F = fuselage)

C- B1 - B2 - B3 - F1

B3' s front node will not be occluded, B2's rear node will not be occluded. I have no idea why this might be happening. 

 

[By the way gents, you don't need to fly the plane to test. You see the YP and YN values on the parts? those should be more or less zeroed when a part is properly occluded].

Link to comment
Share on other sites

1 hour ago, Nertea said:

 

[By the way gents, you don't need to fly the plane to test. You see the YP and YN values on the parts? those should be more or less zeroed when a part is properly occluded].

Oh hey, that's useful. Good to know.

Link to comment
Share on other sites

59 minutes ago, Nertea said:

I confirmed this. The bay does not occlude... other bays. Only everything else. So let's say we have this structure (C = cockpit, B = bay, F = fuselage)

C- B1 - B2 - B3 - F1

B3' s front node will not be occluded, B2's rear node will not be occluded. I have no idea why this might be happening. 

 

[By the way gents, you don't need to fly the plane to test. You see the YP and YN values on the parts? those should be more or less zeroed when a part is properly occluded].

Hmm. The first bay is completely occluded in my case. The second one has its front face unoccluded. The third bay has its back face "exposed". Aaand I somehow managed to build another plane with no drag issues whatsoever. It doesn't make any sense, my brain is melting

Link to comment
Share on other sites

7 minutes ago, sh1pman said:

Hmm. The first bay is completely occluded in my case. The second one has its front face unoccluded. The third bay has its back face "exposed". Aaand I somehow managed to build another plane with no drag issues whatsoever. It doesn't make any sense, my brain is melting

When you build a "non-draggy" plane, is it consistent? Or does it vary from flight to flight? If consistent, share the .craft?

Link to comment
Share on other sites

Just now, Jarin said:

When you build a "non-draggy" plane, is it consistent? Or does it vary from flight to flight? If consistent, share the .craft?

It is pretty consistent, but right now I'm on mobile, can't share the craft file, unfortunately.

Link to comment
Share on other sites

1 hour ago, Nertea said:

C- B1 - B2 - B3 - F1

B3' s front node will not be occluded, B2's rear node will not be occluded. I have no idea why this might be happening. 

Except in that setup, B2 is showing both front and rear occluded. It's B1 that has its rear open. The middle of 3 bays is working fine.

And I just tested, but it looks like there's nothing special about two bays, it still shows the same behavior. I guess I did get the "plane randomly works right" bug when I test-few the big 2-bay plane before.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...