Anyone has an idea how ? The Orientation [ ] command doesn't work for DSC objects (which could help alot !). I can't do it in my modeler since the double-head-arrow is a pure CMOD object and I don't want to build a new arrow model for this (however, if there's no easy and "natural" way, I may have to design a new CMOD object). Here's the DSC code used for the central arrow shown on the picture :
Code: Select all
Nebula "MW_arrow"
{
Mesh "double_arrow.cmod"
#Visible false
Clickable false
RA 17.760278
Dec -28.936111
Distance 27720
Radius 50000
Axis [-0.679381 0.221716 -0.699488]
Angle 196.475
}
Nebula "100000AL"
{
Mesh "100000AL.3ds"
#Visible false
Clickable false
RA 17.760278
Dec -28.936111
Distance 32720
Radius 10000
Axis [-0.679381 0.221716 -0.699488]
Angle 196.475
}
In case someone is interested in building pure CMOD geometries, here's the code used for the CMOD double-head-arrow :
Code: Select all
#celmodel__ascii
material # Basic color
emissive 0.8 0.9 0.9
diffuse 0.8 0.9 0.9
opacity 0.5
end_material
mesh
vertexdesc position f3 end_vertexdesc
vertices 2 # Straight line
0 0.9133974596 0
0 -0.9133974596 0
linestrip 0 2
0
1
end_mesh
# First arrow :
mesh vertexdesc position f3 end_vertexdesc # Frame
vertices 3
0 1 0
0.025 0.9133974596 0
-0.025 0.9133974596 0
linestrip 0 4
0
1
2
0
end_mesh
mesh vertexdesc position f3 end_vertexdesc # Glass arrow
vertices 3
0 1 0
0.025 0.9133974596 0
-0.025 0.9133974596 0
trilist 0 3
0
1
2
end_mesh
mesh vertexdesc position f3 end_vertexdesc # Glass arrow second face
vertices 3
0 1 0
-0.025 0.9133974596 0
0.025 0.9133974596 0
trilist 0 3
0
1
2
end_mesh
# Second arrow :
mesh vertexdesc position f3 end_vertexdesc # Frame
vertices 3
0 -1 0
0.025 -0.9133974596 0
-0.025 -0.9133974596 0
linestrip 0 4
0
1
2
0
end_mesh
mesh vertexdesc position f3 end_vertexdesc # Glass arrow
vertices 3
0 -1 0
0.025 -0.9133974596 0
-0.025 -0.9133974596 0
trilist 0 3
0
1
2
end_mesh
mesh vertexdesc position f3 end_vertexdesc # Glass arrow second face
vertices 3
0 -1 0
-0.025 -0.9133974596 0
0.025 -0.9133974596 0
trilist 0 3
0
1
2
end_mesh