Skip to main content

Java3D render functions

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
shadowayex
Offline
Joined: 2011-10-05

I've been going through the java3d.org tutorial, and on this page, the writer uses an ActionListener through a swing timer to redraw his scene. I was wondering if there was an advantage to this versus using the render (pre*, post*, *Field) functions. Are the render functions called on some form of settable interval, or would timer be the way to get a steady frame rate?