PointCloud - superclass: GeometryClass; super-superclass:node - 26:0 - classID: #(1603164340, 469842767)
PointCloud GeometryClass オブジェクトは、Autodesk ReCap 形式のポイント クラウド(LIDAR など)データを 3ds Max にロードすることができます。3ds Max 2015 以降で使用可能です。
コンストラクタ:
PointCloud...
プロパティ:
<PointCloud>.filename String default: "" -- filename; Load_Point_Cloud
ポイント クラウドのソース ファイル名を取得/設定します。
有効なファイル形式は、Autodesk Reality Capture Project .RCP ファイルおよび Autodesk Reality Capture Scan .RCS ファイルです。
.RCS スキャン ファイルには、実際のポイント データが含まれています。
.RCP プロジェクト ファイルには、Autodesk ReCap で一緒に登録されている 1 つまたは複数の .RCS ファイルへの参照が含まれています。
<PointCloud>.scanFiles ArrayParameter default: #() -- filename array; SubAnim
.filename
プロパティに割り当てられた .RCP プロジェクト ファイルによって参照およびロードされた .RCS スキャン ファイルのファイル名の配列です。
.RCS スキャン ファイルが .filename
プロパティに割り当てられている場合、その名前は配列の要素のみになります。
UI 表示はありません。
読み込み専用です。
<PointCloud>.displayTechnique Integer default: 0 -- integer
[カラー チャネル](Color Channel)ドロップダウン リストの選択を取得/設定します。
有効な値は次のとおりです。
0 - [トゥルー カラー(True Color)](既定)
1 - [単一カラー(Single Color)]
2 - [法線ランプ(Normal Ramp)]
3 - [高度ランプ(Elevation Ramp)]
4 - [強度ランプ(Intensity Ramp)]
<PointCloud>.singleColor Color default: (color 0 0 255) -- animatable; RGB color; Controller Scaling: ([1,1,1] : (color 255 255 255))
プロパティ .displayTechnique
が 1 - SingleColor に設定される場合にすべてのポイントに使用する単一カラーを取得/設定します。
<PointCloud>.gradientTexmap Gradient_Ramp default: (null):Gradient Ramp -- texturemap; SubAnim
.displayTechnique
が 2 - Normal Ramp、3 - Elevation Ramp あるいは 4 - Intensity Ramp に設定される場合に使用する[グラデーション ランプ(Gradient Ramp)]テクスチャマップを取得/設定します。
<PointCloud>.performanceQuality Integer default: 4 -- integer
パフォーマンス対品質スライダの値を取得/設定します。
値の範囲は 0 (高パフォーマンス、低品質)~ 8 (高品質、低パフォーマンス)の間になります。
既定値は 4 で、これはパフォーマンスと品質のバランスがとれた状態です。
<PointCloud>.fixedLODEnable BooleanClass default: false -- boolean; Fixed_LOD_Enable
[レンダリングで固定](Fixed in Rendering)チェックボックスの状態を取得/設定します。
<PointCloud>.fixedLODLevel Integer default: 1 -- animatable; integer; Fixed_Level_of_Detail
[詳細レベル](Level Of Detail)スピナーの値を取得/設定します。
<PointCloud>.pointSizeType Integer default: 0 -- integer
[ポイント表示](Point Display)ラジオ ボタンの状態を取得/設定します。
有効な値は次のとおりです。
0 - [ピクセル単位](As Pixel)(既定)
[実寸](Real-World Scale)
<PointCloud>.asPixelPointSize Float default: 1.0 -- animatable; float; As_Pixel_Point_Size
[ピクセル単位](As Pixel)スピナーの値を取得/設定します。
<PointCloud>.realWorldScalePointSize Float default: 0.05 -- animatable; float; Real_World_Scale_Point_Size
[実寸](Real-World Scale)スピナーの値を取得/設定します。
<PointCloud>.enableLimitPlanes BooleanClass default: true -- boolean
[制限ボックスを有効](Enable Limit Box)チェックボックスの状態を取得/設定します。
<PointCloud>.GlobalEnableVolumes BooleanClass default: false -- boolean; volumeGlobalEnable
[[ボリュームを表示]を使用](Use Display Volumes)チェックボックスの状態を取得/設定します。
<PointCloud>.VolumeObjects ArrayParameter default: #() -- node array; Volume_Object; SubAnim
.GlobalEnableVolumes
プロパティが True に設定されたときに使用するボリュームのノード配列を取得/設定します。
<PointCloud>.GlobalInvertVolumes BooleanClass default: false -- boolean; volumeGlobalInvert
[反転] (Invert)チェックボックスの状態を取得/設定します。
例:
--Create a Point Cloud object at the world origin: pc = PointCloud() --> $PointCloud:PointCloud001 @ [0.000000,0.000000,0.000000] --Load the sample project installed by Autodesk ReCap: pc.filename = @"C:\ProgramData\Autodesk\Autodesk ReCap\Sample\AutodeskReCapSampleProject.rcp" --> "C:\ProgramData\Autodesk\Autodesk ReCap\Sample\AutodeskReCapSampleProject.rcp" --Query the scan files loaded by the project: pc.scanFiles --> #("C:\ProgramData\Autodesk\Autodesk Recap\Sample\AutodeskReCapSampleProject Support\techshop_012.rcs", "C:\ProgramData\Autodesk\Autodesk Recap\Sample\AutodeskReCapSampleProject Support\techshop_013.rcs") --Create some geometry to use as Display Volumes: s1 = Sphere radius:50 pos:[-50,0,0] --> $Sphere:Sphere001 @ [-50.000000,0.000000,0.000000] b1 = Box pos:[-50,-80,0] width:60 length:40 height:50 --> $Box:Box001 @ [-50.000000,-80.000000,0.000000] pc.VolumeObjects = #(s1,b1) --> #($Sphere:Sphere001 @ [-50.000000,0.000000,0.000000], $Box:Box001 @ [-50.000000,-80.000000,0.000000]) --Enable the display volumes, invert to cull inside the volumes: pc.GlobalEnableVolumes = true --> true pc.GlobalInvertVolumes = true --> true --Increase the quality at cost of performance and increase the pixel point size pc.performanceQuality = 6 --> 6 pc.asPixelPointSize = 4.0 --> 4.0 --Display using an Elevation ramp map pc.displayTechnique = 3 --> 3

<PointCloud>.voxelSize Float default: 1.0 -- animatable; float
[ボクセル サイズ](Voxel Size)の値を取得/設定します。
<PointCloud>.Shader UndefinedClass default: undefined -- texturemap; GeomShader
オブジェクトに割り当てられたポイント クラウド シェーダを取得/設定します。