Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,184 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: Unlit [Re: Gafgar] #59485
12/01/05 10:58
12/01/05 10:58
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, this manual description is correct. However I suggest that you read the much more detailed description of entity lighting in the 'Lighting Engine' chapter of the new manual. It's for download on the manual forum. Of course, the lighting formula is for A6. If you're using A5 or A5 mode, you can not do much about the lighting.

I'm moving this thread now as it becomes unsuited for the 'Ask Conitec' forum.

Re: Unlit [Re: Gafgar] #59486
12/01/05 21:20
12/01/05 21:20
Joined: Aug 2003
Posts: 275
Germany
kopitzki Offline
Member
kopitzki  Offline
Member

Joined: Aug 2003
Posts: 275
Germany
I think you want to make do without materials. Anyhow, have a try on them and modify:


material mat_test
{ ambient_red = 255;
ambient_green = 255;
ambient_blue = 255;

diffuse_red = 0;
diffuse_green = 0;
diffuse_blue = 0;
specular_red=0;
specular_green=0;
specular_blue=0;
albedo=0;
power = 10;
}

ACTION leafaction
{
//...
my.material=mat_test;

}

Re: Unlit [Re: jcl] #59487
12/02/05 20:42
12/02/05 20:42
Joined: Jan 2005
Posts: 567
Sweden
Gafgar Offline OP
Developer
Gafgar  Offline OP
Developer

Joined: Jan 2005
Posts: 567
Sweden
Quote:

Yes, this manual description is correct. However I suggest that you read the much more detailed description of entity lighting in the 'Lighting Engine' chapter of the new manual. It's for download on the manual forum. Of course, the lighting formula is for A6. If you're using A5 or A5 mode, you can not do much about the lighting.

I'm moving this thread now as it becomes unsuited for the 'Ask Conitec' forum.




Well i am using A6 lights... but i will reed the new manual... but some things that was in the old one that i tuck up does not seems to be quiet right?...

Well move it as you like.. But i thought that it was something that was not like it stood in the manual that why i chose the 'Ask Conitec' to see if it was something wrong or if it just where the manual telling me wrong things. or i just reading bad... but i know I am not that bad on reading English so then it must be written in a way that may be misunderstood... or something.


__________________________________________________ / Gafgar The Goblin... http://www.Goblinsoftware.tk/
Re: Unlit [Re: kopitzki] #59488
12/02/05 20:44
12/02/05 20:44
Joined: Jan 2005
Posts: 567
Sweden
Gafgar Offline OP
Developer
Gafgar  Offline OP
Developer

Joined: Jan 2005
Posts: 567
Sweden
i will try materials later one last time... but i will be rally surprised if it works


__________________________________________________ / Gafgar The Goblin... http://www.Goblinsoftware.tk/
Re: Unlit [Re: Gafgar] #59489
12/03/05 18:18
12/03/05 18:18
Joined: Oct 2004
Posts: 1,068
J
Jamie_Lynn Offline
Senior Developer
Jamie_Lynn  Offline
Senior Developer
J

Joined: Oct 2004
Posts: 1,068
Can you let me know your test results? I am struggling with this exact problem but I am just starting to look at it ... so you are ahead of me in resolving it. I would really appreciate knowing how and if you got it working.

Edit:
Oops - disregard. I just tried the material definition kopitzki posted above and it worked perfectly.
THANKS kopitzi!

Last edited by Jamie_Lynn; 12/03/05 18:42.
Re: Unlit [Re: Jamie_Lynn] #59490
12/07/05 12:17
12/07/05 12:17
Joined: Oct 2004
Posts: 1,068
J
Jamie_Lynn Offline
Senior Developer
Jamie_Lynn  Offline
Senior Developer
J

Joined: Oct 2004
Posts: 1,068
Don't know how you are progressing - but I found I only had trouble with lighting when placing something like a map entity down on floor tiles which where fully lit. If I did then definately a material definitions was required to correct the lighting (with the ambient settings way down).

Here is a shot of some map entities that are correctly lit without setting the unlit flag or defining a material. There are no blocks beneath these entities so no adjustments to the map entities were required. (The red indicates some missing floor shadows I now have to fix). The ambient values have been decreased for the sprites and models. They also are not using any material defs.



Page 3 of 3 1 2 3

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1