Page 1 of 1

Need help with Grant Hutchinson's DSC billboard spreadsheet

Posted: 30.04.2006, 20:43
by buggs_moran
I input the RA and Dec and got the resuting axis and angle shown in the code below. The billboard should be facing Sol now, correct? The billboard is copied from Selden's original. Any ideas?

Code: Select all

Nebula "Test"
{
Mesh "billboard1.cmod"
Axis [-0.3618 0.8683 0.3395]
Angle 139.9596945
RA 212.31          
Dec 23.85
Radius 0.0000005229        
Distance 0.0013483    

}



Code: Select all

# celmodel__ascii
# an attempt at a square billboard using the cmod format
# s.ball 21apr04

material

texture0 "star.*" # modify this filename to display other images

diffuse 1 1 1 opacity 1 end_material

mesh

vertexdesc position f3 normal f3 texcoord0 f2 end_vertexdesc

vertices 4
 0 0 0  0 1 0  0 1
 0 0 1  0 1 0  0 0
 1 0 1  0 1 0  1 0
 1 0 0  0 1 0  1 1

# the "negative" side: facing the origin
trilist 0 6
0 3 2
2 1 0

# the "positive" side: facing away from the origin
trilist 0 6
0 1 2
2 3 0

end_mesh

Posted: 30.04.2006, 22:20
by selden
The problem in your DSC file is that you've specified RA in Degrees (0-360). It needs to be in Hours (0-24). Unfortunately, STC files want RA in Degrees, but DSC files want RA in Hours. 1 Hour = 15 Degrees.

Try this:

Code: Select all

Nebula "Test"
{
Mesh "billboard1.cmod"
Axis [-0.3618 0.8683 0.3395]
Angle 139.959

RA  14.154         
Dec 23.85
Radius 0.0000005229       
Distance 0.0013483   
}

Posted: 01.05.2006, 01:14
by buggs_moran
Thanks Selden, I seem to keep doing this with Right Ascension...