Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

145
Views
Problemas de generación de terreno de Three.js y Perlin.js

Tengo problemas con mi generación de terreno de ruido perlin en javascript. Todas las colinas apuntan en una dirección.

Otro problema que tengo es que en diagonal a través del medio de mi mapa mi terreno se arruina.

https://i.stack.imgur.com/YPLSz.png

Aquí está mi código:

 //Generate terrain var xoff = 0; var zoff = 0; var inc = 0.005; var amplitude = 100; for (var x = 0; x <= worldDiameter+1; x++) { xoff = 0; for (var z = 0; z <= worldDiameter+1; z++) { var heightValue = (noise.perlin2(xoff, zoff) * amplitude); mapGeometry.attributes.position.setZ(z*worldDiameter+x, heightValue); xoff = xoff + inc; } zoff = zoff + inc; }```
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!