Tour3DVideo[g]
3Dオブジェクト g の周りの標準的なツアーの動画を生成する.
Tour3DVideo[g,tour]
名前付きの動画 tour を生成する.
Tour3DVideo[g,steps]
steps からの動画ツアーを生成する.
Tour3DVideo
Tour3DVideo[g]
3Dオブジェクト g の周りの標準的なツアーの動画を生成する.
Tour3DVideo[g,tour]
名前付きの動画 tour を生成する.
Tour3DVideo[g,steps]
steps からの動画ツアーを生成する.
詳細とオプション
- Tour3DVideoは,3Dオブジェクトの周りを見て回る動画を生成する.
- 3Dオブジェクトt g は,Graphics3D,Image3Dあるいは任意の有効な3D領域でよい.
- steps 指定は以下の任意のものでよい.
-
{step1,step2,…} ステップのシーケンス {t1step1,…} 指定の時間に起こるステップのシーケンス func 任意の関数 - 位置指定 stepiを使ってカメラの位置が指定できる.
-
{x,y,z} 3Dグラフィックス座標における絶対カメラ位置 Scaled[{x,y,z}] 境界ボックスについて0から1にスケールされたカメラ位置 <|prop1val1,…|> 刻み幅特性の連想 - 刻み幅が特性の連想として与えられた場合は,以下のキーを指定することができる.
-
"CameraPosition" {x,y,z}またはScaled[…]で与えられるカメラの位置 "ViewAngle" カメラの開き角度(単位:ラジアン) "ViewVertical" 垂直にする方向 "SubjectPosition" カメラが向けられている位置を{x,y,z}またはScaled[…]として指定する "DwellTime" 秒(またはその他の時間量)で与えられた滞留時間 - 唯一の必須キーは"CameraPosition"である."SubjectPosition"キーが指定されていなければ,カメラは境界ボックスの中心を指す.
- 次は,フレーム作成を制御するオプションである.
-
AspectRatio 9/16 使用する縦横比 DefaultDuration Automatic 推奨される継続時間(単位:秒) InterpolationOrder 1 使用する補間次数 - パネル内にフレームを生成したければParallelize[Tour3DVideo[…]]を使うとよい.
- デフォルトで,Tour3DVideoは新規動画を$WolframDocumentsDirectoryの"Video"ディレクトリに置く.
- 次は,動画の出力特性を制御するオプションである.
-
BitRate Automatic 使用するおおよそのビットレート CompressionLevel Automatic 使用する圧縮レベル FrameRate Automatic 使用するフレームレート GeneratedAssetFormat Automatic 結果の形式 GeneratedAssetLocation $GeneratedAssetLocation 結果の場所 OverwriteTarget False 既存ファイルに上書きするかどうか RasterSize Automatic 出力動画のラスターサイズ VideoEncoding Automatic 使用する動画の符号化 VideoTransparency False 出力動画が透明度チャンネルを持つべきかどうか
例題
すべて開く すべて閉じる例 (2)
スコープ (4)
ステップ指定 (2)
Tour3DVideo[ExampleData[{"Geometry3D", "BassGuitar"}], {{40, -10, 10}, {-20, -10, 40}, {40, 40, 20}}]Tour3DVideo[ExampleData[{"Geometry3D", "BassGuitar"}], {<|"CameraPosition" -> {40, -10, 10}, "SubjectPosition" -> {20, 10, 0}|>, <|"CameraPosition" -> {-20, -10, 40}, "SubjectPosition" -> {-20, 5, 0}|>, <|"CameraPosition" -> {40, 40, 20}, "SubjectPosition" -> {0, 5, 0}|>}]関数 (2)
position[t_] := {1200Cos[t], 400Sin[t], 100t}
Show[g = ExampleData[{"Geometry3D", "CastleWall"}], ParametricPlot3D[position[t], {t, 0, 5}], PlotRange -> All]Tour3DVideo[g, position]fullPosition[t_] := <|"CameraPosition" -> {1200Cos[t], 400Sin[t], 100t}, "SubjectPosition" -> {600Sin[2t], 0, 200}, "ViewAngle" -> 100Degree|>Tour3DVideo[ExampleData[{"Geometry3D", "CastleWall"}], fullPosition]特性と関係 (1)
おもしろい例題 (1)
ca = [image];シーンの周りの点の集合を定義してそれらの間の最短距離を求める:
dur = 25.;
points = Tuples[{11.5, 3, 20}, 3];
points = points[[Last@FindShortestTour[points]]];
ca2 = Show[ca, Graphics3D[{Red, PointSize[0.03], Point[points]}]]func = Interpolation[Thread[{Range[0, dur, dur / (Length[points] - 1)], points}], InterpolationOrder -> 3];
Show[ca2, ParametricPlot3D[func[t], {t, 0, dur}]]viewFunc[t_] := <|"ViewAngle" -> 80Degree, "CameraPosition" -> func[t], "SubjectPosition" -> (func'[t] + func[t]) / 10 + {11.5, 11.5, 11.5}|>Parallelize@Tour3DVideo[ca, viewFunc, DefaultDuration -> dur]関連するガイド
-
▪
- 動画作成 ▪
- 動画計算機能の更新履歴
テキスト
Wolfram Research (2024), Tour3DVideo, Wolfram言語関数, https://reference.wolfram.com/language/ref/Tour3DVideo.html.
CMS
Wolfram Language. 2024. "Tour3DVideo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Tour3DVideo.html.
APA
Wolfram Language. (2024). Tour3DVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Tour3DVideo.html
BibTeX
@misc{reference.wolfram_2026_tour3dvideo, author="Wolfram Research", title="{Tour3DVideo}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/Tour3DVideo.html}", note=[Accessed: 28-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_tour3dvideo, organization={Wolfram Research}, title={Tour3DVideo}, year={2024}, url={https://reference.wolfram.com/language/ref/Tour3DVideo.html}, note=[Accessed: 28-November-2026]}