Gamestudio Links
Zorro Links
Newest Posts
blogherenowcenter
by 3s05bmmc. 06/05/24 06:08
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,377 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19057 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Missing dynamic light on model #233832
10/30/08 21:05
10/30/08 21:05
Joined: Aug 2005
Posts: 119
Madison, WI
J
JakeL Offline OP
Member
JakeL  Offline OP
Member
J

Joined: Aug 2005
Posts: 119
Madison, WI
I'm not sure where to ask this, so here it goes.

I created a model in Max and imported it into Med via FBX. Then I created a level in WED. This is what you see below.

The problem is the lighting. If I place a dynamic light near the right side of the door the light doesn’t affect the mesh. As you see can see the right most light is not lit up. A dynamic light is placed near it exactly like the working lights in the scene. I am baffled and have searched the manual and forum for hours now. Any help would be greatly appreciated.

Notes:
I don't think it is a number of lights issue. Even if the only light in the scene is the one placed on the right side the light doesn't show up.

I tried doing all sorts of scaling and manipulating of the mesh. I changed the skin size. It is a closed mesh.

If I place a different model by the unlit light, it is lit correctly.

Any one have any ideas? I have made the same scene in WED, but I wanted a model to becase it is easier to manage with the shaders I plan to apply later.




If you need graphic resources, or just want to see some of my work, check out our site AdenFall Software.
Re: Missing dynamic light on model [Re: JakeL] #233845
10/30/08 21:41
10/30/08 21:41
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Sorry for the offtopic, i don't have no idea concerning you problem. Just wanted to say your textures look very nice. Great job.


Always learn from history, to be sure you make the same mistakes again...
Re: Missing dynamic light on model [Re: Uhrwerk] #233854
10/30/08 22:40
10/30/08 22:40
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
My usual problem with this is the "default" materials the engine chooses.
Try giving the model a custom material "MyModel.material=mtl_create();"
and play with its settings, start with ambients and emissives low, diffuse medium, and specular high.

Best of luck...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Missing dynamic light on model [Re: EvilSOB] #233857
10/30/08 22:49
10/30/08 22:49
Joined: Aug 2005
Posts: 119
Madison, WI
J
JakeL Offline OP
Member
JakeL  Offline OP
Member
J

Joined: Aug 2005
Posts: 119
Madison, WI
Thanks EvilSOB. I tried playing with materials and it had no effect, so I'm still at a loss here.


If you need graphic resources, or just want to see some of my work, check out our site AdenFall Software.
Re: Missing dynamic light on model [Re: JakeL] #233859
10/30/08 22:53
10/30/08 22:53

F
Fear411
Unregistered
Fear411
Unregistered
F



do you compile you level with Lighting V2?

And try to create a block under the entity.

Re: Missing dynamic light on model [Re: ] #233868
10/30/08 23:30
10/30/08 23:30
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Sorry if I seem a bit one-track-minded, but try this.
Place the pre-tested 'other' model in as well, near the same light and compile to make sure it is being lit correctly.
Once it is, add this line somewhere
Code:
 MyModel.material = WorkingModel.material;
and see how it goes, ANY difference is worth noting.
If there is still no change, replace the above code with
Code:
 WorkingModel.material = MyModel.material;
and try again, see if the working model is still working.

Let us know both test results please...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Missing dynamic light on model [Re: EvilSOB] #233885
10/31/08 01:06
10/31/08 01:06
Joined: Aug 2005
Posts: 119
Madison, WI
J
JakeL Offline OP
Member
JakeL  Offline OP
Member
J

Joined: Aug 2005
Posts: 119
Madison, WI
Thanks again EvilSOB.

Both models have the same material already. It is a simple material that I have always used as a base to build off of. I really don't think it's a material thing. Some how ony the right portion of the model doesn't get lit. That whole wall is one model.

I tried compiling in both standard as well as v2 lighting.


If you need graphic resources, or just want to see some of my work, check out our site AdenFall Software.
Re: Missing dynamic light on model [Re: JakeL] #233886
10/31/08 01:07
10/31/08 01:07
Joined: Aug 2005
Posts: 119
Madison, WI
J
JakeL Offline OP
Member
JakeL  Offline OP
Member
J

Joined: Aug 2005
Posts: 119
Madison, WI
Forgot to say, I tried the block under the entity thing already, and it didn't work.


If you need graphic resources, or just want to see some of my work, check out our site AdenFall Software.
Re: Missing dynamic light on model [Re: JakeL] #233889
10/31/08 01:38
10/31/08 01:38
Joined: Aug 2005
Posts: 119
Madison, WI
J
JakeL Offline OP
Member
JakeL  Offline OP
Member
J

Joined: Aug 2005
Posts: 119
Madison, WI
Ok, this shot might help illustrate the problem better. Notice there obviously is a light there because of the lighting on the health station which I moved.




If you need graphic resources, or just want to see some of my work, check out our site AdenFall Software.
Re: Missing dynamic light on model [Re: JakeL] #233906
10/31/08 04:32
10/31/08 04:32
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Hmmm, tricky. . .
How about if you move the goodmodel further into the dark region, any change?
Also, have you set POLYGON ON and then run "c_setminmax(badmodel);" for the badly lit model? (sounds odd - I'll explain if it works)
Also, any possible issues with the alpha channel of the skin, or possible shader interference?
Is the badmodel a single-UV or multi-UV skinning?


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Page 1 of 2 1 2

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