You can project ".mov"ie animations onto
a Java3d object such as a Cylinder as
the Sun Demos Demonstrate, create ".mov"ies
from VRML animation files with the
Sun VRML Loaders, and play them in a browser:

| How to run this sample
|
| java DemoJMFJ3D -m <input URL>
|
| Example:
|
| java DemoJMFJ3D -m file:/home/somebody/amoive.mov
|
| will render the video track of the input file
| onto a cylnder surface.
|
| Please also refer to the README file.
|
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/DemoJMFJ3D.html#howto


On Linux with the Bash shell I have this ".sh" file ( run_demo.sh ):

java DemoJ3D -m file:./ping_pong.mov

and it runs when I type:

sh run_demo.sh

ping_pong.mov is a Apple Quicktime movie ( mdat )

Java Media Framework: Create Movies, Show Movies on the Web
-----------------------------------------------------------
http://www.frontiernet.net/~imaging/gait_analysis_tutor.html
http://home.rochester.rr.com/javajava/jmf_gait_tutor.gif

 * Web Interactive Demo, may take a while to load
 * view any of several selectable movies ( from list box )
 * with Speed Control


Make Movies with VRML, Java3d, & the Java Media Framework ------------------------------------------------------- http://www.frontiernet.net/~imaging/java3d_and_vrml.html

http://www.frontiernet.net/~imaging/shout3d/models/H-Anim/darts_animation_VRML.wrl
http://home.rochester.rr.com/javajava/media/darts_animation_movie.mov
http://home.rochester.rr.com/javajava/media/fem_torso_nurbs.mov
http://home.rochester.rr.com/javajava/media/walk_vrml.mov


NSF Finger Spelling with Java3d, Sun VRML Loaders & JMF: --------------------------------------------------------- http://www.frontiernet.net/~imaging/shout3d/models/H-Anim/asl_H-Anim_x3d.wrl http://www.frontiernet.net/~imaging/sc_java3d_in_a_browser_with_vrml.jpg http://www.frontiernet.net/~imaging/H-Anim_Avatars.html

 ^-- double click on "Finger Spelling" for web demo ( Shout3d )
 ^-- finger spelling VRML animation, image of animation in JMF

| Hi Friends:
|
| I am sorry for asking the JMF question
| here again. I built the downloaded DemoJMFJ3d
| files from both DOS and JBuilder6 but
| I could not run it in any way.
|
|  In both platforms I got the following error:
|
| Exception in thread "main"
| java.lang.NoClassDefFoundError:
| DemoJMFJ3D = (wrong name).
| But the file with correct name is
| there. Could anyone who has a successful
| experience of running this example file
| tell me what is your platform and what
| problem (if any) you have encountered and how you
| fix this problem.
|
| Thank you!
|
| Guang Bin Liu
|
http://archives.java.sun.com/cgi-bin/wa?A2=ind0302&L=java3d-interest&P=45733


Render Live Video on a 3D Surface [ with Java3d ] --------------------------------- http://java.sun.com/products/java-media/jmf/2.1.1/solutions/DemoJMFJ3D.html

This works for me.


Real Developers use Unix, or Linux, not DOS.


 Java3d requires mutliple threads and
won't run in DOS ( right ? ).

| Date:         Mon, 21 Jan 2002
| From:         Alex Terrazas
| Subject:      Re: Dynamic Textures?
|
| And of course...the attachment! ...
|
| I realized that I might have to send
| the video .mov which made me realize that
| I wasn't really addressing the question
| with the example. Still I am sending it
| anyway because it does raise a somewhat
| relevent question.
|
| [ Note: Java Source Code mime Attached in archive: ]
|
| AnimatedTextureJ3D.java [application/octet-stream]
|
| JMFTexture2D.java [application/octet-stream]
|
http://archives.java.sun.com/cgi-bin/wa?A2=ind0201&L=java3d-interest&P=R41461
http://archives.java.sun.com/cgi-bin/wa?A3=ind0201&L=java3d-interest&P=1946461&E=1&B=------=_NextPart_000_000C_01C1A24A.228EAD60&N=AnimatedTextureJ3D.java&T=application/octet-stream
http://archives.java.sun.com/cgi-bin/wa?A3=ind0201&L=java3d-interest&P=1950796&E=1&B=------=_NextPart_000_000C_01C1A24A.228EAD60&N=JMFTexture2D.java&T=application/octet-stream


Justin Couch wrote: | | How do you define "streaming"? | | There are many things that could be possibly | streamed - such as texture and geometry. | | None of these are the role of Java3D. | | Just like OpenGL does not support streaming | directly and it requires an application to | code the appropriate libraries, | neither does Java3D. | | For example, to support streamed video textures | | you would need to write an application that uses | JMF to process the stream information and | then pass it to Java3D's Texture classes. | | -- Justin Couch | | http://www.vlc.com.au/~justin/ ... | http://www.yumetech.com/ | http://archives.java.sun.com/cgi-bin/wa?A2=ind0204&L=java3d-interest&P=R133259


Well, you can play ".mov"ies with the JMF as Sun's JMF demo shows, projecting the streamed video file onto the Java3d Cylinder Object ( see screen capture attached ).


The Sun code works if you know what you're doing and you give it an honest try.


-- Paul, Java Developer & Web Animator ----------------------------------------------------- "Imaging the Imagined: Modeling with Math & a Keyboard"

<<inline: sc_java3d_jmf_demo.jpg>>

Reply via email to