Modifying an implicit surface #48
eflehder1
started this conversation in
Coding for (Computational) Engineers
Replies: 1 comment 3 replies
-
Hi @eflehder1 — if you are already generating the surface implicitly, then the most elegant way is to modify the implicit formula to add the bumps. You could use PerlinNoise or a similar function to come up with modifications to the signed distance you are calculating in the implicit function. Other ways would be converting to a mesh and then modifying the vertex coordinates. But your challenge lends itself nicely to a modification of the SDF. Simply adding a Perlin noise value to the signed distance you calculate seems promising to me (but I haven't tried it). Best, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@josefinelissner @LinKayser could you advice me on how I could go about creating further modifications to the surface of an implicitly generated geometry such as that shown below? Is there a way to create for instance a pattern of bumps throughout the surface?
![image](https://private-user-images.githubusercontent.com/56301496/369062349-53c96456-702d-4a91-8b15-fec77ee5218b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjM5ODIsIm5iZiI6MTczODkyMzY4MiwicGF0aCI6Ii81NjMwMTQ5Ni8zNjkwNjIzNDktNTNjOTY0NTYtNzAyZC00YTkxLThiMTUtZmVjNzdlZTUyMThiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEwMjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkYTk5ZTM3ZDIwMGQ4YjZmMzRmMGE1MDA2NDZlZjllZTBhMzBlMWU1MWMxOWVkNzNjMGIxOTA3N2Q3NjgxYmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NuSDRvL4PT7KBR4Vb_InyhkQ83bpV6Eovhg0dRAs6F8)
Beta Was this translation helpful? Give feedback.
All reactions