A request @Ahruman!

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

A request @Ahruman!

Post by Lestradae »

Hi,

would it be possible to put the possibility of textured main planet back in? At least the possibility, perhaps deactivated by default, but so that it can be reactivated without having to build everything from trunk (which I am not capable of)?

I used to use Sung`s planetary textures, and this is a really important feature for me in the game - seeing an actual planet instead of a muddy golfball.

Pretty please? :shock:

Lestradae
User avatar
Ark
---- E L I T E ----
---- E L I T E ----
Posts: 664
Joined: Sun Dec 09, 2007 8:22 am
Location: Athens Greece

Re: A request @Ahruman!

Post by Ark »

Lestradae wrote:
Hi,

would it be possible to put the possibility of textured main planet back in? At least the possibility, perhaps deactivated by default, but so that it can be reactivated without having to build everything from trunk (which I am not capable of)?

I used to use Sung`s planetary textures, and this is a really important feature for me in the game - seeing an actual planet instead of a muddy golfball.

Pretty please? :shock:

Lestradae
This was a superb feature indeed (we all want it back) but think the most sensible approach (if we want one day to have a stable – with decent performance version) is that the reintroduction of this feature to be after the fixing of memory leaks and the implementation of Frustum culling. I am sure our supreme grand admiral had serious reasons for disabling that feature (that by the way was optional from the beginning)

From my point of view there must be a semi – stable release first focusing in the finalization of shaders and JS implementation.
User avatar
Hoopy
---- E L I T E ----
---- E L I T E ----
Posts: 438
Joined: Wed Oct 03, 2007 8:54 pm
Location: Durham, England

Post by Hoopy »

slightly on this topic - planets textured with a bitmap (ie not procedurally generated ones) suffer from pinching at the poles as a square texture doesn't fit on a round surface. So could the relevant routing cut out a suitably shaped piece of the texture so it fits perfectly?
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Hoopy wrote:
slightly on this topic - planets textured with a bitmap (ie not procedurally generated ones) suffer from pinching at the poles as a square texture doesn't fit on a round surface. So could the relevant routing cut out a suitably shaped piece of the texture so it fits perfectly?
There is no such thing as a perfect way to map a flat texture to a sphere. However, this might be interesting. Enjoy the maths. :-)
User avatar
Hoopy
---- E L I T E ----
---- E L I T E ----
Posts: 438
Joined: Wed Oct 03, 2007 8:54 pm
Location: Durham, England

Post by Hoopy »

well, it's not going to be possible to do it perfectly or map makers would have an easy life!

what i mean is that you could use a http://en.wikipedia.org/wiki/Mollweide_projection to get very close.

That's going to be hard work to sort out so a very simple approximation would be to rotate the texture by 45° before mapping it to the sphere. The diamond shape would be widest where it needs to wrap round the equator and tapers at the poles as is required.
Post Reply