Skip to content

Commit

Permalink
示例改为默认使用软件D2C
Browse files Browse the repository at this point in the history
  • Loading branch information
obwh committed Nov 23, 2023
1 parent b31ca19 commit 62bdd5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/Orbbec/Scripts/Sample/Pointcloud.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void Start()

pipeline.SetFramesetCallback(OnFrameset);
pipeline.onPipelineInit.AddListener(()=>{
pipeline.Config.SetAlignMode(AlignMode.ALIGN_D2C_HW_MODE);
pipeline.Config.SetAlignMode(AlignMode.ALIGN_D2C_SW_MODE);
pipeline.StartPipeline();
filter = new PointCloudFilter();
filter.SetCameraParam(pipeline.Pipeline.GetCameraParam());
Expand Down
2 changes: 1 addition & 1 deletion Assets/Orbbec/Scripts/Sample/RecordPlayback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void Start()
private void OnSDKInit()
{
Config config = pipeline.Config;
config.SetAlignMode(AlignMode.ALIGN_D2C_HW_MODE);
config.SetAlignMode(AlignMode.ALIGN_D2C_SW_MODE);
try
{
pipeline.Pipeline.EnableFrameSync();
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.1.8
bundleVersion: 1.1.9
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down

0 comments on commit 62bdd5a

Please sign in to comment.