Sun colour OXP

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

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 »

As it stands, no.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

pity. But Oolite is still excellent though. :D
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Commander McLane wrote:
Probably add a color-property to the sun object class?
And is this possbile?

A disc with colours is better. Then we could make also red starts etc.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

pagroove wrote:
Ahruman wrote:
Urgh. You people have no taste. :-)

(There’s also a technical issue: the sun really is drawn as a disc, in order to simplify rendering. Texturing would require a sphere, which would increase load on low-end systems.)
An ugly disc. But is it technically possible for higer end systems to do a 3D sun or via an OXP Ahruman?
I suppose you could move the sun very far away, put a custom planet in its place. however you cant make a corona, not even with a flasher, since these would explode the second the code detected they where inside the planets radius..

Another solution, spawn multiple flashers all around the surface the planet... but i bet the corona would look uneven, and the perfermance hit would be significant... however with abit of creative java scripting and time consuming, you could make sort a solar flares... with this method..

However did we have an entity proberty that said "invulnarble", or "ghost", that would turn of standard colliding checking and altitude/heat checks... it would be much simpler with a single flasher if a flasher can be that large...

Edit: not to mention that fuel scoops would not work, however, if you made the planet a little larger than the sun, you could use above mentioned method.. and once we get to have shaders on planets, this will be much easier to make "sunspots" and other things on the Sun-planet" entity...


Cheers Frame...
Bounty Scanner
Number 935
Post Reply