ladybug-tools / ladybug-legacy

:beetle: Ladybug is an environmental plugin for Grasshopper.
http://ladybug.tools
Other
192 stars 82 forks source link

view from sun zoom #459

Open Vyrwn opened 5 years ago

Vyrwn commented 5 years ago

This has always been a problem for me as fixing the zoom level would not always work especially on heavier models. Sometimes the scene would reset losing the zoom informations.

After 4 years of using it I decided to look into it :)

I figured that by tricking the component to create a perspectiveProjection, add zoom level, then change back to Parallel, it works.

It is not the cleanest of sollutions but there might be more into it.

Any thoughts @chriswmackey?

image

chriswmackey commented 5 years ago

@Vyrwn ,

I don't have enough experience with heavier models to know the pain point you are mentioning but I trust you if this gives a better result for these cases without affecting the simpler ones. Feel free to send a PR and I will merge it in.

mostaphaRoudsari commented 4 years ago

@Vyrwn did you send a PR for this one? Should we close this?

Vyrwn commented 4 years ago

@mostaphaRoudsari I didnt PR this as the solution is a bit dirty and I dont want to create issues for other people. Since the problem I was getting hasn't been raised at all by the community I wouldn't go to change the core code.