Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display only non-empty buildings using wireframe #182

Closed
ozkriff opened this issue Jun 12, 2016 · 4 comments
Closed

Display only non-empty buildings using wireframe #182

ozkriff opened this issue Jun 12, 2016 · 4 comments

Comments

@ozkriff
Copy link
Owner

ozkriff commented Jun 12, 2016

Сейчас здания всегда отображаются в виде сетки. По идее, они бы должны в отрисовку сеткой переключаться только когда что-то содержат внутри, но для этого надо добавить возможность по ObjectId просить у сцены узел.

@ozkriff ozkriff changed the title Display buildings using wireframe only if there're someone inside Display only non-empty buildings using wireframe Jun 13, 2016
@ozkriff ozkriff reopened this Jul 22, 2016
@ozkriff
Copy link
Owner Author

ozkriff commented Aug 13, 2016

Если в сцену добавить фигню вроде sector_id_to_node_id, только для обычных объектов, то данная задача может быть легко решена.

@ozkriff
Copy link
Owner Author

ozkriff commented Aug 14, 2016

Все равно мне ради дыма, видимо, придется это делать.

@ozkriff
Copy link
Owner Author

ozkriff commented Aug 22, 2016

Дым в мастер ветке, ради него пришлось хакнуть сцену со всей этой фигней для индексов объектов. Теперь можно и за здания приниматься, все готово.

@ozkriff
Copy link
Owner Author

ozkriff commented Aug 22, 2016

И это было не так уж и сложно.

ozkriff added a commit that referenced this issue Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant