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
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
lighting problems on models #155560
09/20/07 03:35
09/20/07 03:35
Joined: Sep 2005
Posts: 29
C
camelot22020 Offline OP
Newbie
camelot22020  Offline OP
Newbie
C

Joined: Sep 2005
Posts: 29
This may be a silly question, I made just a simple box in MED, but in WED when i run the level the box model seems to be ignoring the lighting, so the box is brightly and evenly illuminated and yet the level geometry blocks behind it and around it are shadowed and lit by the lights.... any ideas why? Thanks!

Re: lighting problems on models [Re: camelot22020] #155561
09/20/07 13:31
09/20/07 13:31
Joined: Aug 2006
Posts: 152
vector(200,45,338)
Marwan Offline
Member
Marwan  Offline
Member

Joined: Aug 2006
Posts: 152
vector(200,45,338)
which gamestudio version you have?


age:16 game design and programming experience:2 years
Re: lighting problems on models [Re: Marwan] #155562
09/20/07 15:54
09/20/07 15:54
Joined: Sep 2005
Posts: 29
C
camelot22020 Offline OP
Newbie
camelot22020  Offline OP
Newbie
C

Joined: Sep 2005
Posts: 29
i'm using 6.50. actually i sort of figured part of it out. In Med the origin wasn't in the center of the model, that seemed to fix it. there's still a problem though. Now that I moved the origin, the model is (for instance) lit by the blue light that's in the level, BUT... it's evenly lit, so I lined up 6 of the boxes touching each other down a hallway and the one farthest from the light is dark, and each one getting closer gets brighter. it's even though, it's not a gradual change (if that makes sense). I guess I don't understand how the lighting is applied to the models. do i need maybe more polygons on the flat surfaces so the lighting can get re-applied to each polygon, thus creating a gradual change in brightness across the model? Thanks

Re: lighting problems on models [Re: camelot22020] #155563
09/20/07 21:17
09/20/07 21:17
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
Quote:

This may be a silly question, I made just a simple box in MED, but in WED when i run the level the box model seems to be ignoring the lighting, so the box is brightly and evenly illuminated and yet the level geometry blocks behind it and around it are shadowed and lit by the lights.... any ideas why? Thanks!




Have you used skin?


Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: lighting problems on models [Re: cro_games] #155564
09/20/07 22:15
09/20/07 22:15
Joined: Sep 2005
Posts: 29
C
camelot22020 Offline OP
Newbie
camelot22020  Offline OP
Newbie
C

Joined: Sep 2005
Posts: 29
I'm using xXxGuitar511's normal mapping shader on the box models. for some reason though, even though they're behaving almost correctly, they are lit by the lights and everything, there is a visible seam when they are placed next to each other, like each one has a uniform brightness which is slightly different from the one before it and after it.

Re: lighting problems on models [Re: camelot22020] #155565
09/21/07 10:28
09/21/07 10:28
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
Send that level in zip to me so i can see the problem.
info@cro-games.com

Last edited by cro_games; 09/21/07 18:34.

Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: lighting problems on models [Re: cro_games] #155566
09/21/07 18:11
09/21/07 18:11
Joined: Feb 2003
Posts: 211
Unna
F
Freddy_dup1 Offline
Member
Freddy_dup1  Offline
Member
F

Joined: Feb 2003
Posts: 211
Unna
Hi,
What kind of lights are you using?
If you want to see the Model like it looks in the MED-Preview
you have to use dynamic lights.
Setting the dynamic flag in the light properties won`t help.
The lights must be set by script.

Last edited by Freddy; 09/21/07 18:13.

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