Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  3d video rendering  (Read 1215 times)
0 Members and 1 Guest are viewing this topic.
Offline quitequick

Senior Newbie





« Posted 2009-07-03 13:30:21 »

I'm currently attempting to render video onto a 3d poly using java and jogl. I've been using the JMF but haven't been pleasantly surprised. There  does seem to be long list of supported codecs but I get the impression that these are not necessarily the 'popular' ones - and I am no codec expert. I have something running but my solution only plays sample videos that demonstrate the JMF video functionality. I haven't got a video to play from anywhere else. I also want to 'stream' the video using fast http rather than a real-time protocol (maybe the video lives on Amazon S3  Wink ). JMF seems to keep the video in memory if from http, which I don't want. Googling for any of these subjects brings up not much.

In a nutshell, I'm looking for a solution to 3d rendering 'popular' video formats which are 'streamed' via http.

So my questions are...
What are the most 'popular' video formats/codecs?
Is there a Java library out there that can render the above and provide access to the raw framebuffer (for subsequent texturemap creation).
Is there a Java library out there that will do some sort of 'pseudo' streaming using http?

Ta very much!
Offline gouessej

« In padded room »



TUER


« Reply #1 - Posted 2009-07-03 14:25:37 »

Would JMC be enough for your purposes? Otherwise, some guys who uses JMonkeyEngine 2 succeeded in displaying a video on a texture, have a look at its forum.

Offline sunsett

Senior Member




ribbit!


« Reply #2 - Posted 2009-07-03 16:47:44 »

http://www.mat.ucsb.edu/~a.forbes/PROCESSING/jmcvideo/jmcvideo.html
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline quitequick

Senior Newbie





« Reply #3 - Posted 2009-07-03 17:00:29 »

Yes - JMC does look like the thing wot I am looking for. Cheers, gouessej.

And thanks, sunsett. You answered my next question while I typed. I thought JMC was a Sun initiative but I can not find and docs for it. Is this JMC the same thing? Know why Sun don't have any docs for it? Maybe they do but I can't find them!
Offline sunsett

Senior Member




ribbit!


« Reply #4 - Posted 2009-07-03 19:36:54 »

Because Sun developed JMC to be part of JavaFX and though it can be used separately they are so busy pushing their UI framework they don't seem to be pushing the only part of JavaFX that is any good...JMC. Shocked

That link I gave you was someone's initiative to utilize JMC directly within JOGL not JMC itself.
Offline CommanderKeith
« Reply #5 - Posted 2009-07-03 19:40:41 »

You should check this out:

http://www.pushing-pixels.org/?p=1326

Offline sgoethel

Junior Member




keep the source alive


« Reply #6 - Posted 2009-07-04 06:57:50 »

I actually have that mobile demo utilizing OpenMAX
   http://blogs.sun.com/jau/entry/good_morning_openmax_es2_on
OpenMAX support is rudimentary included in JOGL ..

The key feature is to decode the video directly into an multiple OpenGL textures
to avoid additional copy tasks so even h264 can be rendered in real-time.

I like to see what 'OpenMAX' component we can use on the desktop ..

JogAmp [ GlueGen, JOAL, JOGL, JOCL, ..]
http://www.jogamp.org
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (11 views)
2014-04-15 18:08:23

BurntPizza (10 views)
2014-04-15 03:46:01

UprightPath (23 views)
2014-04-14 17:39:50

UprightPath (10 views)
2014-04-14 17:35:47

Porlus (27 views)
2014-04-14 15:48:38

tom_mai78101 (49 views)
2014-04-10 04:04:31

BurntPizza (107 views)
2014-04-08 23:06:04

tom_mai78101 (207 views)
2014-04-05 13:34:39

trollwarrior1 (176 views)
2014-04-04 12:06:45

CJLetsGame (182 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!