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.
missing CelX methods? normalizemesh & meshscale
-
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
Re: missing CelX methods? normalizemesh & meshscale
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.
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.
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
-
Topic authorselden
- Developer
- Posts: 10192
- Joined: 04.09.2002
- With us: 22 years 3 months
- Location: NY, USA
Re: missing CelX methods? normalizemesh & meshscale
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.
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.
Selden