biasmv / pv

WebGL protein viewer
https://pv.readthedocs.org
MIT License
316 stars 85 forks source link

Getting an orthoscopic view. #155

Open esguerra opened 8 years ago

esguerra commented 8 years ago

Hi,

First! Amazing job, thank you very much for getting us past the issues with unresponsive Java applets. I am wondering if it's possible to have an orthoscopic view option to remove the effects of perspective. This is very useful in viewing symmetrical objects around a helical axis, such as a fiber-model double strand of DNA or RNA.

https://en.wikipedia.org/wiki/Nucleic_acid_double_helix#/media/File:Dnaconformations.png

Excellent job, and thanks!

biasmv commented 8 years ago

Hi,

I'm glad you enjoy it!

Unfortunately, there is no support for orthographic projections in PV. The assumption that the scene is rendered using a perspective projection is spread all over the place, so it's not going to be a small change. I'll put it on my todo list :).

Best, Marco