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.

Code Snippets / [DBP] Diffuse,Ambience,Emissive,Specular,Specular Power of an object

Author
Message
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Dec 2009 21:28 Edited at: 8th Dec 2009 21:30
using a combinations of the following commands,

DIFFUSE ,AMBIENCE,EMISSIVE,SPECULAR,SPECULAR POWER

you get the following.





Dark Physics makes any hot drink go cold.
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 9th Dec 2009 02:12
Nice to see a grid for reference. Might come in handy!

"everyone forgets a semi-colon sometimes." - Phaelax
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 9th Dec 2009 11:34
Yes, thought that would let the user see what did what, so say you wanted to know what an object at 75% and emissive with or without a light on, then this is what it might looks like.

Cheers for looking.

Dark Physics makes any hot drink go cold.
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 9th Dec 2009 12:30
small update now show what your object looks like when you have one of the ghost options on (0-6)



Dark Physics makes any hot drink go cold.
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 9th Dec 2009 13:04
and another one using TRANSPARENCY on and object




Dark Physics makes any hot drink go cold.
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 9th Dec 2009 13:14 Edited at: 9th Dec 2009 13:14
another one using TRANSPARENCY and GHOST on and object.



Dark Physics makes any hot drink go cold.
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 11th Dec 2009 15:24
found if you are using the set current bitmap -1, it has to be called every loop to keep your object textured, unlike when you use get image for a texture.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2026-06-05 23:37:23
Your offset time is: 2026-06-05 23:37:23