Hi there, I hope you could help me with a little script. I am pretty sure, that something must exists already;-) I need to rotate around the y-axis in 2 degree steps for a total of 44 degree and at each step export a high res graphic. Rotation of the camera/view (keeping the look-at point) would be preferable compared to rotation of the object. Anything out there like this??? Thanks for your help, Tanja -- *Dr. Tanja Schulz-Gasch *Head of Communications & Operations, pRED Basel Bldg 69, 308 Grenzacherstrasse 124 4070 Basel Switzerland Mobile: +41 (0) 79 578 4672 Work: +41 (0) 61 688 8309 Email: tanja.schulz-gasch <http://goog_20899098>@roche.com Web: www.roche.com *Confidentiality note: This message is intended only for the use of the named recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorized use of the information contained in this message is prohibited.*
Hi Tanja, In Chimera, I believe the commands move the objects, not the camera, but otherwise it can be done using the commands "perframe" (to do some things at every frame), "turn" (to rotate around Y axis) and "copy" (to save the image file). For example, the following saves PNG files named 001.png, 002.png, ... 022.png as a structure is rotated in 2° increments about the Y axis: perframe "turn y 2; copy png file ~/Desktop/$1.png" frames 22 zero 3 See manual for explanation of command options and more examples: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/perframe.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/turn.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/copy.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Apr 25, 2014, at 6:14 AM, Schulz-Gasch, Tanja wrote:
Hi there, I hope you could help me with a little script. I am pretty sure, that something must exists already;-) I need to rotate around the y-axis in 2 degree steps for a total of 44 degree and at each step export a high res graphic. Rotation of the camera/view (keeping the look-at point) would be preferable compared to rotation of the object. Anything out there like this??? Thanks for your help, Tanja
thanks, this really was what i was looking for! btw, i saw that chimera is able to export a set of lenticular images. do you have any experience with that? some contact who can produce then such a 3d image??? have a nice we, tanja Sent from my iPhone
On 26.04.2014, at 00:01, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Tanja, In Chimera, I believe the commands move the objects, not the camera, but otherwise it can be done using the commands "perframe" (to do some things at every frame), "turn" (to rotate around Y axis) and "copy" (to save the image file).
For example, the following saves PNG files named 001.png, 002.png, ... 022.png as a structure is rotated in 2° increments about the Y axis: perframe "turn y 2; copy png file ~/Desktop/$1.png" frames 22 zero 3
See manual for explanation of command options and more examples: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/perframe.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/turn.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/copy.html>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Apr 25, 2014, at 6:14 AM, Schulz-Gasch, Tanja wrote:
Hi there, I hope you could help me with a little script. I am pretty sure, that something must exists already;-) I need to rotate around the y-axis in 2 degree steps for a total of 44 degree and at each step export a high res graphic. Rotation of the camera/view (keeping the look-at point) would be preferable compared to rotation of the object. Anything out there like this??? Thanks for your help, Tanja
Hi Tanja, I haven't made lenticular images personally, but others in our lab have done so. If you didn't see it already, here is documentation (prerequisites and instructions): <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/lenticular.html> As detailed in that page, you would need additional software (besides Chimera) to interlace the images, a high-res printer, the lensing material itself, and a cold laminator. I hope this helps, Elaine ---------- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Apr 27, 2014, at 1:58 AM, "Schulz-Gasch, Tanja" <tanja.schulz-gasch@roche.com> wrote:
thanks, this really was what i was looking for! btw, i saw that chimera is able to export a set of lenticular images. do you have any experience with that? some contact who can produce then such a 3d image???
have a nice we, tanja
Hi Elaine, the settings that are defined in Chimera to output a set of lenticular images work fine. However, we would like to experiment with a wider viewing angle....and I realized that increasing the number of output images decreases only the angle step size, but does not widen the viewing angle. Is there a way to influence this command line??? Thanks again, wishing you a nice day, Tanja On Mon, Apr 28, 2014 at 6:45 PM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Tanja, I haven't made lenticular images personally, but others in our lab have done so. If you didn't see it already, here is documentation (prerequisites and instructions):
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/lenticular.html>
As detailed in that page, you would need additional software (besides Chimera) to interlace the images, a high-res printer, the lensing material itself, and a cold laminator.
I hope this helps, Elaine ---------- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Apr 27, 2014, at 1:58 AM, "Schulz-Gasch, Tanja" < tanja.schulz-gasch@roche.com> wrote:
thanks, this really was what i was looking for! btw, i saw that chimera is able to export a set of lenticular images. do you have any experience with that? some contact who can produce then such a 3d image???
have a nice we, tanja
-- *Dr. Tanja Schulz-Gasch *Head of Communications & Operations, pRED Basel F. Hoffmann-La Roche Ltd Roche Innovation Center Basel Bldg. 69/308 CH-4070 Basel, Switzerland Mobile: +41 (0) 79 578 4672 Work: +41 (0) 61 688 8309 Email: tanja.schulz-gasch <http://goog_20899098>@roche.com Web: www.roche.com *Confidentiality note: This message is intended only for the use of the named recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorized use of the information contained in this message is prohibited.*
Hi Tanja, The command “set fieldOfView 60” will set the horizontal field of view to 60 degrees. Typically it is around 30 degrees in normal Chimera use. You can see the value and change using menu Tools / Viewing Controls / Camera. Another parameter you may be interested in is “eye separation” in the Camera dialog. It will change the sense of depth — usually I use the cross-eye or wall-eye camera mode (also set in the Camera dialog) to preview on-screen the eye separation effect before making a lenticular image. A basic problem is not having objects that project out towards the viewer too far. That usually will not look good due to limitations of the lenticular (and other stereoscopic) technology — basically the physical image (lenticular print or screen) is not wide enough to portray an object close to the viewer’s face because projecting a line through such an object would land outside the bounds of the physical image. Tom On May 21, 2014, at 11:22 PM, Schulz-Gasch, Tanja wrote:
Hi Elaine,
the settings that are defined in Chimera to output a set of lenticular images work fine. However, we would like to experiment with a wider viewing angle....and I realized that increasing the number of output images decreases only the angle step size, but does not widen the viewing angle. Is there a way to influence this command line???
Thanks again, wishing you a nice day, Tanja
On Mon, Apr 28, 2014 at 6:45 PM, Elaine Meng <meng@cgl.ucsf.edu> wrote: Hi Tanja, I haven't made lenticular images personally, but others in our lab have done so. If you didn't see it already, here is documentation (prerequisites and instructions):
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/lenticular.html>
As detailed in that page, you would need additional software (besides Chimera) to interlace the images, a high-res printer, the lensing material itself, and a cold laminator.
I hope this helps, Elaine ---------- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Apr 27, 2014, at 1:58 AM, "Schulz-Gasch, Tanja" <tanja.schulz-gasch@roche.com> wrote:
thanks, this really was what i was looking for! btw, i saw that chimera is able to export a set of lenticular images. do you have any experience with that? some contact who can produce then such a 3d image???
have a nice we, tanja
-- Dr. Tanja Schulz-Gasch Head of Communications & Operations, pRED Basel F. Hoffmann-La Roche Ltd Roche Innovation Center Basel Bldg. 69/308 CH-4070 Basel, Switzerland
Mobile: +41 (0) 79 578 4672 Work: +41 (0) 61 688 8309
Email: tanja.schulz-gasch@roche.com Web: www.roche.com
Confidentiality note: This message is intended only for the use of the named recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorized use of the information contained in this message is prohibited.
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (3)
-
Elaine Meng
-
Schulz-Gasch, Tanja
-
Tom Goddard