Author Topic: Mirror becomes to black in BFG after bsp'ed with D3  (Read 203 times)

0 Members and 1 Guest are viewing this topic.

bitterman

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Mirror becomes to black in BFG after bsp'ed with D3
« on: March 20, 2018, 01:02:30 AM »
There is a room with mirror.

That's going on:

- open in BFG. Mirror is fine.
- copy map's files into D3 mod folder. Don't change anything.
- in D3 type in console: editor -> open map -> bsp.
- copy map's files into BFG mod folder.
- remove 'generated' from BFG mod folder and load the map. The mirror is black.

'Dmap' does same thing.

What can I do?

Thanks.

« Last Edit: March 20, 2018, 06:42:00 AM by bitterman »

Snehk

  • Newbie
  • *
  • Posts: 49
  • Karma: +6/-0
  • Doom Newbie
    • View Profile
Re: Mirror becomes to black in BFG after bsp'ed with D3
« Reply #1 on: March 20, 2018, 11:59:43 AM »
Check the material. BFG uses glsl shaders while GPL uses ARB. Changing the material might fix it.

bitterman

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Mirror becomes to black in BFG after bsp'ed with D3
« Reply #2 on: March 20, 2018, 12:08:54 PM »
Thanks.

This is the differences before and after BSP (see pic).

If it changed then result is vary.

Is there a .proc format description?

*************** upd

https://modwiki.xnet.fi/PROC_%28file_format%29

Quote
An index is simply an unsigned integer. Every index indicates a vertex in the surface’s vertex list. Since all vertexdata is rendered as a list of triangles three indices build a triangle.

Not sure where it is but looks like problem in .proc.
When I return back old .proc then it works. Don't know how old .proc was compiled before.
« Last Edit: March 20, 2018, 12:33:07 PM by bitterman »

bitterman

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Mirror becomes to black in BFG after bsp'ed with D3
« Reply #3 on: March 20, 2018, 10:03:20 PM »
dmap from RBDoom works as expected with mirror.


motorsep

  • Hero Member
  • *****
  • Posts: 1,001
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: Mirror becomes to black in BFG after bsp'ed with D3
« Reply #4 on: March 20, 2018, 10:13:27 PM »
dmap from RBDoom works as expected with mirror.

So what's the issue then?

bitterman

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Mirror becomes to black in BFG after bsp'ed with D3
« Reply #5 on: March 21, 2018, 06:59:03 AM »
Don't use a mirror ;)

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 904
  • Karma: +43/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: Mirror becomes to black in BFG after bsp'ed with D3
« Reply #6 on: March 22, 2018, 02:11:47 PM »
If d3 and d3bfg have different mirror texture names that would explain it.  Since you are not copying anything besides map files that rules out the shaders.