Java 3D: How to Create a Fake Shadow_3 (with Source Code)

preview_player
Показать описание
#Java3Ddancingshadow #tutorial #3Dmodel
Like the previous two videos, this video explains how to create a fake shadow.

0:00 Java 3D: How to Create a Fake Shadow_3
02:56 Downloading a Dancer Model from Google Poly
04:33 Creating the Silhouette of the Dancer Model
06:05 Source Code Explanation
06:26 Changing a Java 3D Program Extending the Applet Class to That Extending the Frame Class
07:14 Changing the createBird Method to the createDancer Method
08:30 Connecting the Shadow of the Dancer
09:14 Creating the createDancerShadow Method
11:31 Creating the createOrientedShape3D Method
19:21 Disabling the Right and Left Arrow Keys
21:33 Creating the Shadow Images of the Dancer

Source code described in this video (new Google Site):
Dancer's shadow images (new Google Site):
Alternatively, (1) click the download mark button at the top right. (2) Use 7-zip to extract the file.

Source code described in the video,
"Java 3D: How to Create a Fake Shadow_1."

Source code described in the video,
"Java 3D: How to Create a Fake Shadow_2."

Poly was shut down on June 30, 2021. If you need the Poly models (MorriganAensland 2 TheWaveVR and A red camaro ZL1 2017) I used in this video, you can download them from the links under "3D model files 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:

3D model files I used:
1) MorriganAensland 2 TheWaveVR Public/Remixable (CC-BY) (C) by Evol-Love

2) A red camaro ZL1 2017 Public / Remixable (CC-BY) (C) by Kris Tong

3) Female CC BY 3.0 US (C) by Reallusion
License Terms:

About the key movements in the KeyNavigatorBehavior class
Table 4-3 (P.4-28)

Types of licenses

obj file format

To learn more:
About Java 3D:
Free online books:
Dr. Andrew Davison's "Killer Game Programming in Java":
Dr. Andrew Davison's "Pro Java 6 3D Game Development":

About Java:

Java Language Specification:

that accompanies Sun Microsystems' Java 3D API Tutorial
Copyright (c) 1996-2000 Sun Microsystems, Inc. All Rights Reserved.

Copy of the above tutorial:

Example source code:

Java3D FAQ

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.
Рекомендации по теме
Комментарии
Автор

Corrected Parts:

00:47

10:40
Please correct the index positions like this (the source code itself is not affected by this):

FlyingD
Автор

Poly was shut down on June 30, 2021, but from my site, you can download the Poly .obj model I used in this video. (The download link is in the description of the video.)

Also you can download all the Poly .obj models I used in my videos from here (new google site):

Each model is published under a CC-BY (Remixable CC-BY 3.0) license, so to use it, we have to
1) give the credit to the original author,
(I don't own any of the Poly models, so credits go to their respective and rightful owners.)
and
2) provide links to the CC-BY 3.0 license:

FlyingD
Автор

Corrected Parts:
Please correct the light direction like this:

FlyingD
Автор

To copy source code from the new Google Sites, you need Chrome, Firefox, or Microsoft Edge.
IE cannot be used.

FlyingD