I need the command to offset the position of a model center on its path. NOT the MeanAnomaly. It's something like OffSet, but I'm looking for position offset, not rotation offset.
Is it the command MeshCenter [ x x x ] ?
How does it work ?
Command to offset a model position on its orbit ?
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Command to offset a model position on its orbit ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
By trial and error, I think I've found the answer, but please I need a confirmation :
In the command MeshCenter [ A B C ],
A represent the offset tangential to the orbit path,
B represent the offset along the orbital radius,
C represent the offset along the orbital plane perpendicular.
Is that right ? Selden ?
In the command MeshCenter [ A B C ],
A represent the offset tangential to the orbit path,
B represent the offset along the orbital radius,
C represent the offset along the orbital plane perpendicular.
Is that right ? Selden ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Posts: 691
- Joined: 13.11.2003
- With us: 21 years
I was looking at that command myself; what magnitude of offset does it give and what is it measured in?
I want to model a spaceport with several different ships
(here is an early version)
http://tinypic.com/28p7gw
and this command might be useful in many ways.
I want to model a spaceport with several different ships
(here is an early version)
http://tinypic.com/28p7gw
and this command might be useful in many ways.
Here is some information regarding the MeshCenter command;
I know that when using anim8or, if you click on an object to bring up the mesh editor, it gives you the location co-ordinates.
Grant Hutchison wrote:MeshCenter has the syntax
MeshCenter [ x y z ]
where x, y and z are all all float values.
By default, Celestia builds a bounding box around a mesh object, and takes the centre of the bounding box to be the centre of the object. But various objects like moons, asteroids and spacecraft have their centre of gravity offset from the centre of the bounding box - in Celestia they'll rotate around the wrong axis, locations will appear in the wrong position, and Goto Object will take you to the wrong position. So you need to tell Celestia where you want the centre of the object to be, relative to the centre of the bounding box.
The coordinates x, y and z are the displacements for the object centre relative to the bounding box centre. You can find out what they should be from your modelling program. Some programs will give you the centre coordinates directly; for others, you'll need to work them out from the maximum and minimum coordinates of the mesh object.
Grant
I know that when using anim8or, if you click on an object to bring up the mesh editor, it gives you the location co-ordinates.
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS
-
- Posts: 691
- Joined: 13.11.2003
- With us: 21 years