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?
Feature Request: Splitting Class
-
- Posts: 1034
- Joined: 16.12.2002
- With us: 21 years 11 months
- Location: People's Republic Of Cork, Ireland
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years
Tut, Jack, you have no memory for anything I do ...JackHiggins wrote:(theres an invisible.3ds available somewhere on the forum)
It's here: http://www.lns.cornell.edu/~seb/celestia/hutchison/empty.html
Grant
-
- Posts: 1034
- Joined: 16.12.2002
- With us: 21 years 11 months
- Location: People's Republic Of Cork, Ireland
-
- Posts: 1034
- Joined: 16.12.2002
- With us: 21 years 11 months
- Location: People's Republic Of Cork, Ireland