Stephane Cloutier wrote:

>
>         Does anyone succeeded to use java3D in a C++ environnment with JNI?  I
> would like to interface my j3d component with Visual Studio (in fact, "I
> must do" more than "I would like" ;-)) and I've made a good part of the
> task but an message box window appear and tell me that there's is an
> unknown software exception in a thread!?  This error is displayed with my
> componend, with HelloUniverse and another j3d demo examples.  It seems to
> be related to j3d since when I display only a awt.Button, there's no problem.
>
>         Can someone from Sun tells me if it's possible?
>
>         Stephane
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Hi Stephane,

I am myself working on a java 3D application which uses a crowd simulation
engine written in C++. I am using JNI ( in visual C++ ) to control and get
information from
this engine and this is working very well. Could you give me more information
on what you are trying to do ? It took some time for me to figure out how JNI is
working and to setup visual correctly. If you want I can give you the reference of
a good
book that should help you to solve tricky problems generally met with JNI.

You can also go on Sun tutorial page at
http://www.javasoft.com/docs/books/tutorial/native1.1/index.html to get more
information on this subject.

Regards.

Pascal.

---------------------------------------------------------------------------------
Pascal Debarge / Computer Graphics Engineer / Animation Sience
tel: (408) 543 1615
e-mail: [EMAIL PROTECTED]



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to