Skip to content

feat: adapt code and playgrounds to latest changes on ecosystem #207

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alvarosabu
Copy link
Member

  • Updated @tresjs/cientos and @tresjs/core to version 5.0.0-next.2 and 5.0.0-next.3 respectively in package.json and pnpm-lock.yaml.
  • Refactored GLTF model loading in BlenderCube.vue and Ducky.vue to use state instead of scene for better reactivity.
  • Removed unnecessary Suspense components in DepthOfFieldDemo.vue and DotScreenDemo.vue for improved performance.
  • Updated ESLint auto-imports and components.d.ts for better type support.
  • Cleaned up unused package.json file in playground/public/nuxt-stones.

- Updated @Tresjs/cientos and @Tresjs/core to version 5.0.0-next.2 and 5.0.0-next.3 respectively in package.json and pnpm-lock.yaml.
- Refactored GLTF model loading in BlenderCube.vue and Ducky.vue to use state instead of scene for better reactivity.
- Removed unnecessary Suspense components in DepthOfFieldDemo.vue and DotScreenDemo.vue for improved performance.
- Updated ESLint auto-imports and components.d.ts for better type support.
- Cleaned up unused package.json file in playground/public/nuxt-stones.
- Cleaned up the imports in BlenderCube.vue by removing the unused watchEffect import, improving code clarity and maintainability.
Copy link

pkg-pr-new bot commented Jun 15, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@tresjs/post-processing@207

commit: 5bd4372

- Upgraded @Tresjs/core in package.json and playground/package.json to version 5.0.0-next.5 for improved functionality and compatibility.
- Updated pnpm-lock.yaml to reflect the new version of @Tresjs/core and its dependencies.
- Refactored render logic in EffectComposerPmndrs.vue and EffectComposer.vue to utilize notifySuccess callback for better rendering control.
Copy link
Contributor

@Tinoooo Tinoooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I provided an MR that addresses the comments I made.

* refactor: streamline rendering logic in effect processors

* chore: update dependencies and improve rendering logic in on-demand playground example
@Tinoooo Tinoooo assigned Tinoooo and alvarosabu and unassigned Tinoooo Jun 22, 2025
- Eliminated the onControlChange function as it was no longer necessary, simplifying the component's logic.
- Updated OrbitControls to remove the change event listener, streamlining the rendering process.
- Upgraded @Tresjs/core in package.json and playground/package.json to version 5.0.0-next.6 for enhanced features and stability.
- Updated pnpm-lock.yaml to reflect the new version and its dependencies, ensuring compatibility across the project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants