Java 3D: How to Import and Manipulate a Google Poly .obj Model_2 (with Source Code)

Опубликовано: 07 Август 2026
на канале: fukinotou11d
620
7

#Java3Dtutorial #3Dmodel #flyingtruck
This video explains how to download a free 3D model (Truck) from Google Poly, put the truck into Java 3D, and make it fly.

Source code described in this video:
Flying truck
Truck
https://sites.google.com/view/flying-... (new Google Site)

Poly was shut down on June 30, 2021. If you need the model I used in this video, you can download it from the link under "3D model file I used".

I don't own any of the Poly models, so credits go to their respective and rightful owners. Please follow the CC-BY 3.0 license when you use them.
CC-BY 3.0:
https://creativecommons.org/licenses/...
https://creativecommons.org/licenses/...

3D model file I used:
1) 3D model (Blocks Truck) CC-BY (C) by Chris Ross
https://drive.google.com/file/d/1H8EQ...


Image files I used;
1)Highway CC0 Creative Commons (C) by vgs
https://pixabay.com/en/nature-highway...

2) Monte Perdido CC0 Creative Commons (C) by makunin
https://pixabay.com/en/monte-perdido-...

3) Itineraries CC0 Creative Commons (C) by cromatismi
https://pixabay.com/en/itineraries-ge...

4) Ulm CC0 Creative Commons (C) by teetasse
https://pixabay.com/en/ulm-balloon-ci...


Types of licenses
https://en.wikipedia.org/wiki/Creativ...

obj file format
https://en.wikipedia.org/wiki/Wavefro...


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 - Running a ...  
https://www3.ntu.edu.sg/home/ehchua/p...

Java Language Specification:
http://docs.oracle.com/javase/specs/j...


To use the KeyNavigatorBehavior class in my Java 3D program (Mykeynavbeh.java), 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
(http://java.sun.com/developer/onlineT...)
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...


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.