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.

Newcomers DBPro Corner / Adding "radiance" to objects

Author
Message
TheShogun
14
Years of Service
User Offline
Joined: 3rd Oct 2010
Location: Texas
Posted: 27th Nov 2011 20:47
I began experimenting with light commands on Dark basic. One thing I noticed is the effect of a positioned light can be seen, however its exact location is unknown. Say I want to make a planet. Usually there is some aura surrounding the planet. Setting the object emissive does not help. How would I go about creating a planetary aura?
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 28th Nov 2011 08:27
I think particles are prolly your best bet if you want it to look nice.

I suppose you could also add a semi-transparent sphere around your planet but it won't look as good. Although it's a lot easier to do:



As you can see, it's not really that great looking. Particles are better.

Quote: "Setting the object emissive does not help"


I've never used this particular command but according to the help, it seems this is more for an object's "independant lighting", ie it adds lighting to the object irrespective of ambient light, etc.

Hope this helps.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 29th Nov 2011 04:15
Hi friends,

I was interested in this a few months back, and tracked down this old thread which is absolutely priceless for such a project.

http://forum.thegamecreators.com/?m=forum_view&t=136690&b=1&msg=1593243#m1593243

Hats off to Darkcoder and everyone else involved!

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
TheShogun
14
Years of Service
User Offline
Joined: 3rd Oct 2010
Location: Texas
Posted: 2nd Dec 2011 00:23
Exactly what I was looking for. nonZero, Burning Feet Man, I got leads, thanks.
Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 2nd Dec 2011 06:14
Good luck mate! Keep us posted on your project.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia

Login to post a reply

Server time is: 2024-11-23 23:22:50
Your offset time is: 2024-11-23 23:22:50