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.

Bug Reports / SET OBJECT SPECULAR Object Number, Color Value --- NOT WORK

Author
Message
Dante Alucart
18
Years of Service
User Offline
Joined: 25th Jun 2005
Location:
Posted: 13th Sep 2006 00:47
Dear developers of language, the command

SET OBJECT SPECULAR Object Number, Color Value - does not work

Not for one types of objects, we tried on plein object because we work. We make object, we impose a texture, starts to highlight and occurs nothing. In version 5,9 and 6,0 works normally, and in version 6.2 is not present, for this moment ambient light was 100. I very much ask you look this mistake, because we have very much got stuck it on it.

Or in the command that that has changed?

If that send me the letter on dantemcmanus@mail.ru

Help.
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 13th Sep 2006 10:36 Edited at: 13th Sep 2006 10:46
You've raised this before and, so far, no-one has given you a simple straightforward answer. I tried the following, which I expected would give a red specular reflection depending on the camera's position. Everything I've tried fails so perhaps someone who knows what I've done wrong could tell us both:



Edit: I've just tested my bumpmapper posted yesterday on the main DBP list using a flat normal map and the specular reflection shows up fine. So it ain't the object or lack of bumpiness that's at fault - which is what Richard Davey suggested when this problem was raised earlier.

Attachments

Login to view attachments
Mr Bigger
19
Years of Service
User Offline
Joined: 31st Jan 2005
Location: was here!
Posted: 13th Sep 2006 22:04
Quote: "no-one has given you a simple straightforward answer"

Add a light.



AMD 2600+/1GB DDR ram/GeForce 6600oc 256MB/W2KPro/DBPro 6.2
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 13th Sep 2006 23:28
Thanks. That is exactly the sort of simple answer that is needed!

Next two questions:

1. Why doesn't it tell you this in the "Help" file?

2. Why doesn't it work for light 0 (which is already present)?

[And, of course, a third question: How did you find out? Guesswork?]
Mr Bigger
19
Years of Service
User Offline
Joined: 31st Jan 2005
Location: was here!
Posted: 14th Sep 2006 00:31 Edited at: 14th Sep 2006 00:34
@GG-
Quote: "Why doesn't it tell you this in the "Help" file?"


I can't answer that question.

Quote: "Why doesn't it work for light 0 (which is already present)?"


It will if you want to change light zero to a point light.

Quote: "How did you find out? Guesswork?"


Can't remember.Probably.

I believe it was during the release candidates that the lighting system changed.Something about DirectX.Questions were posed then and not answered sufficiently.Wheather or not this is a bug i do not know but i do know that specular does not work with directional lights.

AMD 2600+/1GB DDR ram/GeForce 6600oc 256MB/W2KPro/DBPro 6.2
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 14th Sep 2006 14:52
Thanks for the further explanation. Hopefully the new Help files will explain all this. There doesn't seem to be any good reason why directional lights don't give a specular relection - sounds like a bug to me.

P.S. Talking of new help files, where are they?
SirFire
19
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 15th Sep 2006 00:52
Quote: "P.S. Talking of new help files, where are they?"


You must be new here

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 15th Sep 2006 01:23
And you are even newer judging by the available evidence
SirFire
19
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 15th Sep 2006 05:14
I wasn't trying to say you're new, it means something else.

(perhaps my sarcasm is regional)

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 19th Sep 2006 02:48
I doubt it
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 19th Sep 2006 05:25
Good question... where are the new help files. We were promised they would be here months ago.

Sometimes the only way over a wall is to pile up enough bodies to climb over - Dave W.
Bmad6
18
Years of Service
User Offline
Joined: 25th Aug 2005
Location: Virginia, United States
Posted: 20th Sep 2006 00:21
They keep promising, but they're never gonna deliver. I gave up a while ago - now, whenever I find a thread like this, with something that should be in the help, I add it to a text file on my hd, for reference purposes.

Maybe someone in the community should just make a new set of help files themselves.

Windows XP Home Edition SP2, Intel Celeron 2.4 GHz Processor, 768 MB of RAM, 1024x768 Screen Resolution, NVidia 256MB FX5200 GPU
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 20th Sep 2006 01:06
Quote: "They keep promising"


Which reminds me - I haven't yet replied to your questions about FX files. You haven't been forgotten ...

Quote: "whenever I find a thread like this, with something that should be in the help, I add it to a text file on my hd, for reference purposes"


That is very good advice.
thedubdude
20
Years of Service
User Offline
Joined: 24th May 2003
Location: San Jose, Ca.
Posted: 16th May 2008 07:59
I just figured out that LOW SPECULAR POWER has a larger specular effect than higher specular power. You want lots of specular do the following:


set object specular power cur_obj,0

If I use any power greater than 1 I see no specular effect at all !
calcyman
16
Years of Service
User Offline
Joined: 31st Aug 2007
Location: The Uncertainty Principle
Posted: 16th May 2008 21:45
Quote: "I wasn't trying to say you're new, it means something else.

(perhaps my sarcasm is regional)"


Explain.

The optomist's right, The pessimist's right.
Mr Tank
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 21st May 2008 19:55
It does seem bizarre that there is no specular for directional lights. I fudged a solution. It seems that the lighting from a point light does drop with distance, but, near to the light, it is constant.

Therefore, to simulate a directional light, i put a point light a LONG way away (in the direction required), and make the light range significantly bigger than this. About 10x seems to work.

So, assuming you had a world, or scene that was, say 100 units across, centred at the origin, instead of using



instead use



SUPER BADASS SPACESHIP X: WEBSITE
FORUM TOPIC

Login to post a reply

Server time is: 2024-05-19 04:07:58
Your offset time is: 2024-05-19 04:07:58