Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / how do i do this cool sun??

Author
Message
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 16th Jun 2006 02:49
I am making a space simulator, something like riftspace, just less cool and less stuff, i am just learning and it is a good place to start , i have been wondering for the last few days if it is posible to make this glowy sun effect? i have searched on the codebase, and on these forums but i havent found anything close to what i am talking about does anyone know what i am talking about? can anyone help me?

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 16th Jun 2006 05:14
Probably the best way to do it would be to make a flat sun texture in a paint program like Photoshop, as in a big glowing ball, and then texture a large-ish plain with that image, move that plain far away from the camera and point it at the camera every loop.

BLink
21
Years of Service
User Offline
Joined: 1st Jan 2004
Location: Laptop, wherever that is
Posted: 16th Jun 2006 06:04
In order to obtain the effect of the giant glow being behind the sphere instead of overlapping/going through it, after pointing it at the camera, have it move negative x points as to be behind the sun.

Or do you mean glow like put a light effect on the sun?

Pineapple juice, the best drink ever made.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 16th Jun 2006 15:42
Quote: "Or do you mean glow like put a light effect on the sun?"


yes, something like that

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
BLink
21
Years of Service
User Offline
Joined: 1st Jan 2004
Location: Laptop, wherever that is
Posted: 17th Jun 2006 23:54
I'm not too good with actual lights in DB, but DB does come with an example...



Is that all you wanted?

Pineapple juice, the best drink ever made.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 18th Jun 2006 01:39
no actually, ever playd eve online?



i am looking for this kinda sun, or something like that..

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
SFSW
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 18th Jun 2006 03:10
Plain object with a nice flaring texture (with two basic light rays like the EVE shot above, or more if you want). Disable object zdepth on it, point it toward the sun object, move it slightly ahead of the camera (and level it with Set Object to Camera Orientation, if desired), then scale its size based on its proximity to the center of the screen. You can also do other effects like spinning the light rays (X3), using a limited scaling system (EVE), add halos, include corona haze (available as an attached limb or as a seperate plain object), whatever effects you might want to enhance the look.

I have received some interest in this from others on my own forum and in e-mails. I'm in the middle of a project now, but if I can find the time soon, I can likely provide some sample code of one way to do this. Send me a quick e-mail to remind me if it seems like I forgot

Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 18th Jun 2006 03:53
hehe, i am such a noob i dint understand half of what you were saying there can you show me a sample code? please

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
SFSW
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 19th Jun 2006 05:30
I had some time to put together a simple example. It's available at this link:

http://www.starwraith.com/forum/viewthread.php?tid=1301

Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 19th Jun 2006 14:42
thank you

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!

Login to post a reply

Server time is: 2025-05-25 04:32:13
Your offset time is: 2025-05-25 04:32:13