PDA

View Full Version : xyz points to mesh plugin?



anim8r
08-10-2004, 03:40 PM
I'm looking for a plugin that converts an ordered list of xyz points into a mesh. I could do it manually... but 3,000 points? =P

Is there anything out there?

erikals
08-11-2004, 04:15 PM
took decades to find, works pretty good. Don't know if you can do it in LW though, maybe there is a workaround...

http://www.metris.com/html/products/paraform/freeware.htm

faulknermano
08-12-2004, 07:11 AM
main
{
fs = getfile("File","*.txt",,true);
if(fileexists(fs))
{
f = File(fs,"r");
i = 0;
while(f.eof() == false)
{
line = string(f.read());
v = vector(line);

pnts[++i] = v;

}
editbegin();
for(i=1;i<=pnts.size();i++)
addpoint(pnts[i]);

}

}


be sure that the text file has only ONE extra newline at the end of the file. and make sure that it is the only blank line.

EDIT: and btw, this only turns the xyz's into points... no polygons.

anim8r
08-12-2004, 12:13 PM
Thx for the help =]