Page 1 of 1

missing CelX methods? normalizemesh & meshscale

Posted: 19.04.2009, 19:44
by selden
Celestia v1.6 allows you to control the size of a model using the new SSC directives
NormalizeMesh false (default = true = scale to Radius)
MeshScale 1 (size of units in model)
These directives are very useful when assembling something out of several different objects.

If NormalizeMesh is not used (or is set to true), you can change the size of the object with the CelX functions obj:radius() and obj:setradius(value)

There does not seem to be an equivalent size control for NormalizeMesh false. setraidus only changes the size of the Selected marker (and where Celestia clips the model's image), not the size of the model.

It would be nice if there were CelX functions
getnormalizemesh, setnormalizemesh, getmeshscale and setmeshscale.

Re: missing CelX methods? normalizemesh & meshscale

Posted: 20.04.2009, 17:31
by Vincent
Selden,

I'll have a go at this as soon as possible, though I'm not very familiar with these
new SSC directives. You may want to add this request to the SF tracker, so
that I don't forget about it -- I'm quite busy professionally at the moment.

Re: missing CelX methods? normalizemesh & meshscale

Posted: 20.04.2009, 17:45
by selden
Vincent,

Take your time. There's no rush. If they're implemented, I think they should wait for v1.6.1.

Being able to change the size of one or more members of a conglomeration of models will be very useful but perhaps
would have significant implications for the design of the over-all object.

i'll submit a feature request in tracker.