Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9002629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:35:47+00:00 2026-06-16T00:35:47+00:00

My code manage thousand of particles. These particles can have different textures and these

  • 0

My code manage thousand of particles. These particles can have different textures and these textures can change over the time. So I haven’t used the particles system so far. I just add the mesh one by one in the scene.

Now come the time of the optimization, the application run slowly on old computers. The performance tool show that the task that take the most of the CPU is the Three.js render method. I wonder if I should change the structure of the code to switch to a particle system.

Will the difference be spectacular?
What optimization does a particle system compared to a independent mesh management?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:35:48+00:00Added an answer on June 16, 2026 at 12:35 am

    Without additional materials it’s hard to say, but if you look in the Three.js code you’ll see how particles there are managed.

    If you are switching textures per-particle, that can be a real performance killer. Try to sort the particles by texture, so that you are switching it only once per group of particles, rather than once per particle.

    This may be impractical if you are depth-sorting the particles, but… I don’t know what you’re trying to do. If this is the case, and if you are only using a small # of different textures, consider putting them all together into an “atlas” and then just pass the UV-map offsets into each particle, rather than swapping samplers around. This will also be cheaper.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code: $(document).ready(function() { // Manage sidebar category display jQuery(#categories >
Background: We have a TFS server setup where me manage our source code and
i have this skratch of code that manage the user session: if IsObject(Session(operator)) then
I have just downloaded subtext 2.5 source code and manage to run it on
I have the following code to manage two kinds of repositories. Both repository classes
I am trying to install VisualSVN to manage my code with other users. In
On my site I use require.js to manage my code, on the main page
I'm wondering if there's a way to manage VBA code authored in Excel 2007
I manage a rather large application (50k+ lines of code) by myself, and it
I have the following code: if ( (isset($_GET['slAction'])) && ($_GET['slAction'] == manage_label) ) {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.