Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Updates Delay causes Render to Texture Asset misalignment #942

Open
code807 opened this issue Dec 20, 2023 · 4 comments
Open

Using Updates Delay causes Render to Texture Asset misalignment #942

code807 opened this issue Dec 20, 2023 · 4 comments
Labels
bug Something isn't working as intended. triaged This issue has been assessed

Comments

@code807
Copy link

code807 commented Dec 20, 2023

Describe the bug?

When using a Render to Texture Asset node after an Updates Delay, movement during capture can cause a rendering offset even if the object rendered and the camera are on the same slot. Capturing using the same camera without the Updates Delay node does not exhibit the same behavior.

To Reproduce

  • Spawn the object in this folder: resrec:///G-Bright-Spark/R-E1D8BCD172C880F09A2BB19EDE72D9DB658A07EFF40CA09B5001D32F2ED14021
  • Press the button to capture two images, one following Updates Delay and one immediate
  • Protoflux is included and unpacked to clarify the procedure used

Expected behavior

The image should be captured with no skew or offset due to movement if the camera and renderers are on the same slot.

Screenshots

Resonite_mKpqbXd4ft

Resonite Version Number

2023.12.15.22

What Platforms does this occur on?

Windows

What headset if any do you use?

No response

Log Files

DESKTOP-1E2V3A8 - 2023.12.15.22 - 2023-12-19 22_52_30.log

Additional Context

No response

Reporters

code807
LuxKitty
Nytra

@code807 code807 added the bug Something isn't working as intended. label Dec 20, 2023
@code807
Copy link
Author

code807 commented Dec 20, 2023

Possibly related to #151

@shiftyscales

This comment was marked as outdated.

@shiftyscales shiftyscales added enhancement Suggested addition of a new feature. and removed bug Something isn't working as intended. labels Jan 30, 2024
@shiftyscales shiftyscales removed their assignment Jan 30, 2024
@shiftyscales shiftyscales added triaged This issue has been assessed bug Something isn't working as intended. and removed enhancement Suggested addition of a new feature. labels Jan 30, 2024
@shiftyscales
Copy link
Collaborator

Based on feedback from Frooxius in #151 this likely is a bug. I believe it is the same underlying issue still, however.

@shiftyscales
Copy link
Collaborator

This is definitely a bug, there's no functional/intentional reason to have meshes lag like this and produce inconsistent results.

I've actually looked into this in the past and tried to schedule the rendering to happen at the moment with everything else, to ensure this won't happen, but it didn't help. It is a bit odd, because it should be submitting the rendering at the same time when all meshes were already updated.

I think I have a hunch on what would help fix this though and might need to update where the rendering happens. But we might also need to force the skinned mesh recalculation to happen for these renders, which might trigger more instances of crashes. I can have a look at some point regardless though and see what could help it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended. triaged This issue has been assessed
Projects
None yet
Development

No branches or pull requests

2 participants