Git Product home page Git Product logo

Comments (2)

hecomi avatar hecomi commented on June 6, 2024

「動作しない」件につきましては、以下 2 点の切り分けが必要だと考えています。

  1. uDesktopDuplication.Texture.RayCast() が所望の動作と異なる
  2. そもそも uTouchInjection が動作しない

1 に関しましては、r は以下の radius を参照しており、付属のシェーダでスクリーンの曲げを設定した際の半径になります。同心円状の配置ではありません。

https://github.com/hecomi/uDesktopDuplication/blob/4ba7caf792659d715a61cdf0ef6c0b616cb3b4ff/Assets/uDesktopDuplication/Scripts/Texture.cs#L191-L195

また、付属の Prefab のようにスケール 1 時に 1 x 1 m のメッシュを想定しています。

2 に関しましては、付属のサンプルを実行してみていただき動作するかご確認頂けますでしょうか。

よろしくお願いいたします。

from utouchinjection.

gtk2k avatar gtk2k commented on June 6, 2024

2です。
uTouchInjectionのサンプルは動作するのを確認しました。

スケールが問題のようですね。
ちなみにuDDがアタッチされているのはlocalScaleが (x:0.0576 y:1 z:0.0324) の親の配下にあるオブジェクトです。
解説ありがとうございました。
ちょっと調べてみます。

from utouchinjection.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.