Skip to content

Pixel Density applied to all renderers (PGraphics) #1325

@trackme518

Description

@trackme518

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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions