[R] 3d interactive video using the rgl package

Xavier Hoenner Xavier.Hoenner at utas.edu.au
Thu May 16 10:06:25 CEST 2013


Hi all,

I've been using the 'rgl' package to visualise in 3d the water temperature recorded by a glider deployed off the coast of Australia (see snapshot attached). Using the writeWebGL function, I'm able to produce an html file of the scene with which I can then interact (e.g. zoom in/out, rotate) in my web browser.

In R, I have created another scene that includes a loop plotting the movements of the glider with the time. Is it possible to export that whole animation with the writeWebGL function? I've only managed to export the scene once all the points of my loop have been plotted, and the movie3d() function is not really a good option for me as I would like to be able to interact with my 3d animation in my web browser.

Thanks in anticipation for your help.

Xavier

########################################################################################

Dr. Xavier Hoenner

eMII Project Officer, Integrated Marine Observing System (IMOS)

University of Tasmania, Sandy Bay campus, Maths Building, room 355, Private Bag 21, Hobart, TAS 7001

Tel: +61 3 6226 1752<tel:%2B61%203%206226%201752>; Mob: +61 411 271 462<tel:%2B61%20411%20271%20462>; Fax: +61 3 6226 8575<tel:%2B61%203%206226%208575>

Email: xavier.hoenner at utas.edu.au<mailto:xavier.hoenner at utas.edu.au>, URL:  http://imos.org.au/emii.html

########################################################################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot.png
Type: image/png
Size: 1057393 bytes
Desc: snapshot.png
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130516/8d7319c5/attachment-0001.png>


More information about the R-help mailing list