Non, utilise la lib FastNoise2 (https://github.com/Auburn/FastNoise2), voici un exemple…
- User
Non, utilise la lib FastNoise2 (https://github.com/Auburn/FastNoise2), voici un exemple de son fonctionnement `// Create an array of floats to store the noise output in std::vector noiseOutput(16 * 16 * 16);
// Generate a 16 x 16 x 16 area of noise fnGenerator->GenUniformGrid3D(noiseOutput.data(), 0, 0, 0, 16, 16, 16, 0.2f, 1337); int index = 0;
for (int z = 0; z < 16; z++) { for (int y = 0; y < 16; y++) { for (int x = 0; x < 16; x++) { ProcessVoxelData(x, y, z, noiseOutput[index++]); } } }`
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.