Hi,

> Antonio Bleile wrote:
> > Hi Marcus,
> >
> >
> >> See this, for doing the same with a Java widget. (The code retrieves
> the
> >> HWND of a AWT Canvas and then attaches a PassiveWindow)
> >>
> >>
> http://opensg.vrsource.org/trac/attachment/wiki/PotentialContributions/osg
> >> java.zip
> >>
> >
> > Nice! Interesting....  Is this to avoid activeX altogether? So you
> > can run OpenSG in firefox.. ? Which methods are passed to the native
> > libs? Mouse interaction as well? Do you have an online demo of this
> > stuff or what was it supposed to be for?
> >
> I just used to test if a plain Java application could view OpenSG
> graphics. No web at all.
> 
> I suppose it could be used in a Java-applet, but I don't know anything
> about security rules, local dlls, etc. But if Java3D manages to do it,
> there ought to be a way. This is Windows only, btw.

Well Java3d deployment is quite crappy, but it could be done the same
way it works for JOGL, you just have to check a signed jar and then
you can deploy the native libs, quite complicated but it works somehow!

https://jogl-demos.dev.java.net/applettest.html

> I tried to compile it, but it needed some more code. (Shame on me for
> posting incomplete sources)
> 
> Do you need a demo? I'm a bit busy at the moment. It's really just a
> Java window with an OpenSG canvas drawing a torus. Nothing fancy.

Nono, don't need a demo, but it would have been cool to see a demo on 
the web. Perhaps we can assemble something.... :)

  Toni

 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to