Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
3D plotting normal displacement on surfaces
Posted Sep 8, 2016, 2:21 p.m. EDT Geometry, Mesh, Results & Visualization 2 Replies
Please login with a confirmed email address before reporting spam
When doing a 3-D plot, I want to illustrate how a c-library function I wrote, designed to generate rough surfaces via the Deformed Geometry (dg) module. I want to plot contours of the normal component of the displacement.
The displacement, defined over volumes, is : dg.dxx, dg.dyy, dg.dzz
The normal unit vector, defined (of course) over surfaces, is: dg.nXg, dg.nYg, dg.nZg
What's wanted is the dot product... but this requires sampling dg.dxx, etc, on the surface, where at present it is undefined.
Any hints?
Here's a plot of my surface, showing only dg.dxx, which is what I want only on faces normal to x-hat:
i.imgur.com/7EAVI4Z.png
The displacement, defined over volumes, is : dg.dxx, dg.dyy, dg.dzz
The normal unit vector, defined (of course) over surfaces, is: dg.nXg, dg.nYg, dg.nZg
What's wanted is the dot product... but this requires sampling dg.dxx, etc, on the surface, where at present it is undefined.
Any hints?
Here's a plot of my surface, showing only dg.dxx, which is what I want only on faces normal to x-hat:
i.imgur.com/7EAVI4Z.png
2 Replies Last Post Sep 16, 2016, 3:10 p.m. EDT