About planets
Moderators: winston, another_commander
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Cool planet - was wondering why there's a desert around the large lake - surely there'd be some greenery around its edges?
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Star Gazer
- ---- E L I T E ----
- Posts: 633
- Joined: Sat Aug 14, 2004 4:55 pm
- Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re:
Has there been any recent movement on shaders for planets ? I'm looking at the source and it would seem not yet. I am interested in both planet surface and the atmosphere surrounding it.Cmd. Cheyd wrote:Kaks was working on having planets use the same / similar rendering code as ships, and so would have all the same support / features that ships do.... Normal Maps, shaders, etc...
Povray Planets - Planet textures for your galaxy
Re: About planets
First, a disclaimer: Ahruman did write the majority of the 'new planets' code. Admittedly I did do some extensive tinkering to that code, though!
Anyway, we did shelve the project about 2/3 of the way in, in order to get on with all the other features that did find their way onto 1.76 (& 1.75 - & 1.74 too, iirc!).
There are already vague plans to complete the new planets stuff, but we devs seem to be collectively hampered by too much RL at the moment...
Anyway, we did shelve the project about 2/3 of the way in, in order to get on with all the other features that did find their way onto 1.76 (& 1.75 - & 1.74 too, iirc!).
There are already vague plans to complete the new planets stuff, but we devs seem to be collectively hampered by too much RL at the moment...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re: About planets
Is new planets in git hub or somewhere I can take a look. I'm not a wizard with C or objective C , however I do have a colleague that provides me much useful advice about such things . Looking at the existing PlanetEntity/PlanetDrawable on trunk - I might just be able to make sense of it.Kaks wrote:First, a disclaimer: Ahruman did write the majority of the 'new planets' code. Admittedly I did do some extensive tinkering to that code, though!
Anyway, we did shelve the project about 2/3 of the way in, in order to get on with all the other features that did find their way onto 1.76 (& 1.75 - & 1.74 too, iirc!).
There are already vague plans to complete the new planets stuff, but we devs seem to be collectively hampered by too much RL at the moment...
Povray Planets - Planet textures for your galaxy
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: About planets
submersible: The new planets code is already in the current source, guarded by the
NEW_PLANETS
macro, currently set to 0.- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: About planets
I tried to activate it last week. But, currently it creates syntax errors when set to 1another_commander wrote:submersible: The new planets code is already in the current source, guarded by theNEW_PLANETS
macro, currently set to 0.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re: About planets
Eric Walch wrote:I tried to activate it last week. But, currently it creates syntax errors when set to 1another_commander wrote:submersible: The new planets code is already in the current source, guarded by theNEW_PLANETS
macro, currently set to 0.
Code: Select all
src/Core/OOPlanetData.h
src/Core/OOPlanetData.c
Povray Planets - Planet textures for your galaxy
Re: About planets
Hmm, the last time I looked at it that part of the code was compiling OK.
Seems one of us did more - yep, unfinished - work on it!
Seems one of us did more - yep, unfinished - work on it!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re: About planets
Kaks wrote:Hmm, the last time I looked at it that part of the code was compiling OK.
Seems one of us did more - yep, unfinished - work on it!
Code: Select all
------------------------------------------------------------------------
r4203 | ahruman | 2011-01-31 18:37:51 +1100 (Mon, 31 Jan 2011) | 1 line
Blanked currently-unused OOPlanetData files (see bug #5254).
[code]
This was removed last year.
For the life of me - I cannot find this bug. Could it be a typo in the commit message?
Povray Planets - Planet textures for your galaxy
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: About planets
You can retrieve the two blanked files either by donwloading them from an SVN revision earlier than 4203 or by generating them locally. The project responsible for creating these two files is icosmesh, located inside trunk/tools.
Re: About planets
Hmm, however I believe those two files don't really affect OOPlanetTextureGenerator as is. However, quite a number of weird and wonderful texture code changes have been committed to trunk in the last year and a half, and our new_planets texture generator is no longer compatible with its underlying class. I'll defer to Ahruman, who implemented those changes in the aforementioned underlying class!
If Jens hasn't got round to it by the weekend, I'll have a go to at least get it to compile properly with NEW_PLANETS set to 1.
Cheers,
Kaks.
If Jens hasn't got round to it by the weekend, I'll have a go to at least get it to compile properly with NEW_PLANETS set to 1.
Cheers,
Kaks.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: About planets
Last time? I tried with 1.74 maintenance. There already I had compile errors with NEW_PLANETS = 1. Unless I set it to 1 on the wrong place. It must be set to 1 in 'OOStellarBody.h' or not?Kaks wrote:Hmm, the last time I looked at it that part of the code was compiling OK.
....
Hmm, however I believe those two files don't really affect OOPlanetTextureGenerator as is. However, quite a number of weird and wonderful texture code changes have been committed to trunk in the last year and a half, and our new_planets texture generator is no longer compatible with its underlying class.
Anyhow, back than, the generated planets already looked amazing.
Last edited by Eric Walch on Mon Mar 19, 2012 4:28 pm, edited 1 time in total.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: About planets
Eric: Yup, that's the right place to activate the macro.
Re: About planets
Well, I couldn't resist the challenge, and I did get the code to compile with NEW_PLANETS set to 1.
Still, though the seas are better than I remembered (Ahruman did some extra work on the seas which I didn't notice at the time), all the NEW_PLANETS land portion is very much featureless now, so we can't see the 3D mountain ranges anymore...
I'll look some more into the matter, hopefully I'll figure out what happened between then (2 years - & change - ago) and now.
PS: Yes, bug #5254 seems to be a typo, can't quite figure out what bug Ahruman was referring to.
PPS: The NEW_PLANETS stuff now compiles in rev4805, so if you really, really want to you can start playing with that code now!
Still, though the seas are better than I remembered (Ahruman did some extra work on the seas which I didn't notice at the time), all the NEW_PLANETS land portion is very much featureless now, so we can't see the 3D mountain ranges anymore...
I'll look some more into the matter, hopefully I'll figure out what happened between then (2 years - & change - ago) and now.
PS: Yes, bug #5254 seems to be a typo, can't quite figure out what bug Ahruman was referring to.
PPS: The NEW_PLANETS stuff now compiles in rev4805, so if you really, really want to you can start playing with that code now!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)