Its weird.....even though I've set culling to be off for both plains, when viewed from behind, one of them is invisible until you face it from the front again. This seems to be why the corona is dimmer from the back.
Also, no matter what I do, I can't use ZROTATE OBJECT or ROLL OBJECT when the object is either set to face the camera using
SET OBJECT TO CAMERA ORIENTATION
or using
POINT OBJECT CAMERA POSITION X, CAMERA POSITION Y, CAMERA POSITION Z.
I'm totally at a loss here. This can't possibly be all that hard. I've enclosed the full code for creation and loop processing of the sun, if anyone can help.
SetupStar:
rem Make Sun.
make object sphere 2, 3.0, 50, 50
set object smoothing 2, 50
load image "SunTex.bmp", 2
texture object 2, 2
make object sphere 3, 3.01, 50, 50
load image "SunTex2.bmp", 3
texture object 3, 3
set object smoothing 3, 50
ghost object on 3
load image "SunCorTex.bmp", 4
make object plain 4, 10.0, 10.0
position object 4, 0, 0, 0.05
texture object 4, 4
ghost object on 4
set object cull 4, 0
make object plain 5, 10.0, 10.0
position object 5, 0, 0, -0.05
texture object 5, 4
ghost object on 5
set object cull 5, 0
rem Turn off lighting on the Sun and corona.
set object light 2, 0
set object light 3, 0
set object light 4, 0
set object light 5, 0
Return
ProcessStar:
rem set facing of corona plains towards camera.
rem HELP?
rem Rotate sun spheres around Y axis.
yrotate object 2, wrapvalue (object angle y(2)+0.02)
yrotate object 3, wrapvalue (object angle y(3)-0.02)
rem Rotate corona plains around Z axis.
zrotate object 4, wrapvalue (object angle z(4)+0.02)
zrotate object 5, wrapvalue (object angle z(5)-0.04)
Return
Tron Software