processing / processing/processing4
Pixel Density applied to all renderers (PGraphics)
オープン
まだ誰も着手していません。
bug
- 主要言語
- Java
- スター
- 494
- フォーク
- 183
- 平均マージ
- 4時間 39分
- マージ済み PR(30日)
- 3
説明
Most appropriate sub-area of Processing 4?
OpenGL
Processing version
4.4.10
Operating system
Windows 11
Bug description
One can't set pixelDensity to PGraphics independant to main rednerer. This is problematic in case of sending the texture over network to other program (ie using Spout to share the PGraphics offscreen buffer).
Steps to reproduce this
- Create Prachnic
2.apply pixelDensity() to main sketch
3.pixel density gets applied to PGrahics as well and one can not set pixel density of PGrahics separately
snippet
// Paste your code below :)
void setup() {
}
void draw() {
}
Additional context
No response
Would you like to work on the issue?
I’m not sure yet
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、メインレンダラーで pixelDensity() を使用し、オフスクリーンの PGraphics を備えた OpenGL スケッチを使って、Processing 4.4.10 の Windows 11 上で問題を再現します。ピクセル密度が PGraphics にどのように伝播するかを追跡し、次に、オフスクリーンバッファーがメインレンダラーとは独立した密度を使用でき、テクスチャとして共有できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- computer-graphics
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100