On Mon, 18 Oct 1999, Daniel Gayo Avello wrote:
Right off the bat it sounds like you should be using Tcl Blend.
You can still use you old commands implemented in C/C++ with
new commands implemented in Java.
> Hi, everybody! I'm new to this list and I have a tricky question for
> you... I'm developing a project for 2D and 3D visualization (is this the
> word?); whe choose Tcl/Tk to develop it, we have some extensions written
> in C and others in C++ for the 2D work and now we are going to start the
> 3D part.
You know that Java3d just uses OpenGL under the covers right? Java3D is
just another API on top of OpenGL, but I am sure ToGL would be faster.
To sort of answer your question, Tcl Blend 1.2 works with Tcl 8.0, 8.1,
and 8.2, as well as JDK 1.1 or JDK 1.2.
> The question is this, we've thought about ToGL but after have seen Java
> 3D we think it would be great. I've read some docs about tcljava and I
> think that TclBlend could do the work because, I think, all the old
> C/C++ code would work on it and if the tcljava 1.2 support the last JDK
> then it could support Java 3D...
I am still not sure how you are going to do the abstraction so that
your routines can draw to both a Java and C based widget, but
if you can work around that then you should be able to use your
methods with either implementation. As long as your drawing
routines are not actually written in Tcl, you should be able to
use Tcl or Jacl to run the code. I am assuming that your drawing
routines are going to be written in C/C++ or Java for speeds sake.
> The idea was that if it works fine port
> all the old, a few months :-), C/C++ code for the digital image library
> to Java and then use Jacl...
>
> Questions:
I can work, but it depends on how good a coder you are:)
> - Can it be real or I am dreaming?
I have used the tcljava API to create a set of wrapper methods around
the Java Media Framework, so I know for a fact that it is possible.
You can even make it work with both Jacl and Tcl Blend if your extension
is made up of Tcl + Java code only (no C or C++).
> - Has somebody work with tcljava and Java 3D or knows
> if it is possible?
This is a feature that people keep talking about but nobody seems
to want to put work into it. It should not be too hard, but getting
the two event loops working together might be kind of tricky.
Currently, there is no support for Tk + Java widgets in the same
toplevel window.
I hope that helps
Mo DeJong
> - Where can I find some info on the use of Tk inside
> of AWT frames? (I've read somewhere this is the way
> of integrate the Tk widgets with tcljava)
>
> Thanks in advance, although it won't work I think the work of the
> people on the Tcl and Java integration is great!
>
> Dani.
> --
> [EMAIL PROTECTED] / [EMAIL PROTECTED]
>
> http://drive.to/itneverrains
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/