Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
3D surface fitting using normal vectors

Subject: 3D surface fitting using normal vectors

From: Gofall Eren

Date: 12 Oct, 2009 09:58:03

Message: 1 of 3

I have a set of 3D points [x y z] and the normalized normal vectors at these points [nx ny nz]. How I can plot the surface in Maltab using also the normal vectors information?

If someone could also provide a 2D example, it would be also really helpful.

Thanks in advance.

Gonen

Subject: 3D surface fitting using normal vectors

From: Gonen Eren

Date: 12 Oct, 2009 12:53:03

Message: 2 of 3

Does anyone knows maybe how to draw a curvature from a set of 2D points and normalized normal vectors at these points?

Subject: 3D surface fitting using normal vectors

From: Luigi Giaccari

Date: 12 Oct, 2009 14:03:01

Message: 3 of 3

"Gofall Eren" <goneneren@gmail.com> wrote in message <hauujb$1a3$1@fred.mathworks.com>...
> I have a set of 3D points [x y z] and the normalized normal vectors at these points [nx ny nz]. How I can plot the surface in Maltab using also the normal vectors information?
>
> If someone could also provide a 2D example, it would be also really helpful.
>
> Thanks in advance.
>
> Gonen

The normals are often used for some kind of surface recostrunction algorithm.
They help to build an analitiycal model of the surface. Look for "Poisson surface recostrunctor".
They can also be used to make the final mesh denser.

If what you want is simple tessellation try one of this:

http://www.advancedmcode.org/surface-recostruction-from-scattered-points-cloud-mycrustopen.html

http://www.advancedmcode.org/surface-recostruction-from-scattered-points-cloud-mycrust-robust.html

http://www.advancedmcode.org/how-to-plot-a-coloured-surface-from-3d-scatter.html

http://www.advancedmcode.org

Good luck

Luigi

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us