WHo knows how to switch of / on nebulae with celx?
You can do it with galaxies, planets and so on - but not with nebulae. Is this correct?
Enable / Disable Nebulae
-
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
Re: Enable / Disable Nebulae
BerndS wrote::?: WHo knows how to switch of / on nebulae with celx?
You can do it with galaxies, planets and so on - but not with nebulae. Is this correct?
You can enable/disable the rendering of nebulae with:
Code: Select all
celestia:setrenderflags{nebulae = true} -- enable
celestia:setrenderflags{nebulae = false} --disable
This has not been added to Harald Schmidt 's support for Lua/CELX-scripting in Celestia, though.
The following renderflags are currently available (see celx.cpp, line 107):
orbits
cloudmaps
constellations
galaxies
planets
stars
nightmaps
eclipseshadows
ringshadows
comettails
boundaries
markers
automag
atmospheres
grid
smoothlines
partialtrajectories
nebulae
openclusters
cloudshadows
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
-
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
BerndS wrote:Hi Vincent!
Thanks - but that's what I tried before and it didn't work (Celestia 1.4.1). And it still doesn't work with nebulae. Any further ideas?
Sorry, the nebulae renderflag has been indeed added after the release of Celestia 1.4.1. So, I can simply suggest you to wait for the release of Celestia 1.5, or to download Celestia1.5pre2.
Then, a turn-around would be to declare your nebula as a very faint galaxy with a high AbsMag value...
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3