Jump to content

Isosurfaces


Follyx

Recommended Posts

You have to type these expressions into the Implicit Fuction field of the Isosurface node. But before you can simply copy and paste these strings you need to define some custom functions like the the guy who wrote them. To define these custom functions need go to Edit > Aliases and Variables and there into the Expression tab. Copy and paste the following into the textfield:

#deg sin
float sind(float val) {
    return sin(deg(val));
}
#deg cos
float cosd(float val) {
    return cos(deg(val));
}

Hit Apply Changes and these two new expression function should be available.

Now in SOPs you can lay down an Isosurface node and copy and paste the expression into the Implicit Function paramenter-field. Make sure to adjust the Bound and Division parameter accordingly.

simpleIso.hip

Edited by 0rr
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...