RUVIDEO
Поделитесь видео 🙏

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

📁 Фильмы 👁️ 16 📅 05.12.2023

#Java3D #3Dmodelshadow #dancingwoman
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):
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-fake-shadow_3
Dancer's shadow images (new Google Site):
Right-click → Save Picture As... → unnamed.png → dancer_shadow0.png - dancer_shadow63.png
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-fake-shadow_3/images
Alternatively, (1) click the download mark button at the top right. (2) Use 7-zip to extract the file.
https://drive.google.com/file/d/1vjaYF_-0rhd0z0Ax17uTd9XLwVs3qCUg/view?usp=sharing

Source code described in the video,
"Java 3D: How to Create a Fake Shadow_1."
https://sites.google.com/site/java3dapplets/home/source-code-flying-obj-car-shadow

Source code described in the video,
"Java 3D: How to Create a Fake Shadow_2."
https://sites.google.com/site/java3dapplets/home/source-code-tree-shadows


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:
https://creativecommons.org/licenses/by/3.0/
https://creativecommons.org/licenses/by/3.0/legalcode


3D model files I used:
1) MorriganAensland 2 TheWaveVR Public/Remixable (CC-BY) (C) by Evol-Love
https://drive.google.com/file/d/1TSqJaX5WQzZ1cvhxovPMPT7YthJZbbzb/view?usp=sharing

2) A red camaro ZL1 2017 Public / Remixable (CC-BY) (C) by Kris Tong
https://drive.google.com/file/d/1vJnE-YClO_v11UKTQBF-Cff8GhWH7jSY/view?usp=sharing

3) Female CC BY 3.0 US (C) by Reallusion
http://www.sweethome3d.com/freeModels.jsp
License Terms:
https://creativecommons.org/licenses/by/3.0/us/


About the key movements in the KeyNavigatorBehavior class
Table 4-3 (P.4-28)
https://web.cs.ucla.edu/classes/cs269/Java3DTutorial/j3d_tutorial_ch4.pdf#

Types of licenses
https://en.wikipedia.org/wiki/Creative_Commons_license#Types_of_licenses

obj file format
https://en.wikipedia.org/wiki/Wavefront_.obj_file


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

Beginners guide:
http://www.java3d.org/tutorial.html

About Java:
https://www.youtube.com/watch?v=5u8rFbpdvds&index=2&list=PLFE2CE09D83EE3E28
https://www3.ntu.edu.sg/home/ehchua/programming/index.html


Java Language Specification:
http://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.3.1


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/onlineTraining/java3d/)
Copyright (c) 1996-2000 Sun Microsystems, Inc. All Rights Reserved.

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

Example source code:
http://www.interactivemesh.org/off/download/java3d_tutorial_examples_src.zip


Java3D FAQ
https://jogamp.org/wiki/index.php/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.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Java 3D: How to Create a Fake Shadow_3 (with Source Code)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.