Simplest Way to Use Java 3D 1.6.0 and Java 8 in Visual Studio Code (with Source Code)

Опубликовано: 06 Октябрь 2024
на канале: fukinotou11d
905
9

#Java3D1.6.0 #3Dmodel #vscode
This video explains how to use Java 3D 1.6.0 and Java 8 in Visual Studio Code .

0:00 Simplest Way to Use Java 3D 1.6.0 and Java 8 in Visual Studio Code
1:23 Installing Java Extension Pack
2:13 Creating a Java 3D Program
3:07 [1] Setting different jdk versions in settings.json
4:37 [2] Creating a Project
5:34 [3] Setting the Classpath to Jar Libraries
7:07 [4] Creating a Source Code File
9:24 Run
9:46 Changing an Applet Extending Class to a Frame Extending Class
10:44 Run

New Google Site:
https://sites.google.com/view/flying-...
https://sites.google.com/view/flying-...
https://sites.google.com/view/flying-...
https://sites.google.com/view/flying-...

Source code described in this video:
https://sites.google.com/view/flying-...
Source code described in the video,
"How to Import an Archive 3D Car Model and Java 3D Source Code in Eclipse_1."
https://sites.google.com/view/flying-... (new Google Site)


3D model file I used:
1) Archive 3D Model Car Volskwagen N180814 (C) Added by: Joshua
https://archive3d.net/?a=download&id=...
License Terms:
When downloading the 3D model, the License Terms page appears.

You can find a tons of high quality .3ds models on archive3d.net:
https://archive3d.net/


3DS Java3D Loaders:
StarfireExt.jar:
https://github.com/cksystemsgroup/JAv...
Loader3DS1_2.jar:
http://sourceforge.net/projects/java3...
Inspector3DS/Loader3DS Documentation:
http://www.mnstarfire.com/download/in...

VS Code:
https://code.visualstudio.com/download
Difference between User and System Installer of Visual Studio Code
https://stackoverflow.com/questions/5...

To use Java 8:
https://github.com/redhat-developer/v...
Code I referred to for java.configuration.runtimes:
https://translate.google.com/translat...
I used Google Translate to translate the original site into English:
https://translate.google.com/
(By just entering a URL, the page is translated into the language you selected.)
The original site:
https://od10z.wordpress.com/2020/08/0...

java.configuration.runtimes:
"java.configuration.runtimes": [
{
"default": true,
"name": "JavaSE-1.8",
"path": "C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.275.1-hotspot"
}
],

To set the Classpath to Jar Libraries in JAVA PROJECTS view:
(Project Manager for Java is included in Java Extension Pack)
https://marketplace.visualstudio.com/...
→ Manage Dependencies

Java project management in VS Code
https://code.visualstudio.com/docs/ja...


Java 3D 1.6.0:
https://jogamp.org/deployment/java3d/...
jogamp-fat.jar can be downloaded from:
https://jogamp.org/deployment/jogamp-...
Java 3D 1.6.2:
https://github.com/hharrison/java3d-c...

AdoptOpenJDK 8 Latest release
https://adoptopenjdk.net/releases.htm...
OpenJDK11:
https://jdk.java.net/archive/


To learn more:
About Java 3D:

Free online books:
Dr. Andrew Davison's "Killer Game Programming in Java":
http://fivedots.coe.psu.ac.th/~ad/jg
Dr. Andrew Davison's "Pro Java 6 3D Game Development":
http://fivedots.coe.psu.ac.th/~ad/jg2


About Java:
   • Java Programming Tutorial - 2 - Runni...  
https://www3.ntu.edu.sg/home/ehchua/p...


To use the KeyNavigatorBehavior class in this source code, I used the following code:

1) Part of code from BackgroundApp.java included in the source bundle
that accompanies Sun Microsystems' Java 3D API Tutorial
Copyright (c) 1996-2000 Sun Microsystems, Inc. All Rights Reserved.

Copy of the above tutorial:
https://web.cs.ucla.edu/classes/cs269...
Change ch0.pdf to ch1.pdf-ch7.pdf in the address bar to display other chapters.

Example source code:
http://www.interactivemesh.org/off/do...


Java3D FAQ
https://jogamp.org/wiki/index.php/Jav...


Thank you for watching my video, and I appreciate the people who have posted wonderful free software, images, models, and Java 3D tutorials that allowed me to make this video.