project-navigation
Personal tools

Author Topic: Bug, feature, or careless user?  (Read 4566 times)

Offline Latino210

  • Squad Leader
  • ****
  • Posts: 161
  • UFORadiant mapper
    • View Profile
Bug, feature, or careless user?
« on: October 07, 2012, 01:24:39 pm »
Hi, guys

I am experimenting with a map with a lot of light sources and I am having a little problem: it seems that the lights are projecting shadows through the floor, making weird shadows underground. Is this a bug, an undocumented feature, or one of the many mistakes of yours truly?

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Bug, feature, or careless user?
« Reply #1 on: October 07, 2012, 02:00:54 pm »
I think ShipIt knows all about this one, much to his regret.

Offline Latino210

  • Squad Leader
  • ****
  • Posts: 161
  • UFORadiant mapper
    • View Profile
Re: Bug, feature, or careless user?
« Reply #2 on: October 07, 2012, 03:11:02 pm »
I think ShipIt knows all about this one, much to his regret.

Let me guess, old bug? By the way, I have put about 12 light sources in a map tile by using "light" on the surface panel, but the ufo2map tells me "100 light sources" and takes about 40 seconds to process the map. Is it normal? Is it acceptable?

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Bug, feature, or careless user?
« Reply #3 on: October 07, 2012, 03:54:14 pm »
Yes. The game can generate more than one light for a single surface.

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: Bug, feature, or careless user?
« Reply #4 on: October 07, 2012, 05:18:40 pm »
Hi, guys

I am experimenting with a map with a lot of light sources and I am having a little problem: it seems that the lights are projecting shadows through the floor, making weird shadows underground. Is this a bug, an undocumented feature, or one of the many mistakes of yours truly?

Yes.

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Bug, feature, or careless user?
« Reply #5 on: October 07, 2012, 07:17:48 pm »
Sometimes shadowcasting works wrong in the lightmap compiler. No remedy is known so far and even the cause of it is not discovered yet.

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: Bug, feature, or careless user?
« Reply #6 on: October 10, 2012, 06:33:42 am »
Yes.

Somehow I missed to add the link here. You can work around this by removing the func_doors from the map. This is also recommend because the AI seems to have problems with them.