[chimera-dev] warped dome
Tom Goddard
goddard at sonic.net
Fri Oct 24 16:41:50 PDT 2014
Hi Matt,
It would be a lot of fun to see Chimera used in some interactive dome visualization. Using a warping other than fisheye is pretty easy in the Chimera code because it is already using a mesh with texture coordinates that define the warping. The basic trick is what file can be read in, or what equation can be used to define the warping (x,y) -> (new x, new y) where x,y is fish eye, and new x, new y is warped position on the projector image. Alternatively you could define spherical coordinates phi,theta mapping to projector x,y coordinates. I thought you told me in the past there was a file format for defining a dome warping, but I never got a specification and example file from you. If you give me this I would give it a shot to allow interactive dome display with warping. What I’m talking about is for monoscopic dome display. Currently we don’t support stereoscopic dome display (except by recording each eye view separately for say a movie), so custom warped stereo dome display is a few steps away.
Tom
On Oct 24, 2014, at 11:36 AM, Dougherty, Matthew T wrote:
> Hi,
>
> I am revisiting the problem of warping the fisheye camera so I can use chimera interactively in the dome which will be useful for research applications.
>
> Having gone through the warp code from Blender, I am contemplating how best to make the transfer into chimera.
>
> I am thinking the best insert would be the truncated dome camera option.
>
> I got word that Sriram Subramaniam & NLM are planning to replicate my dome at NIH, and CMU put in a facility last week.
>
> Want to make chimera the primary tool for their dome viz, so I would like to eventually get this into the distribution.
>
> Any suggestions on how to do this? Will involve C code. May need some help understanding the openGL calls in chimera.
>
> Realize you are moving to chimera2, want to make this as quick and easy for everybody.
>
> thanks,
>
>
>
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> ===========================================================================
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
>
More information about the Chimera-dev
mailing list