I wrote
I found where the problem comes from
oddly, a file called for example 256_walpurga.cmod must be loaded by Mesh "256 walpurga.cmod".
A space replaces the underscore (_)
And in this case the file is found and loaded
It's bad !
I come to do my 'mea culpa' because I got confused with this .cmod story
I have a particular build of celestia so that I can use Celestia 1.6.1 and 1.6.2.2 with the same files without having to repeat them. It works by building the 2 celestia.cfg for this purpose. But some files like basic 'models' and 'textures' (in the root of celestia) are not 'exportable' in celestia.cfg. And with time I forgot it; So I tried to correct some errors in a file that Celestia never called.
So there you have it, Celestia Origin's .cmod files are correct, the '_' character is recognized and the name used in Mesh must be the same as that of the 'models' folder.
I apologize to Art Blos for worrying him for no reason.
Added after 1 hour 32 minutes:In LUT5, in the renderBox.lua module the following instructions are extra and are useless. They were probably trials and stayed in the final version:
lines 88 to 91
Code: Select all
starStyleLeftOffset = guideLeftOffset - 2
starStyleUpOffset = 9 + 20 * (nguide + 2)
textureResLeftOffset = guideLeftOffset - 2
textureResUpOffset = 9 + 20 * (nguide + 3)
in config.lua the table renderclass is not adequate :
Code: Select all
renderclass =
{
"", -- Group Separation Mark
"Constellations",
"Galaxies",
"Globulars",
"Open Clusters",
"Nebulae",
"Stars",
"Planets",
"",-- "9", --"Planets",
"",-- "10", --"Dwarf Planets",
"",-- "11", --"Moon",
"",-- "12", --"Minor Moon",
"13", --"Asteroid",
"14", --"Comet",
"15", --"Spacecraft",
}
"9", "10", "11", "12" are programmed in the code ('if k == 9 then' ... elseif k == 10 then ... and the following) but not implemented in config.lua
"13, "14", "15" are implemented in config.lua but are not programmed in the code, and instructions are missing
elseif k == 13 then ...
elseif k == 14 then ...
elseif k == 15 then ...
in the choice of Celestia Origin renderclas must be:
Code: Select all
renderclass =
{
"", -- 1 Group Separation Mark
"Constellations", -- 2
"Galaxies", -- 3
"Globulars", -- 4
"Open Clusters", -- 5
"Nebulae", -- 6
"Stars", -- 7
"Planets", -- 8
"",-- "9", --"Planets",
"",-- "10", --"Dwarf Planets",
"",-- "11", --"Moon",
"",-- "12", --"Minor Moon",
"", -- "13" --"Asteroid",
"", -- "14" --"Comet",
"", -- "15" --"Spacecraft",
}
my renderclass withh all is:
Code: Select all
renderClass = -- not move the order -- table of Class of 15 objects
{
"", -- 1 - for label "Constell. in Latin"
"Constellations", -- 2 - constellations
"Galaxies", -- 3 - galaxies
"Globulars", -- 4 - globular clusters
"Open Clusters", -- 5 - open clusters
"Nebulae", -- 6 - nelulae
"Stars", -- 7 - Star
"", -- 8 - in celestia, everything that revolves around the stars "Planets (class)",
"9", -- 9 - AllPlanet
"10", -- 10 - AllDwarfPlanets
"11", -- 11 - AllMoons
"12", -- 12 - AllMinorMoons
"13", -- 13 - AllAsteroids
"14", -- 14 - AllComets
"15", -- 15 - AllSpacecrafts
}
In addition, for functionalities "9" to "15" to be operational, an object table is needed for each.
AllPlanets.lua
AllDwarfplanets.lua
AllMoons.lua
AllMinorMoons.lua
AllAsteroids.lua
AllComets.lua
AllSpacecrafts.lua
my renderBox with all functionalities (in french)