top of page

Hey there! Thanks for visiting my website. I just wanted to inform you that your browser might warn you about possibly malicious content if you try to download my software. This is just because you're downloading executable files. I promise there is no harmful code in any of the published applications. Also, this site does use cookies. If you continue to use this site, you accept the use of them.

 

Since it's understandable that you might not want to run any executable without knowing what it does, I developed TESM.TESM stands for ThrownException's Security Manager. Using a Security Manager is an already known mechanic in Java, but there is only one default one and it's static. TESM is a dynamic Security manager, with a whitelist, a blacklist, a default option and user interaction. Any code ever written eventually uses certain core methods that come with the installation of Java. These methods all consult the set Security Manager to get permission for doing certain things. Web applications won't get permission from the default Security Manager to access files for example. TESM will grant or deny permission based on a configuration file that can be found in the same folder as the executed .jar file. To set TESM as your security manager, drop the two files provided below in any .jar and run the .jar using a command line interface with:"java -Djava.security.manager=TESM -jar [name of file].jar"You can find the necessary files here.

All my code is licensed under the Creative Commons BY-NC-ND license.

For more information, click the icon at the bottom of the page.

  • Writer's pictureThrownException

Cam Control 3D

Java doesn't come with integrated camera controls in a 3D environment. After creating the Shape Box 3D, I realised it was kinda necessary to allow dynamic camera movement.

This is just a sample application without much 3D content, just camera mouse and keyboard control. Press ESC to release the mouse from the application. Move your mouse to rotate the camera, use WASD + SPACE+ SHIFT to move the camera.


Mouse modes:

- Oriented / Oriented_Invert: This is a normal "human" camera rotation. Left and right directions are always horizontal and up and down are always vertical.

- Free / Free_Invert: This is more like a "jet" kind of camera rotation. All directions are relative to the current camera rotation.


Keyboard modes:

- Static / Static_No_V: Any movement will be in the same direction, regardless of the camera orientation. No_V means no vertical. You could compare this to a "drone" control scheme.

- Dynamic / Dynamic_No_V: Any movement will be relative to the camera orientation.

With the Free / Free_Invert mouse modes, this is the only compatible mode. You could compare this mode to a "jet" control scheme.

- Combined / Combined_No_V: Up and down will be on the Y axis, the other directions will follow the orientation of the camera, but only on the horizontal plane. You could compare this mode to a normal "human" or "player" control scheme.



7 views0 comments

Recent Posts

See All
bottom of page