plannets.oxp - is it still working?
Moderators: winston, another_commander
Textures, give us the raw textures!
@CaptKev, fair enough! 1 out of 3 is 1 more than I thought myself!
I'll see if I can figure out a more industrially planet texture, and I should be able to send a couple more desert planets...
@CaptKev, fair enough! 1 out of 3 is 1 more than I thought myself!
I'll see if I can figure out a more industrially planet texture, and I should be able to send a couple more desert planets...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- 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)
There's some really awesome planet textures being created here! Amazing work guys, love it!
Will these textures work with the Mac as well as the PC? The earlier attempts never were fully available to we poor Mac users, which is a bit sad for a game that originally started out as only Mac...
Will these textures work with the Mac as well as the PC? The earlier attempts never were fully available to we poor Mac users, which is a bit sad for a game that originally started out as only Mac...
Very funny, Scotty, now beam down my clothes...
- 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)
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Unfortunately there is still a problem with planetary orientation for textured planets.
In versions pre 1.70, whatever orientation = "w x y z"; (quaternion) you defined in planetinfo.plist, the planet always rotated in the same direction (around one of the internal axes, I think). The only thing that changed was the orientation in which the texture was wrapped around the planet.
The result of this was that the rotational poles of the planet were never the poles (= upper and lower edge) of the texture. The closest I ever got to having a planet rotate around its actual poles was with orientation = "0.9659 0.2588 0 0";. The values represent cosine and sine of 15 degrees, meaning that there is a rotational offset of 30 degrees around the x-axis. These were the only values producing a rotation actually around the planetary poles. You couldn't change these values without producing a planet rotating in a ridiculous way. Not a great variability for a scripter.
In 1.70 Ahruman has fixed part of this. Now the orientation-key actually changes the orientation of rotation, not only the orientation of the texture. But the offset is still there.
This means that in 1.70 it has become impossible to have a planet rotate around the poles which are defined by its texture (the upper and lower edges).
Here's a small sample-planetinfo.plist, demonstrating the problem (my test-pilot is currently in Bixein in Galaxy 3, represented by the "2 22" in the first line; please substitute with your own current whereabouts):
The rotational_velocity is really high, so the "rotation-pole" becomes immediatly visible. Here's the sample-texture belonging to this. Just move it to your desktop and name it grid.png:
You will notice that all the planets rotate in a different direction, but their rotational axis goes through the two points marked with "x", not through the points that are north- and south-pole texture-wise.
This is a major issue for any realistically rotating textured planet. So I hope some of you "people with magic powers who actually look into the code" can solve it. Preferably by understanding where this roughly-30-degrees rotational offset comes from and fixing it. Or, alternative B: make it scriptable by transforming the default offset into a rotational_offset-key, because sometimes this kind of an offset could be useful. But generally one would expect a planet to rotate around its poles, and one would expect the poles to be represented by the upper and lower edge of its texture.
In versions pre 1.70, whatever orientation = "w x y z"; (quaternion) you defined in planetinfo.plist, the planet always rotated in the same direction (around one of the internal axes, I think). The only thing that changed was the orientation in which the texture was wrapped around the planet.
The result of this was that the rotational poles of the planet were never the poles (= upper and lower edge) of the texture. The closest I ever got to having a planet rotate around its actual poles was with orientation = "0.9659 0.2588 0 0";. The values represent cosine and sine of 15 degrees, meaning that there is a rotational offset of 30 degrees around the x-axis. These were the only values producing a rotation actually around the planetary poles. You couldn't change these values without producing a planet rotating in a ridiculous way. Not a great variability for a scripter.
In 1.70 Ahruman has fixed part of this. Now the orientation-key actually changes the orientation of rotation, not only the orientation of the texture. But the offset is still there.
This means that in 1.70 it has become impossible to have a planet rotate around the poles which are defined by its texture (the upper and lower edges).
Here's a small sample-planetinfo.plist, demonstrating the problem (my test-pilot is currently in Bixein in Galaxy 3, represented by the "2 22" in the first line; please substitute with your own current whereabouts):
Code: Select all
{
"2 22" = {
"ambient_level" = "1.0";
"script_actions" = (
"addMoon: testplanet_A",
"addMoon: testplanet_B",
"addMoon: testplanet_C",
"addMoon: testplanet_D"
);
};
"testplanet_A" = {
orientation = "1 0 0 0";
"polar_color_factor" = "2.5";
position = "50000 0 300000";
radius = 2000;
"rotational_velocity" = "12.0";
texture = "grid.png";
};
"testplanet_B" = {
orientation = "1 1 0 0";
"polar_color_factor" = "2.5";
position = "100000 0 300000";
radius = 2000;
"rotational_velocity" = "12.0";
texture = "grid.png";
};
"testplanet_C" = {
orientation = "1 0 1 0";
"polar_color_factor" = "2.5";
position = "150000 0 300000";
radius = 2000;
"rotational_velocity" = "12.0";
texture = "grid.png";
};
"testplanet_D" = {
orientation = "1 0 0 1";
"polar_color_factor" = "2.5";
position = "200000 0 300000";
radius = 2000;
"rotational_velocity" = "12.0";
texture = "grid.png";
};
}
You will notice that all the planets rotate in a different direction, but their rotational axis goes through the two points marked with "x", not through the points that are north- and south-pole texture-wise.
This is a major issue for any realistically rotating textured planet. So I hope some of you "people with magic powers who actually look into the code" can solve it. Preferably by understanding where this roughly-30-degrees rotational offset comes from and fixing it. Or, alternative B: make it scriptable by transforming the default offset into a rotational_offset-key, because sometimes this kind of an offset could be useful. But generally one would expect a planet to rotate around its poles, and one would expect the poles to be represented by the upper and lower edge of its texture.
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
My attempt at a city planet. CaptKev: I can send you a PM with the texture as an attachment or if you pm me I can send it to your e-mail address. Do with it what you like (even if you have to tweak it a little) [/img]
This is of course a resized image
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
I agree,
But I don't know how to do it. It's up to the creators of the OXP. They have permission to tweak the texture as they like
But I don't know how to do it. It's up to the creators of the OXP. They have permission to tweak the texture as they like
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Hi pagroove, I received the texture and here it is in-game
Another great texture!, only six more to go
Here's the list so far:
0 Earth
1 Wet Mars
2 Earth with more land to sea ratio
3 Earth with craters
4 Earth with lots of mountains (from Kaks)
5 Mars
6 Mars 2
7 Mars with vegetation
8 Mars with veins
9 Industrial world (from pagroove)
A Sea world with just a small island
B
C
D
E
F
Should I assign each planet type to the appropriate system manually or just generate a random number from 0-F and put that in the array?
If it's the earlier option then I might need some help deciding what planets goes where.
Another great texture!, only six more to go
Here's the list so far:
0 Earth
1 Wet Mars
2 Earth with more land to sea ratio
3 Earth with craters
4 Earth with lots of mountains (from Kaks)
5 Mars
6 Mars 2
7 Mars with vegetation
8 Mars with veins
9 Industrial world (from pagroove)
A Sea world with just a small island
B
C
D
E
F
Should I assign each planet type to the appropriate system manually or just generate a random number from 0-F and put that in the array?
If it's the earlier option then I might need some help deciding what planets goes where.
Last edited by CaptKev on Tue Mar 18, 2008 7:23 pm, edited 1 time in total.
Download Fighter HUD, Stingray and System Redux from the EliteWiki