Thomas P.

[1.7.1-5 + Backports] Kopernicus & KittopiaTech

Recommended Posts

@Thomas P. how do you use the VertexVoronoi PQS mod?

EDIT:

Yay! Second Page!

Edited by Astrofox

Share this post


Link to post
Share on other sites
10 hours ago, Astrofox said:

@Thomas P. how do you use the VertexVoronoi PQS mod?

EDIT:

Yay! Second Page!

I can answer that. It can help you generate Voronoi tessalated terrain. At max use it can look something like this, but you can go for a more subtle use too. Here's an example from my version of Eeloo in OPM:

				VertexVoronoi
				{
					deformation = 250
					displacement = 0.00499999988824129
					enableDistance = True
					frequency = 40
					seed = 56457563
					order = 23
					enabled = True
				}

deformation: the amount (in meters) that the PQSMod can change the terrain. So higher means deeper valleys/steeper walls, lower means the opposite.

displacement: you want to keep this low if you want smooth transitions. High numbers give hard edged voronoi.

enableDistance: if you want the effect of the voronoi to be pronounced you set this to true.

frequency: how many voronoi are made. The higher, the more voronoi cells you get. So keep it low to get a few large voronoi and high to get many smaller ones.

seed: just put a random number here. If it looks good, leave it otherwise pick another one. This is just a way to randomize it.

order: the order number which you fill in here depends on the planet you're making. You'll probably will want it higher than any SimplexHeight(Absolute) or HeightMap PQS mods. But if you add say procedural craters (the PQSMod VoronoiCraters) you'll probably want your VertexVoronoi lower in order than that PQSMod.

enabled: True or false.  This should speak for itself

Hope this helps. I suggest using KittopiaTech to experiment with the values.

 

Share this post


Link to post
Share on other sites

So, I've made a nice little moon, and I've got the right PQS stuff I want, but the height based color map isn't working because the only texture generated is only one color, and it just covers the moon in that one color.

I don't know what I'm doing wrong.

Share this post


Link to post
Share on other sites
Just now, Astrofox said:

So, I've made a nice little moon, and I've got the right PQS stuff I want, but the height based color map isn't working because the only texture generated is only one color, and it just covers the moon in that one color.

I don't know what I'm doing wrong.

Even though I have no config from you and should ignore you: I bet that you have used absolute values instead of relative values (0-1) in the height stuff. :)
Config would be nice though.

Share this post


Link to post
Share on other sites

And how would I do that? (I will have configs up in a little bit)

Share this post


Link to post
Share on other sites

Well in the heightStart / heightEnd values, you don't use absolute values but values between 0 and 1. 0 represents the lowest point of your planet, and 1 the highest one.

Share this post


Link to post
Share on other sites

Here is the config

Woln (Perpas_Muns)

I see altitudeStart and altitudeEnd, but not heightStart and heightEnd.

Edited by Astrofox

Share this post


Link to post
Share on other sites
1 minute ago, Astrofox said:

Here is the config

Woln (Perpas_Muns)

I see altitudeStart and altitudeEnd, but not heightStart and heightEnd.

Yeah thats it, I just didn't remember the exact names

Share this post


Link to post
Share on other sites

Okay, I will test that out now.

Share this post


Link to post
Share on other sites

I suggest using KittopiaTech to visualize the process. I always go with very bright colors at first (red, green, blue, etc.) and some basic numbers: 0.33 or 0.66. Then if it's a mix of colors I know I'm close. If it's just one color (for example the highest class) then I know I need to go down with my numbers. Only takes a few tries to get where you want it. After that you can add in the actual colors in your cfg.

Share this post


Link to post
Share on other sites

What do you mean by lower your numbers?

Also, have you seen the config?

Edited by Astrofox

Share this post


Link to post
Share on other sites

New thread? Ok, didn't see that coming.

--EDIT--

Sorry, just read the OP. Nevermind.

Edited by Andem

Share this post


Link to post
Share on other sites

1.0.5, but it says 1.1.2-

oh wait.... oooohhh wait, 1.0.5 is the update of THIS mod, not what version of KSP its available on... XD

Share this post


Link to post
Share on other sites

Say, is there a way to use VertexRidgedAltitudeCurve PQS mod?

BTW, is there a full list of PQS mods out there that have a sample code for each mod?

Share this post


Link to post
Share on other sites
11 hours ago, Astrofox said:

@CaptRobau @Thomas P., is there a thread dedicated to sample codes on Kopernicus PQS mods?

no there isn't

you can, however actually try looking at the Github for Kopernicus, which contains all data for every PQSMod available by default;

https://github.com/Kopernicus/Kopernicus/tree/master/Kopernicus/Kopernicus/Configuration/ModLoader

Edited by KillAshley

Share this post


Link to post
Share on other sites
3 hours ago, KillAshley said:

no there isn't

you can, however actually try looking at the Github for Kopernicus, which contains all data for every PQSMod available by default;

https://github.com/Kopernicus/Kopernicus/tree/master/Kopernicus/Kopernicus/Configuration/ModLoader

I've seen that page before, but I have no idea as to how the overall code translates into useable code for planet configs.

Share this post


Link to post
Share on other sites
2 hours ago, Astrofox said:

I've seen that page before, but I have no idea as to how the overall code translates into useable code for planet configs.

It should however give us a list of mods Kopernicus will accept, so what we could do is try to make a thread or a wiki with examples of what they do. Like just testing them on a blank sphere. This would fill in this gap in information!

come on kerbonauts, let's do this :D 

(though I would like to know what PQS stands for :))

Edited by Kepler68

Share this post


Link to post
Share on other sites
2 hours ago, Astrofox said:

I've seen that page before, but I have no idea as to how the overall code translates into useable code for planet configs.

26 minutes ago, Kepler68 said:

It should however give us a list of mods Kopernicus will accept, so what we could do is try to make a thread or a wiki with examples of what they do. Like just testing them on a blank sphere. This would fill in this gap in information!

come on kerbonauts, let's do this :D 

(though I would like to know what PQS stands for :))

 

The .cs file themselves are pretty easy to read, I have never actually learnt/been taught any programming language before and I can find the value names easily enough. Try having a look for yourself, it'll tell you the name of each value you can input, whether it's numerical, a filepath, etc. and even if theres sub-wrappers you can input. Theres also a pretty easy way to find out what each value does too, which is kittopia.

 

also @Kepler68 PQS means Procedural Quad Sphere. You can learn how it all works in this unity engine video by SQUAD;

https://youtu.be/mXTxQko-JH0?t=30m49s

 

Share this post


Link to post
Share on other sites

Say, is there a way to reverse the rotation of a planet using Kopernicus?

Share this post


Link to post
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.