Converts the alpha channel to an obj. Useful for creating 3d smoke or text. Only creates geometry where alpha>0. This makes it smaller/faster to handle, and easier to use in 3d space. Enables you to mirror the back to make a solid object
Alpha2obj
Updated: 10 July 2017
Author: kkqd0298
Compatible Nuke versions: 10.0 or later
Compatibility: Linux, Mac, Windows
V3.1
fixes a few bugs
places obj in the equivalent geometry as a card (centred at the origin)
Ability to regenerate obj and adjust the depth scale. (Only works if the generated readgeo node is still connected to the gizmo).
V3
Normalises output
Ability to lower the sample size for increased speed and reduced geometrysize. Useful for creating proxy geometry.
(Defaults to half res - change this to 1 for optimum results)
V2
Improved version, with the option to mirror the back of the object.
Also now has proper UV mapping.
Better file handling
Perfect for clouds and smoke.
#####################################
This is created by request.
It converts an inputted alpha channel to an obj file.
Can handle animated alphas as well.
Where alpha >0 the obj will exist.
You might want to scale the outputted obj to create the right amount of depth.
(Not the most efficient script, but it is V1 after all!)
You must smile and be happy!