For me
it seems pretty obvious that you'll need to translate all the C code to java. If
you'll do it by hand, you'll have a chance to learn java. Otherwise you may want
to search the internet for automatic translators. The JOGL implementation is a 1
by 1 translation of the corresponding OpenGL functions (identical names &
signatures), so any OpenGL book will be good with JOGL too.
Florin
What do I do with all the C code that calculates
the contour and surface information. Do I leave that in C or translate
to Java? I want it to be portable. Also, are there any books or courses
in JOGL?
Thanks again!
----- Original Message -----
Sent: Monday, February 09, 2004 9:52
AM
Subject: Re: [JAVA3D] Porting OpenGL
application
If
you have the sources of the C program, then probably the simplest way will
be to go with Swing & JOGL. If not, go with Swing &
Java3D
Florin
I have a 3D graphics program written in C
with Xforms and OpenGL. I want to convert it to work within a Java
GUI. Since I am a novice, I want to know what the best (simplest,
portable) options I have are. I could rewrite it in Java and Java3D
(hardest option?), or perhaps I could somehow have my Java GUI call this
executable (is this possible? probably not portable, right?). There
has been talk of JOGL. Is that a one-for-one mapping of OpenGL with
Java ? Could anybody help me with this?
Thanks,
Naomi
Greenberg ===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff JAVA3D-INTEREST". For general help, send
email to [EMAIL PROTECTED] and include in the body of the message
"help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of
the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
|