07-01-2011, 10:13 AM,
(This post was last modified: 07-01-2011, 11:37 AM by ashimo.)
|
|||||
|
|||||
Rotating Teapot
The "teapot" is a classic example of 3D rendering. The Curl RTE renders it using hardware-accelerated 3D graphics. This famous teapot is rendered using Curl's real-time rendering of vector-based graphical elements.
Description Curl's 3-D graphics engine rotates a surface model created from a table of coordinates. You'll have to check out the code to believe it. Definitely no animated .GIF files here, the model is created and then rotated. Simple in theory, but not so easy with other technologies. See the instructions so you don't miss anything.
For you purists out there: sorry, this teapot does have a bottom. Run this one full screen if you can't see the whole thing in your browser. Click on "Run/Stop", then sit back and watch the teapot spin. Couldn't be simpler (or much more impressive). But if you want to see ultra-cool, try this:
To run the rotating teapot applet application click on the link below. Rotating Teapot Download the zip file attachment below to get the complete source code for this application. You will also need the to download and unzip the Styled Controls package from the link below. The unzipped contents should be placed alongside the unzipped Rotating Teapot demo source. Styled Controls Package Zip File teapot.zip |
|||||
« Next Oldest | Next Newest »
|
Users browsing this thread:
1 Guest(s)
1 Guest(s)