Need help with Grant Hutchinson's DSC billboard spreadsheet

General discussion about Celestia that doesn't fit into other forums.
Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Need help with Grant Hutchinson's DSC billboard spreadsheet

Post #1by buggs_moran » 30.04.2006, 20:43

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
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 30.04.2006, 22:20

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   
}
Selden

Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Post #3by buggs_moran » 01.05.2006, 01:14

Thanks Selden, I seem to keep doing this with Right Ascension...
Homebrew:

WinXP Pro SP2

Asus A7N8X-E Deluxe

AMD Athlon XP 3000/333 2.16 GHz

1 GB Crucial RAM

80 GB WD SATA drive

ATI AIW 9600XT 128M


Return to “Celestia Users”