1998-12-29 17:21:17 +03:00
|
|
|
<HTML>
|
|
|
|
<BODY>
|
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<H1 ALIGN=RIGHT><A NAME="opengl">9 - Using OpenGL</A></H1>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
|
|
This chapter discusses using FLTK for your OpenGL applications.
|
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h2>Using OpenGL in FLTK</h2>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
The easiest way to make an OpenGL display is to subclass <a
|
|
|
|
href="#Fl_Gl_Window"><tt>Fl_Gl_Window</tt></a>. Your subclass must
|
|
|
|
implement a <tt>draw()</tt> method which uses OpenGL calls to draw the
|
|
|
|
display. Your main program should call <tt>redraw()</tt> when the
|
|
|
|
display needs to change, and (somewhat later) FLTK will call
|
|
|
|
<tt>draw()</tt>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<p>With a bit of care you can also use OpenGL to draw into normal FLTK
|
|
|
|
windows. This is mostly useful because you can use Gourand shading for
|
|
|
|
drawing your widgets. To do this you use the <a
|
|
|
|
href="#gl_start"><tt>gl_start()</tt></a> and <a
|
|
|
|
href="#gl_finish"><tt>gl_finish()</tt></a> functions around your OpenGL
|
|
|
|
code.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<p>You must include FLTK's <tt><FL/gl.h></tt> header file. It will include
|
|
|
|
the file <tt><GL/gl.h></tt>, define some extra drawing functions
|
|
|
|
provided by FLTK, and include the <tt><windows.h></tt> header file needed
|
|
|
|
by WIN32 applications.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h2>Making a Subclass of Fl_Gl_Window</h2>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
To make a subclass of Fl_Gl_Window, you must provide:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<li>A class definition.
|
|
|
|
<li>A <tt>draw()</tt> method.
|
|
|
|
<li>A <tt>handle()</tt> method (if you need to recieve input from
|
|
|
|
the user).
|
|
|
|
</ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>Defining the Subclass</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
To define the subclass you just subclass <tt>Fl_Gl_Window</tt> class:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul><pre>
|
|
|
|
class MyWindow : public Fl_Gl_Window {
|
|
|
|
void draw();
|
|
|
|
int handle(int);
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
public:
|
|
|
|
MyWindow(int X, int Y, int W, int H, const char *L)
|
|
|
|
: Fl_Gl_Window(X, Y, W, H, L) {}
|
|
|
|
};
|
|
|
|
</pre></ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
The <tt>draw()</tt> and <tt>handle()</tt> methods are described below. Like
|
|
|
|
any widget, you can include additional private and public data in your class
|
|
|
|
(such as scene graph information, etc.)
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>The draw() Method</H3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
The <tt>draw()</tt> method is where you actually do your OpenGL drawing:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul><pre>
|
|
|
|
void MyWindow::draw() {
|
1998-12-29 17:21:17 +03:00
|
|
|
if (!valid()) {
|
1999-01-07 19:36:11 +03:00
|
|
|
... set up projection, viewport, etc ...
|
|
|
|
... window size is in w() and h().
|
|
|
|
... valid() is turned on by FLTK after draw() returns
|
1998-12-29 17:21:17 +03:00
|
|
|
}
|
1999-01-07 19:36:11 +03:00
|
|
|
... draw ...
|
1998-12-29 17:21:17 +03:00
|
|
|
}
|
1999-01-07 19:36:11 +03:00
|
|
|
</pre></ul>
|
|
|
|
|
|
|
|
<h3>The handle() Method</h3>
|
|
|
|
|
|
|
|
The <tt>handle()</tt> method handles mouse and keyboard events for the
|
|
|
|
window:
|
|
|
|
|
|
|
|
<ul><pre>
|
|
|
|
int MyWindow::handle(int event) {
|
|
|
|
switch(event) {
|
|
|
|
case FL_PUSH:
|
|
|
|
... mouse down event ...
|
|
|
|
... position in Fl::event_x() and Fl::event_y()
|
|
|
|
return 1;
|
|
|
|
case FL_DRAG:
|
|
|
|
... mouse moved while down event ...
|
|
|
|
return 1;
|
|
|
|
case FL_RELEASE:
|
|
|
|
... mouse up event ...
|
|
|
|
return 1;
|
|
|
|
case FL_FOCUS :
|
|
|
|
case FL_UNFOCUS :
|
|
|
|
... Return 1 if you want keyboard events, 0 otherwise
|
|
|
|
return 1;
|
|
|
|
case FL_KEYBOARD:
|
|
|
|
... keypress, key is in Fl::event_key(), ascii in Fl::event_text()
|
|
|
|
... Return 1 if you understand/use the keyboard event, 0 otherwise...
|
|
|
|
return 1;
|
|
|
|
default:
|
|
|
|
// tell FLTK that I don't understand other events
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</pre></ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
When <tt>handle()</tt> is called, the OpenGL context is not set up! If your
|
|
|
|
display changes, you should call <tt>redraw()</tt> and let <tt>draw()</tt> do the work.
|
|
|
|
Don't call any OpenGL drawing functions from inside <tt>handle()</tt>!
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<p>You can call some OpenGL stuff like hit detection and texture loading
|
|
|
|
functions by doing:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul><pre>
|
|
|
|
case FL_PUSH:
|
|
|
|
make_current(); // make OpenGL context current
|
|
|
|
if (!valid()) {
|
|
|
|
... set up projection exactly the same as draw ...
|
|
|
|
valid(1); // stop it from doing this next time
|
|
|
|
}
|
|
|
|
... ok to call NON-DRAWING OpenGL code here, such as hit
|
|
|
|
detection, loading textures, etc...
|
|
|
|
</pre></ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Your main program can now create one of your windows by doing <tt>new
|
|
|
|
MyWindow(...)</tt>. You can also use <a href="#fluid">fluid</a> by:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ol>
|
|
|
|
<li>Put your class definition in a MyWindow.H file.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<li>In fluid create a box object, resize & place where you want.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<li>In the control panel, fill in the "class" field with MyWindow.H.
|
|
|
|
This will make fluid produce constructors for your new class.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<li>In the "extra code" put <tt>#include "MyWindow.H"</tt>, so
|
|
|
|
that the fluid output file will compile.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
</ol>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
You must put <tt>glwindow->show()</tt> in your main code after calling
|
|
|
|
<tt>show()</tt> on the window containing the OpenGL window.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h2>Using OpenGL in Normal FLTK Windows</h2>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
You can put OpenGL code into an <a
|
|
|
|
href="#draw"><tt>Fl_Widget::draw()</tt></a> method or into the code for
|
|
|
|
a <a href="#boxtypes">boxtype</a> or other places with some care.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
|
|
<p>Most important, before you show <i>any</i> windows (including those
|
1999-01-07 19:36:11 +03:00
|
|
|
that don't have OpenGL drawing) you must initialize FLTK so that it
|
1998-12-29 17:21:17 +03:00
|
|
|
knows it is going to use OpenGL. You may use any of the symbols
|
1999-01-07 19:36:11 +03:00
|
|
|
described for <a
|
|
|
|
href="#Fl_Gl_Window.mode"><tt>Fl_Gl_Window::mode()</tt></a> to describe
|
|
|
|
how you intend to use OpenGL:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul><pre>
|
|
|
|
Fl::gl_visual(FL_RGB);
|
|
|
|
</pre></ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
You can then put OpenGL drawing code anywhere you can draw normally
|
1998-12-29 17:21:17 +03:00
|
|
|
by surrounding it with:
|
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul><pre>
|
|
|
|
gl_start();
|
|
|
|
... put your OpenGL code here ...
|
|
|
|
gl_finish();
|
|
|
|
</pre></ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<a name="gl_start"><tt>gl_start()</tt></a> and <a
|
|
|
|
name="gl_finish"><tt>gl_finish()</tt></a> set up an OpenGL context with
|
|
|
|
an orthographic projection so that 0,0 is the lower-left corner of the
|
|
|
|
window and each pixel is one unit. The current clipping is reproduced
|
|
|
|
with OpenGL <tt>glScissor()</tt> commands. These also synchronize the
|
|
|
|
OpenGL graphics stream with the drawing done by other X, WIN32, or FLTK
|
|
|
|
functions.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
|
|
<p>The same context is reused each time. If your code changes the
|
1999-01-07 19:36:11 +03:00
|
|
|
projection transformation or anything else you should use
|
|
|
|
<tt>glPushMatrix()</tt> and <tt>glPopMatrix()</tt> functions to put the
|
|
|
|
state back before calling <tt>gl_finish()</tt>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<p>You may want to use <tt>Fl_Window::current()->h()</tt> to get
|
|
|
|
the drawable height so you can flip the Y coordinates.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<p>Unfortunately, there are a bunch of limitations you must adhere to for
|
|
|
|
maximum portability:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<li>You must choose a default visual with <a
|
|
|
|
href="#gl_visual"><tt>Fl::gl_visual()</tt></a>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<li>You cannot pass <tt>FL_DOUBLE</tt> to <tt>Fl::gl_visual()</tt>.
|
|
|
|
|
|
|
|
<li>You cannot use <tt>Fl_Double_Window</tt> or
|
|
|
|
<tt>Fl_Overlay_Window</tt>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Do <i>not</i> call <tt>gl_start()</tt> or <tt>gl_finish()</tt> when drawing
|
|
|
|
into an <tt>Fl_Gl_Window</tt>!
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h2>OpenGL drawing functions</h2>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
FLTK provides some useful OpenGL drawing functions. They can be freely
|
|
|
|
mixed with any OpenGL calls, and are defined by including
|
|
|
|
<tt><FL/gl.H></tt> (which you should include instead of the OpenGL
|
|
|
|
header <tt><GL/gl.h></tt>).
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>void gl_color(Fl_Color)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Set the current color to a FLTK color index. <i>For color-index modes
|
|
|
|
it will use <tt>fl_xpixel(c)</tt>, which is only right if this window
|
|
|
|
uses the default colormap!</i>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>void gl_rect(int x, int y, int w, int h)<br>
|
|
|
|
void gl_rectf(int x, int y, int w, int h)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Outline or fill a rectangle with the current color. If
|
|
|
|
<tt>ortho()</tt> has been called, then the rectangle will exactly fill
|
|
|
|
the pixel rectangle passed.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>void gl_font(Fl_Font fontid, int size)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Set the "current OpenGL font" to the same font you get by calling
|
|
|
|
<a href="#fl_font"><tt>fl_font()</tt></a>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>int gl_height()<br>
|
|
|
|
int gl_descent()<br>
|
|
|
|
float gl_width(const char *)<br>
|
|
|
|
float gl_width(const char *, int n)<br>
|
|
|
|
float gl_width(uchar)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Return information about the current OpenGL font.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>void gl_draw(const char *)<br>
|
|
|
|
void gl_draw(const char *, int n)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Draw a nul-terminated string or an array of <tt>n</tt> characters in
|
|
|
|
the current OpenGL font at the current <tt>glRasterPos</tt>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>void gl_draw(const char *, int x, int y)<br>
|
|
|
|
void gl_draw(const char *, int n, int x, int y)<br>
|
|
|
|
void gl_draw(const char *, float x, float y)<br>
|
|
|
|
void gl_draw(const char *, int n, float x, float y)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
Draw a nul-terminated string or an array of <tt>n</tt> characters in
|
|
|
|
the current OpenGL font at the given position.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h3>void gl_draw(const char *, int x, int y, int w, int h, Fl_Align)</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
|
|
Draw a string formatted into a box, with newlines and tabs expanded,
|
|
|
|
other control characters changed to ^X, and aligned with the edges or
|
1999-01-07 19:36:11 +03:00
|
|
|
center. Exactly the same output as <a href="#fl_draw"><tt>fl_draw()</tt></a>.
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<h2>Using OpenGL Optimizer with FLTK</h2>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<a href="http://www.sgi.com/software/optimizer">OpenGL Optimizer</a> is
|
|
|
|
a scene graph toolkit for OpenGL available from Silicon Graphics for
|
|
|
|
IRIX and Microsoft Windows. Versions are in the works for Solaris and
|
|
|
|
HP-UX. It allows you to view large scenes without writing a lot of
|
|
|
|
OpenGL code.
|
|
|
|
|
|
|
|
<h3>OptimizerWindow Class Definition</h3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
To use OpenGL Optimizer with FLTK you'll need to create a subclass of
|
|
|
|
<tt>Fl_Gl_Widget</tt> that includes several state variables:
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<ul><pre>
|
|
|
|
class OptimizerWindow : public Fl_Gl_Window {
|
|
|
|
csContext *context_; // Initialized to 0 and set by draw()...
|
|
|
|
csDrawAction *draw_action_; // Draw action...
|
|
|
|
csGroup *scene_; // Scene to draw...
|
|
|
|
csCamara *camera_; // Viewport for scene...
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
|
|
void draw();
|
1999-01-07 19:36:11 +03:00
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
public:
|
1999-01-07 19:36:11 +03:00
|
|
|
OptimizerWindow(int X, int Y, int W, int H, const char *L)
|
|
|
|
: Fl_Gl_Window(X, Y, W, H, L) {
|
|
|
|
context_ = (csContext *)0;
|
|
|
|
draw_action_ = (csDrawAction *)0;
|
|
|
|
scene_ = (csGroup *)0;
|
|
|
|
camera_ = (csCamera *)0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void scene(csGroup *g) { scene_ = g; redraw(); }
|
|
|
|
|
|
|
|
void camera(csCamera *c) {
|
|
|
|
camera_ = c;
|
|
|
|
if (context_) {
|
|
|
|
draw_action_->setCamera(camera_);
|
|
|
|
camera_->draw(draw_action_);
|
|
|
|
redraw();
|
|
|
|
}
|
|
|
|
}
|
1998-12-29 17:21:17 +03:00
|
|
|
};
|
1999-01-07 19:36:11 +03:00
|
|
|
</ul><pre>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<H3>The camera() Method</H3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
The <tt>camera()</tt> method sets the camera (projection and viewpoint)
|
|
|
|
to use when drawing the scene. The scene is redrawn after this call.
|
|
|
|
|
|
|
|
<h3>The draw() Method</h3>
|
|
|
|
|
|
|
|
The <tt>draw()</tt> method performs the needed initialization
|
|
|
|
and does the actual drawing:
|
|
|
|
|
|
|
|
<ul><pre>
|
|
|
|
void OptimizerWindow::draw() {
|
|
|
|
if (!context_) {
|
|
|
|
// This is the first time we've been asked to draw; create the
|
|
|
|
// Optimizer context for the scene...
|
|
|
|
|
|
|
|
context_ = new csContext(fl_display, fl_visual);
|
|
|
|
context_->ref();
|
|
|
|
context_->makeCurrent(fl_display, fl_window);
|
|
|
|
|
|
|
|
... perform other context setup as desired ...
|
|
|
|
|
|
|
|
// Then create the draw action to handle drawing things...
|
|
|
|
|
|
|
|
draw_action_ = new csDrawAction;
|
|
|
|
if (camera_) {
|
|
|
|
draw_action_->setCamera(camera_);
|
|
|
|
camera_->draw(draw_action_);
|
|
|
|
}
|
1998-12-29 17:21:17 +03:00
|
|
|
}
|
1999-01-07 19:36:11 +03:00
|
|
|
|
|
|
|
if (!valid()) {
|
|
|
|
// Update the viewport for this context...
|
|
|
|
context_->setViewport(0, 0, w(), h());
|
1998-12-29 17:21:17 +03:00
|
|
|
}
|
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
// Clear the window...
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
context_->clear(csContext::COLOR_CLEAR | csContext::DEPTH_CLEAR,
|
|
|
|
0.0f, // Red
|
|
|
|
0.0f, // Green
|
|
|
|
0.0f, // Blue
|
|
|
|
1.0f); // Alpha
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
// Then draw the scene (if any)...
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
if (scene_)
|
|
|
|
draw_action_->apply(scene_);
|
|
|
|
}
|
|
|
|
</pre></ul>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
<H3>The scene() Method</H3>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
1999-01-07 19:36:11 +03:00
|
|
|
The <tt>scene()</tt> method sets the scene to be drawn. The scene is
|
|
|
|
a collection of 3D objects in a <tt>csGroup</tt>. The scene is redrawn
|
|
|
|
after this call.
|
|
|
|
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|