Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Wrapping draw code is inconsistent

Aberta
#180 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
cpp
Domínio
game-dev

Direção de pesquisa

Start by mapping the separate wrapping paths named in the issue: terrain objects, primitives, SceneEditors, and GUIs/HUD; the payload does not identify files or tests. The proposed direction is to move wrapping out of individual draw code and tile the scene into the screen; determine which draw paths need to change and how to verify wrapped edges and very small scenes.

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

Descrição

bug

Pretty much all uses of wrapping code are different and also mostly broken in a number of different places:

  1. Terrain objects don't wrap across xy wrapped corners (inconsistently as well between objects, some miss one corner, sometimes there's just one corner), and sometimes don't wrap on y wrapping edges
  2. Nothing behaves correctly on very small scenes (MOs draw at most 3 times, though sometimes 4, primitives draw at most 2 times)
  3. Primitives wrapping is just a menace (fixed in gpu-primitives)
  4. SceneEditors also implement their own thing, that doesn't wrap y, and definitely not xy
  5. GUIs/HUD don't wrap at all mostly (it's a miracle they work across seams at all)

Proposing to just not handle wrapping in the individual draw code at all and instead just calling draws as many times as needed to tile the scene into the screen, meaning things just draw at their scene coordinates (prevents overdraw on seams)

Linguagem predominante
C++
Estrelas
329
Forks
47
Merge médio
6d 10h
PRs com merge (30d)
14

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cortex-command-community/Cortex-Command-Community-Project

Todas as issues de cortex-command-community/Cortex-Command-Community-Project

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

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