Giter Club home page Giter Club logo

sylife's Issues

ViewerManagerの深刻なバグ

Delete()内部の処理にeraseを入れるのはイテレータ破壊のため非常に危険。
nullptrを代入する処理に変更するべき。

地形生成の処理時間

アプリ起動時に地形生成を行うと重すぎて時間がかかるので、
・マルチスレッドにして同時並行での処理
・ファイルに地形データの保存

などの対策を取る必要がある。

シーンサイズとタイトル画面

2560x1440 以外の解像度や、2560x1440 でも OS で UI スケールを 100% 以外に設定している場合、タイトル画面でボタンが表示されません。
20220105-194935-441

関連するかはわかりませんが、v0.6 で Scene のリサイズの仕組みが変更されている点に注意です。
https://zenn.dev/reputeless/books/siv3d-documentation/viewer/tutorial-scene#15.1-%E4%B8%89%E3%81%A4%E3%81%AE%E3%82%B5%E3%82%A4%E3%82%BA

解決策として、

  Window::SetStyle(WindowStyle::Sizable);
  Scene::Resize(2560, 1440);

  // Window設定
  if (GeneralSetting::GetInstance().m_fullScreenEnabled) {
    Window::SetFullscreen(true); // ここでシーンのサイズが変わる
  } else {
    Window::Maximize(); // ここでシーンのサイズが変わる
  }

  Window::SetStyle(WindowStyle::Sizable);
  Scene::SetResizeMode(ResizeMode::Keep); // シーンのサイズは、ウィンドウサイズが変わっても変わらないようにする
  Scene::Resize(2560, 1440);

  // Window設定
  if (GeneralSetting::GetInstance().m_fullScreenEnabled) {
    Window::SetFullscreen(true);
  } else {
    Window::Maximize();
  }

に変更することで、手元の環境では正しく表示されるようになりました。

Curtainの問題

FieldViewerのCurtainが機能していない。

durationtimeの設定が失敗していると思われる

グリッドシステムの実装

グリッドシステムの実装によって高速処理が実現できることが見込まれる。
また、マップの大きさとグリッドの大きさを定義する必要がある。

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.