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

Remove ImmediateRenderObject. #22643

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Remove ImmediateRenderObject. #22643

merged 1 commit into from
Oct 5, 2021

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 5, 2021

Related issue: #22624 (comment)

Description

The primary intention behind this change is to simplify the renderer. Looking back, it also seems that ImmediateRenderObject was too hard to use and thus only poorly adapted by the user base. Overall, it seems better to guide user to the normal BufferGeometry workflows.

@mrdoob mrdoob added this to the r134 milestone Oct 5, 2021
@mrdoob mrdoob merged commit d65e0af into mrdoob:dev Oct 5, 2021
@mrdoob
Copy link
Owner

mrdoob commented Oct 5, 2021

Thanks! 🥲

@cdhuangyong
Copy link

cdhuangyong commented Jun 13, 2022

I have a usage, such as rendering a vector tile, the material has stencilWrite: true , and I need to update the position in onBeforeRender, and I don't want to create too many buffers, ImmediateRenderObject can help me, but it is deleted now, do I have any other solutions?

@mrdoob
Copy link
Owner

mrdoob commented Jun 13, 2022

@cdhuangyong Could you elaborate a bit more?

@cdhuangyong
Copy link

Because there is a lot of code, I just briefly describe the logic of the code. Sorry, I haven't been able to provide a working demo yet. If I don't consider performance issues, I can use other ways to render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants