Java 3D: How to Create an Acorn-Eating Squirrel (with Source Code)
#Java3D #squirrel #acorneating
This video explains where to download a 3D squirrel model, and how to create two poses of an acorn-holding squirrel in Blender.
The video also explains how to write code to switch between the two poses to create an acorn-eating squirrel.
In the next video, I will add a throwback pomeranian, Leo, to the scene so that he can communicate with the squirrel.
0:00 Java 3D: How to Create an Acorn-Eating Squirrel
1:21 Downloading a 3D Squirrel Model from Creazilla
2:29 Creating Two Poses of an Acorn-Holding Squirrel in Blender 2.93
11:04 Creating Two Poses of Another Acorn-Holding Squirrel in Blender 2.93
17:51 Source Code Explanation
18:26 Initially Positioning the Squirrel
18:40 Passing the Two Poses of the Squirrel to the Constructor of the MovingSquirrel Class
20:28 Initially Setting the Squirrel's Orientation
21:54 Randomly Moving and Rotating the Squirrel
24:34 Switching between the Two Poses Using the Switch and BitSet classes
32:15 Run
New Google Site:
https://sites.google.com/view/flying-java-3d/home
https://sites.google.com/view/flying-java-3d/home/page-2
https://sites.google.com/view/flying-java-3d/home/page-3
https://sites.google.com/view/flying-java-3d/home/page-4
Source code described in this video:
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-an-acorn-eating-squirrel
Source code described in
"Java 3D: How to Make a Flapping Butterfly"
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-make-flapping-butterflies
I noticed that sometimes we could not access BlendSwap which said "It's likely the website's certificate is expired."
Like Google Poly 3D models, I created the page where you could download BlendSwap 3D models I used in my videos, just in case you couldn't access the site.
Click the corresponding link. Click the download mark button at the top right to download the model.
BlendSwap 3D Models I Used in My Videos:
https://sites.google.com/view/flying-java-3d/blendswap-models
Poly was shut down on June 30, 2021. You can download all the Poly .obj models I used in my videos from here:
https://sites.google.com/view/flying-java-3d/poly-models
I don't own any of the BlendSwap nor Google Poly models, so credits go to their respective and rightful owners. Please follow the CC Zero or 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) 3D Acorn Model (C) by YAGARA
English site
https://yagara-jp.translate.goog/%e3%81%a9%e3%82%93%e3%81%90%e3%82%8a/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp
Home page
https://yagara.jp/
English site
https://yagara-jp.translate.goog/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp
License Terms:
English site
https://yagara-jp.translate.goog/about/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp
2) Squirrel Creazilla Open-Source License (C) by Michael
https://creazilla.com/nodes/5548144-squirrel-3d-model
License Terms:
https://creazilla.com/pages/11-creazilla-open-source-license
3) Pomeranian Creazilla Open-Source License (C) by Michael
https://creazilla.com/nodes/3518148-pomeranian-dog-3d-model
License Terms:
https://creazilla.com/pages/11-creazilla-open-source-license
Image file I used:
1) Walnut (C) by 1195798
https://pixabay.com/photos/walnuts-shell-nut-brown-snack-1739021/
License Terms:
https://pixabay.com/service/license-summary/
https://pixabay.com/service/terms/
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
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
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
Java3D Forum
https://forum.jogamp.org/java3d-f3728156.html
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 an Acorn-Eating Squirrel (with Source Code)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.