Reviewers
Request review
No reviewers
Labels
Clear labels
A bug whose causes are unknown
Issues and PRs about improving accessibility
The Antennas feature
The Channels feature
The Chat feature
The Clips feature
Issues about user or admin settings
Pull requests that update a dependency file
PRs and Issues relating to docker
The Drive feature
The Galleries feature
The Groups feature
Internationalization (i18n) related issue/PR
Pull requests that update Javascript code
Issues and PRs relating to Kubernetes
The Lists/Circles feature
Issues about using Calckey with a mobile device
Issues about notifications
Issues about posts, timelines, threads
The Widgets feature
This PR edits locales other than the ja-JP one. See locales/README.md
This change breaks compatibility
This issue/PR already exists
Server side specific issue/PR
This might be a bug
This adds/improves/enhances a feature
Interface between server and client
Unexpected behavior
Being discussed or needs discussion
Documentation related issue/PR
The Federation feature
Not based on facts / Outside the scope of Calckey
The Misskey Flavored Markdown feature
This needs test code
The Pages feature
Efficiency related issue/PR
Rewriting code without changing behavior
The Room feature
Security related issue/PR
SW related issue/PR
Test related issue/PR
This is a work in progress
This will not be worked on
Issues/PRs related to AiScript
Client side specific issue/PR
Development of Calckey itself
This needs extra attention
Apply labels
1️⃣ Good First Issue
❓needs more investigation
A bug whose causes are unknown
Accessibility
Issues and PRs about improving accessibility
Antennas
The Antennas feature
Channels
The Channels feature
Chat
The Chat feature
Clips
The Clips feature
CP/Settings
Issues about user or admin settings
dependencies
Pull requests that update a dependency file
Docker
PRs and Issues relating to docker
Drive
The Drive feature
Galleries
The Galleries feature
Groups
The Groups feature
i18n
Internationalization (i18n) related issue/PR
javascript
Pull requests that update Javascript code
Kubernetes
Issues and PRs relating to Kubernetes
Lists/Circles
The Lists/Circles feature
Mobile
Issues about using Calckey with a mobile device
Notifications
Issues about notifications
Posts/timelines
Issues about posts, timelines, threads
Widgets
The Widgets feature
‼️ wrong locales
This PR edits locales other than the ja-JP one. See locales/README.md
☢️Breaking
This change breaks compatibility
♻️Duplicate
This issue/PR already exists
⚙️Server
Server side specific issue/PR
⚠️bug?
This might be a bug
✨Feature
This adds/improves/enhances a feature
🧩API
Interface between server and client
🐛Bug
Unexpected behavior
💬Discussion
Being discussed or needs discussion
📖Doc
Documentation related issue/PR
🌌Federation
The Federation feature
💴has reward
🔥high priority
🚫Invalid
Not based on facts / Outside the scope of Calckey
🙏low priority
🖍MFM
The Misskey Flavored Markdown feature
🧪needs test
This needs test code
📜Pages
The Pages feature
🐢Performance
Efficiency related issue/PR
💚Refactor
Rewriting code without changing behavior
🏠Room
The Room feature
🔒Security
Security related issue/PR
🤖Service Worker
SW related issue/PR
🧪Test
Test related issue/PR
🚧WIP
This is a work in progress
🗿Wontfix
This will not be worked on
👩💻AiScript
Issues/PRs related to AiScript
🖥️Client
Client side specific issue/PR
🛠️Dev
Development of Calckey itself
🏳️needs help
This needs extra attention
No Label
1️⃣ Good First Issue
❓needs more investigation
Accessibility
Antennas
Channels
Chat
Clips
CP/Settings
dependencies
Docker
Drive
Galleries
Groups
i18n
javascript
Kubernetes
Lists/Circles
Mobile
Notifications
Posts/timelines
Widgets
‼️ wrong locales
☢️Breaking
♻️Duplicate
⚙️Server
⚠️bug?
✨Feature
🧩API
🐛Bug
💬Discussion
📖Doc
🌌Federation
💴has reward
🔥high priority
🚫Invalid
🙏low priority
🖍MFM
🧪needs test
📜Pages
🐢Performance
💚Refactor
🏠Room
🔒Security
🤖Service Worker
🧪Test
🚧WIP
🗿Wontfix
👩💻AiScript
🖥️Client
🛠️Dev
🏳️needs help
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: calckey/calckey#5267
Reference in New Issue
There is no content yet.
Delete Branch 'room'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Summary
部屋を作れるように
TODO
難しい
普通
簡単
src/client/app/tsconfig.json の
module
がesnext
からcommonjs
になっているのは要注意https://misskey.m544.net/notes/716c8a8c36dc62a573d1510c
commonjsだとWebpackのCodeSplittingが効かない問題があるみたいです
https://misskey.io/notes/7wd985i4io
オブジェクト同士の当たり判定をどうすればいいのかわからない
家具の底面からレイを床の方向に飛ばして、レイが衝突した座標にスナップすれば良さそうだけどThreejsにそういう機能はなさそう(レイが衝突したオブジェクトを取得する機能はあるけど座標を取得する機能はない)
オブジェクトの座標が分かっても形を考慮しないといけないしオブジェクトが回転しているかもしれないから意味ない
<HTMLElement>ev.target
の箇所はev.target as HTMLElement
の方が良さそうな気がしますが、いかがですか?家具の作成ってBlenderでしか行えないんですか?(Blenderで作られたものしか受け付けないんですか?) そうであればCONTRIBUTING.mdに明記しておいた方が良さそう。
おそらく他のソフトでも行えると思いますがBlenderしか持ってないので詳しくは分かりません><
ただ無料なのはBlenderだけだと思うので他の開発者も編集できることを考えるとBlenderが良さそう
HiDPIディスプレイだと家具選択ができない模様
posY, rotX, rotY, rotZ の方向が感覚的に逆に感じる?posZ, rotX, rotZ, rotY の方向が感覚的に逆に感じる?
→説明中のZとY逆だったわ
直します~
編集モードに限って重力を適用すれば勝手に落ちて何とかなりそう
pinguinのblendファイルが欠けている?
pinguinはblenderじゃないみたいですね
プロジェクトファイルは「可能であれば」でも良いかも
カスタムテクスチャ(額縁とかモニターに任意の画像を表示できる機能)を使用した際に画像がはみ出す問題は修正しました
ただアスペクト比が一致しない場合(モニターの画面は横長なのに正方形の画像を表示するときなど)画像が引き伸ばされます できればCSSのcoverみたいな挙動にしたい
あとカスタムテクスチャを設定したときにいったんページをリロードしないと反映されないのを直したい
texture mesh に needsUpdate = true にしたらできるらしい
あー、それはすでにしてるんですけど、画像のURL情報はTHREEのオブジェクト自体に保存しているわけではないので、プロパティの更新と同時にそっちのテクスチャも貼りなおさないといけない感じですね
今モデル読み込み時にやってる処理を再利用可能な形に抽出してプロパティ更新時もそれを呼ぶようにするとかでいけそう
リロードしないと反映されないのを修正
部屋の床の色も変えられるようにしたい
家具のドラッグでの移動は難しい
THREE標準でそういう機能あるけど使い方の説明がない
https://github.com/mrdoob/three.js/blob/master/examples/js/controls/TransformControls.js
あーなんかできた
表示できたけど使い勝手が悪かった
具体的には、ハンドルを掴んで移動させようとしたときにクリックした位置の下にほかのオブジェクトがあるとそれをクリックしたものと判定されてしまう
それを防ぐために、ハンドルをクリックしたのにゃら弾く処理を追加したんだけど、にゃぜかハンドルの当たり判定がめっちゃ広く作られていて、今度はハンドルにかすらにゃい場所をクリックしてもハンドルをクリックしたものと判定されるようににゃってしまった
結論としてはやっぱり家具のドラッグ移動は無理
その過程でレイキャスターにレイの衝突した座標を格納するプロパティがあることに気づいたので家具同士の当たり判定が実装できるかもしれない
使い勝手悪くなっちゃうけど家具の選択解除は選択解除ボタンを押さないとできないようにするしかないな
というより移動モードにするのと移動モード解除
家具をドラッグで移動できるようになった
esnextでthreeをimportできない問題の解決策募集中
🍮 #5286
恐らく
moduleResolution
のおかげhttps://misskey.io/notes/7wjdajk73s
面白そうなアイデアなのでここに
https://misskey.io/notes/7wjbu50ap9
らしいので、リリース後、TODOをそれぞれIssueとして開くのが良さそう
TransformControls、公式のexample https://threejs.org/examples/misc_controls_transform.html では
Ctrl を押していると setTranslationSnapとsetRotationSnapで移動・回転のsnapができるので活用したいと思います
パンできるようにしようと思ったけど、右クリックは視点回転だし、左クリックは家具選択なので空きがなかった
ん、なんかWebSocketに接続できなくなってる気がするけど私だけかな
これ、公式のexampleではCtrl+dragでPan、モバイル版ではtwo-finger dragだった
45b972c059
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Forgejo.