Feature Request: Splitting Class

General discussion about Celestia that doesn't fit into other forums.
Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 4 months

Feature Request: Splitting Class

Post #1by ajtribick » 27.11.2003, 21:45

In a Solar System Catalog (.ssc) file, there is the attribute "Class" which changes the object's behaviour. However it seems that the "Class" attribute does two different things.

Sometimes the Class attribute affects the rendering of the object, i.e. the "invisible" and "comet" class. All "Class" attributes affect the rendering of the object's orbit.

However if I wanted to set up a system with a binary planet orbiting the centre of mass and I model the centre of mass as an "invisible" object, the orbit of the centre of mass is invisible unless selected.

Would it be possible to include OrbitClass and RenderClass as subdivisions of Class: changing the OrbitClass would have the orbit treated as planet, moon, asteroid, comet etc, changing the RenderClass would cause the rendering of a cometary tail or invisible objects.

The original "Class" attribute could then be retained as a synonym for setting both, e.g. setting "Class" to comet would set both OrbitClass and RenderClass to comet.

So to set up my barycentre object I could set OrbitClass to planet and RenderClass to invisible.

Or would this be too difficult to implement at the moment?

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #2by JackHiggins » 27.11.2003, 23:09

Why not just set the center-of-mass to be class "planet" ,but set the mesh of it as "invisible.3ds" so you can't see it? (theres an invisible.3ds available somewhere on the forum)
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #3by granthutchison » 28.11.2003, 00:18

JackHiggins wrote:(theres an invisible.3ds available somewhere on the forum)
Tut, Jack, you have no memory for anything I do ... :wink:
It's here: http://www.lns.cornell.edu/~seb/celestia/hutchison/empty.html
Grant

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #4by JackHiggins » 28.11.2003, 21:19

Sorry Grant :wink:

Next time i'll do a search first... :)

Is that the kind of thing you're looking for anyway chaos?
- Jack Higgins

Jack's Celestia Add-ons

And visit my Celestia Gallery too!

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 4 months

Post #5by ajtribick » 28.11.2003, 22:40

Thanks for the tip. Zavijava is now getting a binary planet... :)

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #6by JackHiggins » 28.11.2003, 22:56

hehe Grant- just noticed your post count is currently "the number of the beast"...

666!! :twisted:
- Jack Higgins

Jack's Celestia Add-ons

And visit my Celestia Gallery too!


Return to “Celestia Users”