Famous Planets 2.5.OXP and Famous Planets for Povray

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

pagroove wrote:
I've stumbled upon the following thing that makes Famous Planets 2.5. unnecessary large than it has to be.

If you have already downloaded the whole package then please go into the texture directory and delete the sub directory G2WIP. This was a Work in progress dir and this should free about 200 mb.

Sorry I did'nt spot this earlier. I asked Lestradae to repackage the file with all the bug-fixes and then re-upload it. So The size will be reduced.

Also did a very light version with textures 512 by 384 and then the texture directory is only 56 mb.
Expect it to be up soon.
Won't Oolite have to scale the 384 aspect of the texture up to 512? I thought Oolite textures needed to be ratios that were powers of 2 (or they're scaled?)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

pagroove wrote:
Also did a very light version with textures 512 by 384
These will be rescaled to 512 × 256 each time they’re loaded.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Ahruman wrote:
pagroove wrote:
Also did a very light version with textures 512 by 384
These will be rescaled to 512 × 256 each time they’re loaded.
Damn I had a choice of two - scale up or scale down - and I picked up! :oops:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

DaddyHoggy wrote:
Damn I had a choice of two - scale up or scale down - and I picked up! :oops:
The rule used is: 2/3 of the size, rounded up to a power of two. 384 is rounded down, 385 is rounded up.
User avatar
Zieman
---- E L I T E ----
---- E L I T E ----
Posts: 680
Joined: Tue Sep 01, 2009 11:55 pm
Location: in maZe

Post by Zieman »

512 x 384 ???!!!???
Why change texture proportions from 2:1 to 4:3 ?
Doesn't make sense...

The hi-res textures are 4096 x 2048, downscaling them will result in 2048 x 1024, 1024 x 512 or 512 x 256, if we stick to power of 2 dimensions.

Oh yes, one planet was at 8192 x 4096.

As a side note, little cleaning of the base/hi-res set might be a good idea, as there are several textures with weird dimensions, like 1010 x 509, 4088 x 1984, 4096 x 2000 and a couple of not power of 2 textures, like 4000 x 2000 and 1600 x 800.
...and keep it under lightspeed!

Friendliest Meteor Police that side of Riedquat

[EliteWiki] Far Arm ships
[EliteWiki] Z-ships
[EliteWiki] Baakili Far Trader
[EliteWiki] Tin of SPAM
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

Utterly, utterly awesome pagroove!

Amazing work, bravo!

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

Excellent work, very much appreciate your efforts.

Seems a couple of errors in the log file, however:

[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (System Redux 1.0 1.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.


I suppose "onria.png" is a typo - should be Onrira

Dave
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Updating your Welcome Mat to 1.10 will cure some of those.

Just noticed I forgot to upload that one to box :oops: It's up and available now.
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 »

DGill wrote:
Excellent work, very much appreciate your efforts.

Seems a couple of errors in the log file, however:

[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (System Redux 1.0 1.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.


I suppose "onria.png" is a typo - should be Onrira

Dave
thnx I will look into that.
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
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post by Cmd. Cheyd »

DGill wrote:
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
Dave
DOH! Sorry, I thought I'd fixed that before I sent it back to PAGroove.
Open the script.js file, and change line 101 from:

Code: Select all

system.mainPlanet.setTexture(system.name + '.png');
to:

Code: Select all

system.mainPlanet.texture = (system.name + '.png');
As for the file.notFound error - It's a typo on line 212 of the planetinfo.plist. Just open the file, add the missing 'r', re-save. You should be golden.

Reminder - DO NOT use Notepad if on Windows. Use NotePad++ (Free Download) or Wordpad.
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 »

Thanx Cheyd!

BTW anyone visited any new planets?
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
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

Thanks Cheyd

Dave
User avatar
ZygoUgo
---- E L I T E ----
---- E L I T E ----
Posts: 406
Joined: Mon Nov 17, 2008 4:15 pm
Location: Blighty

Post by ZygoUgo »

As beautiful as these are it seems impossible to extend this project to all eight galaxies due to the amount of memory it requires, which is a shame. Is it possible to manually make up the generated planet seeds to approximate the the planets image instead of using textures? Is there a description anywhere of exactly how the planet seeds (would) work?
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

ZygoUgo wrote:
As beautiful as these are it seems impossible to extend this project to all eight galaxies due to the amount of memory it requires, which is a shame. Is it possible to manually make up the generated planet seeds to approximate the the planets image instead of using textures? Is there a description anywhere of exactly how the planet seeds (would) work?
Surely, you just break them up into Galaxy based subsets?

A core oxp (ala YAH) that sets it all up and then sets 1 to 8 which you pull in and move out as you move from chart to chart. After all no point in having all those enormous textures ready to go for chart 1 if you're in chart 2.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

Um… Oolite doesn’t load every file it encounters into memory just in case it’s used, you know. What do you take me for, an idiot?
Post Reply