1
$\begingroup$

Given a function like f(x,y,z)=constant like an isosurface, I was wondering if there is any way to:

1) create a mesh and save the coordinates of the points into a separate file?

2) calculate the normal vector at each of these (mesh created) points and save them in a separate file?

Thanks in advance for your reply and comments. Cheers

$\endgroup$
  • $\begingroup$ Are any of these anywhere near what you need? blender.stackexchange.com/questions/73741/… or blender.stackexchange.com/questions/74410/… $\endgroup$ – Duarte Farrajota Ramos May 12 '17 at 23:47
  • $\begingroup$ Thanks for your reply. I have seen these two posts before. However, in my equation, it is not easy to solve z as a function of x and y. This is why I want to draw it as an isosurface. say (cos(x)cos(y)sin(z)=1). This equation is easy to solve, but it is just an example to clarify :-). Besides, I do not know how to calculate the normal vectors using this add-on. Is there any way to do so? $\endgroup$ – Mon May 14 '17 at 5:31
  • $\begingroup$ The normals would have to be read from the resulting mesh I believe, not related to the addon itself. You would probably need to devise some sort of python script for that though, and the accuracy would probably always be limited to the initial level of detail the mesh was created with. $\endgroup$ – Duarte Farrajota Ramos May 14 '17 at 13:28
  • $\begingroup$ Thanks Duarte, are you aware of any python module which could do these? i.e. read a file with coordinates on the surface + the analytical expression of the surface, and then calculate the normal vectors for each point? Please have a look at this: I want these on a surface like this: matkcy.github.io/surface.html $\endgroup$ – Mon May 15 '17 at 1:37
  • $\begingroup$ Are those colors representations all you need? That can be easily achieved with a simple shader in Blender. $\endgroup$ – Duarte Farrajota Ramos May 15 '17 at 1:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.