Posts by m3ntol

by m3ntol
10.10.2008, 09:30
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Ok, the boundaries commands are supported in this two files: boundaries.c boundaries.h you can download it from http://www.astrohenares.org/upd/data/boundaries.rar And also, you should add the parsing in the celx.cpp file. The lines to add are this two functions: static int celestia_setboundaries(lu...
by m3ntol
09.10.2008, 15:27
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Hello, first of all, sorry for don't post in a long time, but I've been really bussy. Now I've some free time and got back to make changes to Celestia. Sorry also because I don't sincronice my development with the team :oops: :oops: but anyway I think it could be usefull. I was working on CELX (lua)...
by m3ntol
03.03.2008, 11:36
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Not supported yet ;)

You can set differents colors for each constellations, but labels would diplay same color than its constellation. Or you can set a color for all constellations and a different one for all labels, but not two things at time.
by m3ntol
03.03.2008, 11:18
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Try this cel script: { cancel{} renderflags { clear "boundaries|grid|orbits|planets"} labels { clear "asteroids|comets|constellations|galaxies|moons|planets|spacecraft|stars"} unmarkall {} set {name "ambientlightlevel" v...
by m3ntol
03.03.2008, 08:32
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

And what about alpha effects for the constellation labels and lines ? How to set a different color to the constellation label, and a separate color for its lines ? Alpha is not supported yet. About setting different colors for lines and labels, you can usa a combination of constellations commands a...
by m3ntol
03.03.2008, 08:25
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

m3ntol, I've added quite a lot of new Celx methods to Celestia 1.5.0, but I only added the corresponding Cel commands for a minority of them. Would you be interested in adding the remaining Cel commands? You'll find a list of the new Celx methods added to Celestia 1.5.0 here: http://celestiaproject...
by m3ntol
03.03.2008, 08:19
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Well, changes done! Sintaxt is as Chris described: setlinecolor { item "equatorialgrid" color [0 0 1] } And that's all folks :) Hello m3ntol, sorry but I didn't try the setlabelcolor for galaxies before, and now I see that setlabelcolor { item "galaxies" color [0.24 0.63 0.05] }...
by m3ntol
29.02.2008, 17:11
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Well,
the one interested on this modifications were Cham, but I don't know if he can answer me. For sure Chris can.
by m3ntol
29.02.2008, 16:48
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Well... i forgot to put "stars" in the list of items but not in the code. So command setlabelcolor { item "stars" color [0.60 0.10 0.10] } should work Ok. And asking again... what about this subject? http://celestiaproject.net/forum/viewtopic.php?p=100862#100862 Add a InfoURL field to the stars look...
by m3ntol
29.02.2008, 09:54
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

m3ntol, there is some "small" coding project that may interest you, related to stars :). Please, see Chris's comment on that page : http://celestiaproject.net/forum/viewtopic.php?p=100862#100862 I was looking this add. But I'm confused, StarDetails are loaded from a star file which is in binary for...
by m3ntol
29.02.2008, 09:31
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Well, changes done! exe file with an example (really ugly one :roll: :roll: ) is located in: http://www.astrohenares.org/upd/data/add_2.zip I've added two new commands. setlinecolor, and setlabelcolor. Sintaxt is as Chris described: setlinecolor { item "equatorialgrid" color [0 0 1] } setlabelcolor ...
by m3ntol
28.02.2008, 14:14
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Ok, I've understood your request. Also I've peek the code and it is easy to do. I only need to create commands to chage the Renderer::****Color of labels and lines. The questions is if this is interesting to do. I mean may be we are duplicating commands and create innecesary confusion and complexity...
by m3ntol
28.02.2008, 09:41
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Hello, Drawing curves in much more complicated than I imagined. My first approach was create a new kind of asterism, for example, a normal asterism with a name starting with a $ or any other special character. So, when the render was about to draw the asterism, give it a special drawing tratament. E...
by m3ntol
27.02.2008, 08:41
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Yes. it's nice to show how to reach Polaris starting from UMa. But many lines used to step to another constellation are curves, and I have many doubts that these could be shown in Celestia. :cry: Moreover, we have the max 99 asterism limit, and this limits moreover such a use. Sorry, my little cent...
by m3ntol
26.02.2008, 19:35
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Uhmm :) a nice script to take advantange of new features. Also need to add this code to the asterism.dat file in the data directory. "Polaris" [ [ "Alpha UMa" "Alpha UMi" ] ] and this is the script. Try it :) it's very funny { cancel{} labels { clear...
by m3ntol
26.02.2008, 19:13
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Ok,
I'll be very proud to be a little part of Celestia :)
by m3ntol
26.02.2008, 17:38
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Very nice--the color highlighting looks like a great feature. If it's OK with you m3ntol, I can integrate this change into Celestia when you're ready. --Chris I'm ready :D all I have to say is thank you, all guys, for this great program. So take the code, ask me wathever you need and I'll try to he...
by m3ntol
26.02.2008, 17:34
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Thanks a lot, m3ntol, you have been very kind, appreciated. And moreover you did this in a very short time, congratulations! 8O Bye Andrea :D Celestia code is clean and clear. Programmers did a great job, so add modifications is very easy. BTW... how do you get these controls on the right side of t...
by m3ntol
26.02.2008, 15:42
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

ANDREA, special edition for you ;) I make some changes and add another script command to change constellations color. The new command is constellationcolor and accept two parameters, the first is a color vector [r g b] and the second a list separated by | of constellations to apply the color. Also a...
by m3ntol
26.02.2008, 11:37
Forum: Scripting
Topic: Activate only one Constelation
Replies: 88
Views: 56196

Re: Activate only one Constelation

Ok, as promised I've made all changes. Now the new script command is 'constellations' with two 'l' And also, only selected constellations labels are painted. Definitive changes in same url as previous: http://www.astrohenares.org/upd/data/Celestia.rar Souce code with only modified files: http://www....

Go to advanced search