Planet progress
This commit is contained in:
@@ -89,7 +89,7 @@ public class Planets implements ContentList{
|
||||
Simplex sim = new Simplex(id);
|
||||
@Override
|
||||
public float getHeight(Vec3 position){
|
||||
return (float)sim.octaveNoise3D(2, 0.6, 0.3f, position.x, position.y, position.z) * 13f;
|
||||
return (float)sim.octaveNoise3D(2, 0.55, 0.45f, 5f + position.x, 5f + position.y, 5f + position.z) * 14f;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -139,8 +139,6 @@ public class PlanetRenderer implements Disposable{
|
||||
//render planet at offsetted position in the world
|
||||
planet.draw(cam.combined, planet.getTransform(mat));
|
||||
|
||||
renderOrbit(planet);
|
||||
|
||||
for(Planet child : planet.children){
|
||||
renderPlanet(child);
|
||||
}
|
||||
@@ -173,6 +171,8 @@ public class PlanetRenderer implements Disposable{
|
||||
for(Planet child : planet.children){
|
||||
renderTransparent(child);
|
||||
}
|
||||
|
||||
renderOrbit(planet);
|
||||
}
|
||||
|
||||
public void renderOrbit(Planet planet){
|
||||
|
||||
@@ -606,7 +606,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
|
||||
//autoshow
|
||||
if(wasNull){
|
||||
Log.info("was null, updating selected");
|
||||
updateSelected();
|
||||
}
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user