[cad-linux] Re: Viewport

phrostie <pfrostie@xxxxxxxxx> writes:

> oops, after rereading your post maybe you were looking for something like 
> ToGL?
> it's a opengl widget for TK/Tcl.

Sorry, I must have explained myself real poorly. :-)

This replies to Thomas, too:

Say I have a `viewport' command.  I start it this way:

    $ ./viewport

A window opens.  I go on typing in the shell:

    item1 0 0  1 0  1 1  0 1  0 0

A square appears in the window.  I type:

    item2 0 0  10 0  5 5  0 0

A triangle appears in the window.  I type:

    item1 0 0  2 0  2 2  0 2  0 0

The first square gets bigger.  And so on.

Conceptually this is really trivial.  I implemented the bare bones in
Ruby/Tk, but to go a little step forward and get the usual things one
takes for granted like resizing of the area together with the window,
zoom, 3d projection, pan and such, I'd have to do a lot of surface
work that I'd really like to postpone in favour of work on the engine.

Anyway, thanks to everyone.

Massimiliano






Other related posts: