Java 3D: How to Make a Flapping Butterfly (with Source Code)
#Java3D #butterfly #flapping
This video explains how to make two poses (wings closed and wings open) of an .obj model (BlendSwap 3D model) in Blender, and how to make the model look like it's flapping it's wings in Java 3D.
0:00 Java 3D: How to Make Flapping Butterflies
1:41 Downloading a Butterfly Model
4:46 Extracting Textures from the .blend File
5:51 Creating a Butterfly with its Wings Closed
10:30 Creating a Butterfly with its Wings Open
12:19 Source Code Explanation
13:19 Creating the FlyingButterfly Class and Passing the Wing Closed Butterfly Model and the Wing Open Butterfly Model
14:04 Flapping the Wings and Making the Butterfly Randomly Move Around using the FlyingButterfly Class
22:18 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-make-flapping-butterflies
Source code described in
"Java 3D: How to Make a Walking Little Alien Robot"
https://sites.google.com/view/flying-java-3d/videos_earlier_3/java-3d-how-to-make-a-walking-little-alien-robot
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 Butterfly Model (C) Creative Commons Attribution 3.0 by KirilKarpenko
https://blendswap.com/blend/19656
License Terms:
https://www.blendswap.com/terms
https://en.wikipedia.org/wiki/Creative_Commons_licens #Types_of_licenses
2) Pomeranian Model 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
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 Make a Flapping Butterfly (with Source Code)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.