here comes the sun

Blitz3D Forums/Blitz3D Programming/here comes the sun

Rook Zimbabwe(Posted 2004) [#1]
If I wanted to create a sparkly bright SUN in the sky... Would I have to use raycasting? I am hoping there is a far easier way.

-Rook


sswift(Posted 2004) [#2]
http://www.griffinpark.com/studio/flash/TeddySayHello.html


Ps:
Make a sprite. Position it in the sky where you want the sun. Make it add blend. Stick a texture on it that fades from white in the center to black at the edges.


Ziltch(Posted 2004) [#3]
Hello Sun


Rook Zimbabwe(Posted 2004) [#4]
While I am a fan of John Lennon I wasn't exactly asking about the tune! Thanks though!
-RZ


Wiebo(Posted 2004) [#5]
It is a George Harrison tune.... :)


Ice9(Posted 2004) [#6]
Paul is dead.


Billamu(Posted 2004) [#7]
I saw a sun on a crash bandicoot game for ps2. It was a sprite. It had two unique properties:

The sun would shine over the top of all the objects in the scene as long as there was a direct line of vision between the camera and the sun

The suns rays (the sprite) would rotate in the direction you turned.


jfk EO-11110(Posted 2004) [#8]
maybe check out "lense flair", I guess there's something in the code archives. Additionally you can use a linepick to determine if you have to hide/unhide the suns corona, depending on its visibility.

Here comes the sun
it's allright
Da - dadada dadada dadada da da da da :°)