dbt-ethz / mola

Pure Python Mesh Structure
21 stars 25 forks source link

BabylonJS still requires lots of space for display #16

Closed modellstadt closed 5 years ago

modellstadt commented 5 years ago

Maybe we should introduce even the option to have fixed with/height ? The current behaviour could be related to the CSS styles 100%... but not sure and not urgent..

demsham commented 5 years ago

not sure what you mean by this. even after you use the canvasWidth=x canvasHeight=y arguments?

modellstadt commented 5 years ago

If i run the notebooks,

each babylon canvas has precise dimensions. However, the next cell below has a lot of distance, and I assume this distance could be related to the css body style. but not sure.

here a notebook to test…

https://colab.research.google.com/drive/1nWnEyb4ngfNBp7owyDk-Uy5-TBuU4mEt https://colab.research.google.com/drive/1nWnEyb4ngfNBp7owyDk-Uy5-TBuU4mEt

On Mar 30, 2019, at 2:53 PM, demsham notifications@github.com wrote:

not sure what you mean by this. even after you use the canvasWidth=x canvasHeight=y arguments?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dbt-ethz/mola/issues/16#issuecomment-478247807, or mute the thread https://github.com/notifications/unsubscribe-auth/ALBZgNfyNM5ZWKgFtK9vKIleiCcA01-Kks5vb2xwgaJpZM4cTsrf.