Giter Site home page Giter Site logo

Comments (18)

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024 3

Should be fixed now.

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

What do you mean by "Light"?
Currently any framebuffer effects like blur, menu backgrounds, cloaking and light halos don't work.

from perfect_dark.

 avatar commented on September 16, 2024

Light could mean either the lighting lens flares not working, or models being full bright.

from perfect_dark.

jonaeru avatar jonaeru commented on September 16, 2024

What do you mean by "Light"?

It mean light halos.

Currently any framebuffer effects like blur, menu backgrounds, cloaking and light halos don't work.

I understood. Thank you.

from perfect_dark.

jonaeru avatar jonaeru commented on September 16, 2024

I have checked that some of the graphics have been fixed. Thank you.
I tested this build. https://github.com/fgsfdsfgs/perfect_dark/actions/runs/5987730156
Video: https://youtu.be/-6w_LLtTLf0

OK:

  • Night Vision
  • Menu Background
  • Light Halo
  • Highlight (Pickups, Players, Teams)
  • Mauler (charge-up shot)

Not OK:

  • CamSpy (The screen is fine, but not enough distortion)
  • IR Scanner
  • Horizon Scanner
  • Infiltration Intro cutscene
  • Blur
  • Slayer (fly-by-wire rocket)

from perfect_dark.

jonaeru avatar jonaeru commented on September 16, 2024

I have checked that some of the graphics have been fixed. Thank you.
I made a comparison with the N64 console.
Build: https://github.com/fgsfdsfgs/perfect_dark/actions/runs/6216037392 (31bb7c6)
Video: https://youtu.be/lB6ayFnRnVA

List

OK:

  • Menu Background
  • Light Halo
  • Rain
  • Snow
  • Infiltration intro
  • Gas
  • Cloaking
  • Highlight (Pickups, Players, Teams)
  • Night Vision
  • X-Ray Scanner
  • IR Scanner
  • Mauler (charge-up shot)
  • FarSight XR-20
  • Slayer (fly-by-wire rocket)
  • Screen Shake

Mostly OK (some problems):

Not OK:

  • Blur
  • Horizon Scanner
  • Attack Ship Barrier
  • Skedar Ruins Bridge
  • Autogun (Investigation, Crash Site)

Sky

Sunlight penetrating

PC Port

Sky(PC)

N64 Console

Sky(N64)

CamSpy

The screen is fine, but not enough distortion

PC Port

CamSpy(PC)

N64 Console

CamSpy(N64)

Attack Ship Barrier

PC Port

Attack_Ship_Barrier(PC)

N64 Console

Attack_Ship_Barrier(N64)

Skedar Ruins Bridge

PC Port

Skedar_Ruins_Bridge1(PC)
Skedar_Ruins_Bridge2(PC)

N64 Console

Skedar_Ruins_Bridge1(N64)
Skedar_Ruins_Bridge2(N64)

Autogun (Investigation, Crash Site)

PC Port

Autogun(Investigation)(PC)
Autogun(CrashSite)(PC)

N64 Console

Autogun(Investigation)(N64)
Autogun(CrashSite)(N64)

from perfect_dark.

 avatar commented on September 16, 2024

The bridge isn't red anymore and turret colors are fixed. Though the textures are still kind of messed up, I wonder how the n64 handles texture mirroring. Maybe it's some kind of minor difference with fast3d vs whatever perfect dark is using

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

Mirroring is handled correctly for at least some textures. I am not sure why it isn't handled correctly in some cases.

from perfect_dark.

 avatar commented on September 16, 2024

Would something like gl_mirrored_repeat fix it or am I completely wrong? I think this is the crossbow texture

image

But yeah that still wouldn't explain why it happens either

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

No, what I mean is it is supposed to set GL_MIRRORED_REPEAT or GL_MIRROR_CLAMP_TO_EDGE there, but it doesn't for some reason.

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

Motion blur, combat boost blur and fisheye effect on the eyespy should now be in. Some of the textures above were also fixed in a recent PR.

from perfect_dark.

jonaeru avatar jonaeru commented on September 16, 2024

Thank you. I made a comparison with the N64 console.
Build: https://github.com/fgsfdsfgs/perfect_dark/actions/runs/6539395852 (1eb1e96)
Video: https://youtu.be/81JJ8mkjtjo

List

OK:

  • Menu Background
  • Light Halo
  • Rain
  • Snow
  • Infiltration intro
  • Gas
  • Motion Blur
  • Cloaking
  • Highlight (Pickups, Players, Teams)
  • Night Vision
  • X-Ray Scanner
  • IR Scanner
  • Mauler (charge-up shot)
  • FarSight XR-20
  • Slayer (fly-by-wire rocket)
  • Screen Shake
  • Autogun (Investigation, Crash Site)

Mostly OK (some problems):

Not OK:

  • Horizon Scanner
  • Attack Ship Barrier

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

Thank you for the detailed report.
The bridge issue looks to be the result of a wrong alpha blending mode + some transparent surface sorting issues. Perhaps it's actually supposed to have depth buffering enabled but it doesn't, or something similar to that.
I have no clue why the ceiling disappears though. Maybe the camspy almost clips through it when you go all the way up, but due to floating point error it appears to the clipping code as if it is through it, so the ceiling stops rendering.

UPD: Horizon scanner effect is now implemented. Also fixed a bug that made you autoturn when you had it out.

from perfect_dark.

jonaeru avatar jonaeru commented on September 16, 2024

Thank you. Horizon scanner effect seems fine.

image

from perfect_dark.

pHANTOMpHREAK9P avatar pHANTOMpHREAK9P commented on September 16, 2024

Screenshot 2023-10-21 031140
Screenshot 2023-10-21 031035
Screenshot 2023-10-21 031055

Certain textures (and some planes that are not visible textures in the vent corners) will appear as a blue texture during the CamSpy tutorial section in the Carrington Institute. This problem did not exist before the proper fish eye lens effect that was recently applied.

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

Upon looking into this some more, the bullet hole thing isn't mirroring related. The full bullet hole texture actually has both halves in it:
image
This is in fact an issue with the renderer not handling texture LODs correctly.

from perfect_dark.

jonaeru avatar jonaeru commented on September 16, 2024

Build: https://github.com/fgsfdsfgs/perfect_dark/actions/runs/7117212181 (aeb6851)

Mostly OK (some problems):

  • Sky (Sunlight penetrating)

Not fixed
image

Not fixed

Probably OK
image

OK
image
image

Not OK:

  • Horizon Scanner

OK
image

  • Attack Ship Barrier

OK
image

from perfect_dark.

fgsfdsfgs avatar fgsfdsfgs commented on September 16, 2024

The light glares have been improved somewhat in 15c0327. They're still not 100% accurate to N64.

from perfect_dark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.