Page 1 of 1

Feature Request: Splitting Class

Posted: 27.11.2003, 21:45
by ajtribick
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?

Posted: 27.11.2003, 23:09
by JackHiggins
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)

Posted: 28.11.2003, 00:18
by granthutchison
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

Posted: 28.11.2003, 21:19
by JackHiggins
Sorry Grant :wink:

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

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

Posted: 28.11.2003, 22:40
by ajtribick
Thanks for the tip. Zavijava is now getting a binary planet... :)

Posted: 28.11.2003, 22:56
by JackHiggins
hehe Grant- just noticed your post count is currently "the number of the beast"...

666!! :twisted: