Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Planet graphical glitch  (Read 2867 times)

Trylobot

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Planet graphical glitch
« on: June 15, 2011, 01:10:55 PM »

Created a new mission with the following planet:

api.addPlanet( 0f, 0f , 700f, "terran", 700f);

Which resulted in this glitch; it appears periodically as the planet mesh rotates:
Logged

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
Re: Planet graphical glitch
« Reply #1 on: June 15, 2011, 05:17:02 PM »

I'm guessing it gets worse as you make the planets even bigger?

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Planet graphical glitch
« Reply #2 on: June 15, 2011, 06:05:05 PM »

Yeah... planets that size really aren't supported. If you really wanted to, you could mod the atmosphere layer offset to be bigger, but that would affect every instance of that planet type.

The texture starts looking a bit blurry at that size, too. All in all I'd suggest making it a bit smaller - that issue ought to go away when it's at about 400-500 radius.
Logged

tinsoldier

  • Commander
  • ***
  • Posts: 144
    • View Profile
Re: Planet graphical glitch
« Reply #3 on: June 15, 2011, 08:32:46 PM »

That's too bad, cuz a planet that size is pretty bitchin
Logged

Trylobot

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Re: Planet graphical glitch
« Reply #4 on: June 15, 2011, 10:29:25 PM »

I did as Alex suggested and it looks great now. Thanks!

As an aside, perhaps some built-in scaling for this atmosphere layer would help modders out a bit, so that for larger radius planets the atmo layer is already something minimal but still free of the glitch.
« Last Edit: June 15, 2011, 10:31:10 PM by Trylobot »
Logged