How to project a video on to a 3d shape?

i’m kinda new to this field , and i’m wondering if there is any exisiting api to project a video efficiently onto a Shape ( a cube or any geometry) ? Thanks. ??? ???

never tried this myself, but I did happen to notice this thread:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=LWJGL;action=display;num=1109213338

good luck :slight_smile:

i’m not sure if there is an existing api (there might be), however have a look at nehe lesson 35, there is a nice, easy way to do it! (if you do suceed let us know)

This got me thinking, is there a platform independant way a la OpenGL to access video and audio codecs? If there is, it would be nice to have java access to it through LWJGL, wouldn’t it? Otherwise it might be an idea to create such an API ourselves (a la JInput). Codecs (esp. video) are typically the things where native code shines compared to java, performance wise, and it makes sense to access the many codecs that are already available in the OS instead of porting them to java and hope for acceptable performance.

[quote]This got me thinking, is there a platform independant way a la OpenGL to access video and audio codecs?
[/quote]
I’ve not looked into it deeply, but OpenML may be what you’re after:

Thanks, that looks interesting indeed. :slight_smile:

Thank you guys.