Jump to content

Perfectly sharp ridge


eikonoklastes

Recommended Posts

Hello, I'm trying to figure out how these guys were able to create this perfectly sharp ridge that animates along a grid:
https://www.field.io/project/ibm-think19-adaptation/

I've thought about using NURBS curves. While that would give me a ridge, it would still leave an opening at the ends. I tried using a curve on a grid and defined a falloff based on those points. It gives me the correct ridge shape, but the top is super jagged.

Any thoughts?

Link to comment
Share on other sites

You will get more resolution while maintaining good render performance by using displacement shaders.

  • Animate the font curves with carve, eg. set to $FF / $FEND to animate it over the whole duration.
  • Apply the slope towards the curves inside a shader based on xyzdist.

ridge2.thumb.jpg.66bdf568d0ba34d237a0d8b0d90f7f8d.jpg

contour.hipnc

Edited by konstantin magnus
Added 'Re-Dice Displacements' in the render properties to increase quality.
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...

network.jpg.fbf6a80baf1253701f5216d39ae1013b.jpg

its referring to the mat/ridge network:

1) the transform is there to make sure P is in world space. In this case P refers to the sample position.

2) xyzdist takes a position vector and a geometry (it fetches op:/obj/curves/OUT in this case). It will calculate the surface point on that geometry closest to the given position and returns the distance between those positions, the prim number and its uv coords.

3) that float disctance attribute gets remapped 0.0-maxDist -> 0.0-1.0 so the values are more convenient to pass on into a ramp.

4) the ramp allows you to nonlinearly remap the dist value for better control over the slope / profile shape.

  • Like 2
Link to comment
Share on other sites

On 11/30/2020 at 5:48 PM, Atom said:

When I render the scene, all I get is the ground plane. I notice Mantra complains about not being able to find the font geometry.

exactly, I am getting the same results, is there any way to convert this material into redshift material and get the same results? 

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...