0

I have a text (.txt) file which contains 3d points in line delimited format like this:
0,0,0
1,0,0
3,2,5
I want to import these points in AutoDesk 3d max. These points doesn't form any shape i.e. they are not connected, I just want to visualize these points. Can anybody help me. Thanks in advance :)

P.S: As i am generating this file in java code so I can easily put tags or some extra information in file as well or I can change file formats slightly to match any existing acceptable formats for AutoDesk 3d max.

4

2 回答 2

0

我看到的唯一方法是使用 Max Script。我想以这种方式加载点比尝试重新发明 3ds max 支持的行格式更容易。

于 2011-08-19T14:58:27.647 回答
0

首先,我以 .pts 格式保存文件第一条记录是文件中后续包含的记录数;x,y,z,"something",r,y,b 字段您可以将其余四个字段设为“0”。将文件另存为 .pts 文件。其次,我创建了一个回顾项目(你应该拥有它,因为它与我的 3ds max 安装一起提供)并导入了文件。将项目保存为 .rcp 文件。最后,在3ds max中,在create-->geometry-->point cloud object中,加载rcp文件。

于 2020-09-19T09:01:14.293 回答