Bitmap / Text tracing -> triangulation -> extrude

Software: Away3D 4.x

Slade, Newbie
Posted: 26 March 2014 10:20 AM   Total Posts: 5

Hi,

I have an issue i can’t solve right now, for a client i made a 3D (printer) model customizer, you can upload your model, change color and such.

But one of the feature if to be able to add text and logos. I can’t “fake” it, because when you’re done customizing i need to export a brand new “mesh” for the client to print the model you made ! So i need to convert text and icons to real geometry

Here’s what i was planning to solve this:

1) Convert text/bitmap to vector, found library like As3 PoTrace

2) Passing the result to a triangulation algorithm like poly2tri

3) Create the geometry based on the poly2tri output and extruding it (i guess)

My issue is that i’m sure i won’t be able to pass the output from step 1 to step 2 as step 2 need a polygonal shape but step 1 output a shape with and i can’t just take the vertices (without bezier value) cause the resulting polygon would be ugly i kinda need to “chamfer ” curves instead.

Thank you !

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X