Jump to content


Photo

2.06 Lighting Bug?


  • Please log in to reply
7 replies to this topic

#1 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 12701 posts

Posted 13 October 2018 - 08:39 AM

I just spotted this when working with 2.06 ...

 

Attached File  light.jpg   438.83KB   0 downloads

 

The candle is inside the front face of the window frame, and it's only lighting up a portion of the upper inside curved patch of the frame.

 

It should be lighting up the entire patch.

 

Has anyone seen this behavior?

 

I tried switching the stone texture to a wood texture, but the results were the same.

 

Thanks.



#2 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20223 posts

Posted 13 October 2018 - 08:43 AM

Yes, but normally only after I have done a model export in DR. Is the above image a model or just a brush & patch based FS..?

 

If it is an exported model, was it .LWO, if so export .ASE and see if that makes a difference.


Edited by Bikerdude, 13 October 2018 - 08:44 AM.


#3 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 12701 posts

Posted 13 October 2018 - 08:46 AM

Brush and patch.

 

If I move the candle to the outside of the frame and light the upper exterior frame patch, it lights correctly.

 

The problem is only with the inner patch.



#4 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 12701 posts

Posted 13 October 2018 - 10:04 AM

I converted the brush and patch entity to an *.lwo model and the model works correctly.

 

Still, the brush and patch should have worked.

 

Attached File  light2.jpg   392.27KB   0 downloads



#5 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 37406 posts

Posted 13 October 2018 - 10:34 AM

There have been some problems with curved patch behavior lately.  Converting it to a model usually gets around the problem, but I don't think the cause has been identified.


TDM Missions:   A Score to Settle   *   A Reputation to Uphold   *   A New Job   *    A Matter of Hours
 
Video Series:   Springheel's Modules   *   Speedbuild Challenge   *   New Mappers Workshop  *   Building Traps

#6 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20223 posts

Posted 13 October 2018 - 10:46 AM

I converted the brush and patch entity to an *.lwo model and the model works correctly.

just a heads up on exporting to .LWO in DR, I have found that any existing round or cylindrical models that were .LWO or .ASE, that exported as .LWO loose thier smooth vertices shading.



#7 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1707 posts

Posted 13 October 2018 - 01:08 PM

I would suspect broken normals.


  • HMart likes this

#8 rich_is_bored

rich_is_bored

    Advanced Member

  • Member
  • PipPipPip
  • 884 posts

Posted 13 October 2018 - 03:42 PM

I agree. Compare the patch to the model using r_showNormals.


  • HMart likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users