Bỏ qua, tới nội dung chính
F3D
Bề mặt Goursat (Goursat's surface) 1

1 hình

Giáo Dục

Bề mặt Goursat (Goursat's surface)

Tác giả pvillano_114452

Lượt tải
5
Lượt coi
65

File 1 3,4 MB

  • Goursat_s_Surface_1778349440.stlSTL · 3,4 MB

Tạo biến thể bằng AI

Dựng một phiên bản khác của mẫu này.

Mở Studio

Thông tin

Mã mẫu
#380720
Danh mục
Giáo Dục
Ngày đăng
Giấy phép
CC BY — Ghi công

Mô tả

Được tạo bằng sdf2stl.saej.in

Toàn bộ mã SDF:

float sdGoursat(vec3 position, float radius) // 0 <= radius < .75
{
float p4 = dot(position * position, position * position);
float p2 = dot(position, position);
// f(x,y,z) = x^4 + y^4 + z^4 - x^2 - y^2 - z^2 + radius
float f = p4 - p2 + radius;
// ∇f(x,y,z) = {4x^3 - 2x, 4y^3 - 2y, 4z^3 - 2z}
vec3 df = 4. * position * position * position - 2. * position;
return max(min(.7 * f / length(df), .1), length(position) - 1.7);
}

float map(in vec3 position)
{
return sdGoursat(position / 45., 5. / 12.) * 45.;
}

Coi thêm Ẩn bớt

Thông số in

Định dạng
stl
Số file mô hình
1
Tổng dung lượng
3,4 MB
File lớn nhất
3,4 MB

0 bình luận

Coi tất cả