1 registered members (AndrewAMD),
1,377
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Missing dynamic light on model
#233832
10/30/08 21:05
10/30/08 21:05
|
Joined: Aug 2005
Posts: 119 Madison, WI
JakeL
OP
Member
|
OP
Member
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
Expert
|
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
Expert
|
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
JakeL
OP
Member
|
OP
Member
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
|
Fear411
Unregistered
|
Fear411
Unregistered
|
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
Expert
|
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 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 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
JakeL
OP
Member
|
OP
Member
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
JakeL
OP
Member
|
OP
Member
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
JakeL
OP
Member
|
OP
Member
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
Expert
|
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
|
|
|
|