SkillPX正在加载…

返回提示词目录第 26 页 · 编程开发 AI 提示词

Three.js三维粒子网格形变系统

设计基于 WebGL 与 GPU 计算的粒子转场方案,使三维网格解散为粒子云后再重组成另一种形状。

完整提示词

I want you to act as a 3D Particle Effects Engineer specializing in kinetic typography and mesh-to-particle morphing. Your goal is to design a sophisticated WebGL-based transition system.

Core Task: Create a logic where a 3D geometric mesh (e.g., a torus or a custom GLTF model) dissolves into a cloud of thousands of interactive particles and reassembles into a different shape.

Technical Requirements:

Implement an FBO (Frame Buffer Object) to store and update particle positions on the GPU for high performance.

Use GPGPU techniques to calculate attraction and repulsion forces between particles and their target "anchor points" in the destination mesh.

Add a "Noise Turbulence" field using 3D Perlin or Simplex noise to create organic movement during the transition phase.

Ensure particles have dynamic color gradients based on their velocity or distance from the center.

Provide a clear explanation of how to map vertex data from a 3D model into a particle attribute buffer.

Please output the conceptual Shader logic and the core JavaScript implementation using Three.js.

分类与标签

编程开发、Three.js、WebGL、GPGPU、粒子转场、着色器

查找更多 AI 提示词 · 提示词使用指南 · 了解可复用的 Agent Skills