Bezier Surface Modeller in Java
This page is best viewed at a resolution of 800x600
or greater
This project was meant to illustrate the properties of bezier surfaces.
When you select a control point it will change to the color blue. You can
modify the surface by moving the control points in the x,y plane and using
the slider to modify their z component. You can rotate the surface by dragging
in the graph window and you can zoom in on the surface by using the zoom
slider. In order to return to the original configuration you simply have
to press the reset button.
This project illustrates the concepts of :
-
bezier surfaces & blending functions:
We use the bezier blending functions to compute the surface points
based on the control points and their different weights. Once the new surface
points have been computed, the surface is redisplayed.
-
3d object to 2d projection:
In order to display a 3d object on a 2d screen, some type of conversion
must be done. We use a simple 3d to 2d conversion engine to translate the
points from their 3d coordinate values onto the 2d plane.
-
3d rotatation:
General 3d rotation is used to rotate the surface via a rotation matrix.
Once the mouse is dragged in the surface window, the rotation angles are
put into the matrix and the surface is re-computed.
-
3d zooming:
We simply use the magnification factor to increase the extent of every
point on the surface. This give the surface a larger appearance. We then
re-project the surface.
DataJett's Home Page