Author Topic: OpenGL on a Canvas  (Read 3361 times)

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
OpenGL on a Canvas
« on: November 05, 2005, 09:04:05 am »
Hi, I am using a canvas inside a JApplet to render a car and change its color.

I can run the applet inside the IDE but when I try to run it from the web page I receive 2 exceptions and the applet doesnt appear, and also when I close the applet.

I was wondering if youŽd mind checking my code Egon. can I send it to your mail? there are two classes

The main one called aplication and the RenderThread that renders the image and manage the events.
Nada por ahora

Offline rolz

  • float
  • ****
  • Posts: 280
  • Technocrat
    • View Profile
OpenGL on a Canvas
« Reply #1 on: November 05, 2005, 09:31:15 am »
Applet's default permissions won't allow you to load native libraries which GLCanvas require. I bet permissions are not checked when you run the applet from IDE. You would need to sign the applet to get more permissions.


Here is a link that proves that it is actually possible ;)
http://www.jpct.net/forum/viewtopic.php?t=258
Regards,
Andrei

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
OpenGL on a Canvas
« Reply #2 on: November 05, 2005, 09:44:08 am »
ok, thanks. I learned java almost alone, and there are many things like this one that I dont know. (yet)
Nada por ahora