-
Posts
2,719 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Bug Reports
Everything posted by rbray89
-
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
I just discovered that from an earlier comment. Good thing it's an Alpha I'm trying to find another couple of layers I can stuff the planet overlays on, but I'm having difficulty finding info on it. Some I tried were REALLY interesting. Everything from navbal, Space center, or GUI overlays would magically appear on screen in weird places. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Wow... These are absolutely stunning! This is exactly what I was hoping people would do when I started working on this. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Ah, and as for the config question, the "speed" determines the rate and direction of texture movement. Move it up or down to speed it up or slow it down. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
The textures should be sampled per pixel, but a few things I could think of might cause this: 1) The texture is just too small and the filtering isn't good enough to produce good results 2) The "mixer" texture isn't tiling properly 3) The lighting is being handled more poorly than I'd like. This could probably be fixed by adding more detail to the sphere. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Ah, yes, that is probably due to the layer I chose... Does anyone know if there are any free layers in KSP that can be used? I need at least two. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Yeah, I can't seem to figure that one out... Probably an atmospheric effect. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Hmmm... I hadn't thpught of that... Ill look into solutions. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Alpha-7 is ready! Next up: exposing more config params and fixing polar UV warping. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
hmmm... I just double checked, and the VAB is fine in my build. Did you do a clean download of .22 or an update from .21? I found I had issues with a .21 to .22 build. In any rate, there is a new MUCH improved build ready on the first post soon. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
It does nothing to alter the ground texture. It is therefor (completely Compatible with universe Replacer) -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
I'll have to think about it. Not sure how that would work with planets like Jool. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Is that an offer? Haha, I'm not an artist, I'm a programmer. If the community want's to supply a better texture, so be it. Until then, the texture that is there is the one that will be used. A few good people have already put forward nice textures. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
It's an issue with the camera that the camera I created is parented to. I need to parent to a different transform. It affects Tracking view only. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
It layers it on top, so yes, it is visible from orbit. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Hmm... This is becoming trickier than I thought it would be... So I have been investigating into how KSP renders things... KSP uses multiple cameras with different rendering priorities to show things on-screen. The reason the city lights would fade into view when on layer 10, is because the camera that renders the actual terrain and Space Center is rendered ON TOP of this layer, and as you get farther away, it lowers the alpha to eventually make it visible. I tried to render the clouds and lights on-top of this camera render, but I'm running into the issue of the clouds and lights rendering on top of the spacecraft (as that is the camera being used). A possibility would be to render the craft above the clouds and lights again, but then the issue would be that they would always render above KSP, even if it were supposed to be out of view behind it. If I tried to render PSQCity objects with the new camera, they would always be above the cloud layer! Ugh... So I should be able to fix the Z-Clipping, but the lights and clouds will still not show up until you are ~75km in the air unless I can figure out a way to add them to the patch of terrain the craft is above. Much more complex than I initially suspected this would be. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Ah... nevermind. It looks like it may be a layer issue. Only shows up in the tracking station view though. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Looks like the scale is correct, but that the position is not. The Camera is setup in the main menu, so there could be some problems there if you are modifying the scale camera. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Did you install from this link? https://github.com/waka324/VisualEnhancements/releases/tag/Alpha-6 Are you running .22? -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
I will have to look into this. Weather is something I would like to at least try to simulate. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
That could be difficult, but I'll give it some thought. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
I have no problems with it. Everything is under an MIT license. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Yes, the new camera method should fix it as soon as I can figure out some new problems. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Oh Man! I love how Jool looks! Reminds me of Jupiter. With any luck, the next release should fix how the clouds look from a distance, and it will be tweakable to get the cut-off just right. -
[PLUGIN][ALPHA-10] City Lights and Clouds on Kerbin/Others
rbray89 replied to rbray89's topic in KSP1 Mod Development
Thanks, these kind of responses are the exact reason I'm doing this. -
Ok, I figured it out. I'll try to remember to post the exact code, but it is something like this: GameObject go = new GameObject(); Camera newCam = go.AddComponent<Camera>(); newCam.CopyFrom(ScaledCamera.Instance.camera); newCam.Transform.Parent = ScaledCamera.Instance.camera.Transform; //you may have to update newCam.Transform.localRot and localPos to (0,0,1) & (0,0,0) //now set masks, depth, etc.