07th-mod / 07th-mod/higurashi-assembly

Slight black border on left and right hand sides of the screen

Aberta
#64 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C#
Estrelas
12
Forks
12
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Our mod has always had these 1-2 pixel borders on the left and right hand sides of the screen. Normally it's hard to see because it's black, but in certain cases, like a black image which is meant to cover a CG, it can result in the CG showing where the borders would be. Users usually report this happening on Onikakushi as it's the first time they see the graphical glitch.

The unmodded game does not have this issue.

@tellowkrinkle suggested it was a rounding issue, I'll look into that first when I (eventually) have a look at the issue:

> Probably a rounding issue somewhere
> I bet we (int) things, and with floating point error it might go over or under the target, causing - 1 pixel vs not - 1 pixel
> Try setting the aspect ratio to 0.65251 or something and see if that fixes it

modded:
![image](https://user-images.githubusercontent.com/1249449/113113730-5670ae00-9256-11eb-9f59-fe17b48bad65.png)

unmodded:
![image](https://user-images.githubusercontent.com/1249449/113113714-52dd2700-9256-11eb-8e30-ea71dfd20f4e.png)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Procure por cálculos de proporção de tela ou coordenadas de tela na base de código, provavelmente na renderização ou configuração do viewport. O problema menciona um erro de arredondamento ao converter floats para ints; procure por casts ou truncamentos de inteiros no código gráfico. Teste com a proporção de tela sugerida 0,65251 para ver se as bordas pretas desaparecem e verifique comparando a renderização modificada com a original.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
csharp
Domínio
computer-graphics, game-dev
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.