Noors Normal Thief

2 votes
Version: 
1.00

This is a script to copy vertex normals from one object to an other, based on SlideNormalThief.

The algo is the same but exponentially faster : each point on the target object gets the normal of the closest point in the reference mesh.

The main difference is the way i find closest vertices on the reference mesh.

For 2500 vert:

SNT : 9s

NNT : 1,3s

For 10000 vert:

SNT : 145s

NNT : 9s

Works with poly and mesh. It just adds an edit_normals modifier on the target object.

If you notice some errors, please verify that objects are resetXformed.

AttachmentSize
noorsnormalthief.ms4.67 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
3dwannab's picture

Thanks. But this seems to

Thanks. But this seems to make the script repeat it's normal procedure over and over again pardon the pun.

If I don't press escape then it'll keep repeating the same fn.

NWDA's picture

Many thanks

Very useful tool

New World Digital Art | www.NWDAStore.com

barigazy's picture

Code of this tool is very

Code of this tool is very clean and well optimized. Progress bar will slow down the process but you can add by yourself in the line 13 cancel option by pressing ESC key.

fn projectNormal sObj t1Obj = while not keyboard.escPressed do

barigazy

3dwannab's picture

+1 - Cancel Button and Progress Bar

Thanks very much for this.

Is it possible to add a Cancel Button and Progress Bar?

Much appreciated.

rs3d's picture

Great, it's really much

Great, it's really much quicker!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.