Skip to main content

3D BD-J API ?

11 replies [Last post]
dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yogesh123
Offline
Joined: 2010-07-23
Points: 0

Hi Lagally,

Could you please let me know which IDE you are using for your BD-J 3D application development.

thanks
Yogesh

yogesh123
Offline
Joined: 2010-07-23
Points: 0

Hi

Could you please let me know which IDE you are using for your BD-J 3D application development.

thanks
Yogesh

billf
Offline
Joined: 2004-02-13
Points: 0

> Hi everyone,
>
> Is anyone here working with the BD-J 3D API,
> specifically the drawing methods?

Yes. I wrote the original submission for drawStereoscopic() to the BDA, and I made the BTD-200 test disc that uses them. I'm happy to answer any questions out here on the forum.

Cheers,

Bill

ksprahul
Offline
Joined: 2010-08-04
Points: 0

Hi,

Can you please give us a working example of 3d BD_J drawStereoscopic() example.

Thanks in advance.

billf
Offline
Joined: 2004-02-13
Points: 0

> Can you please give us a working example of 3d BD_J
> drawStereoscopic() example.

I don't have any ready examples that I can put in the public domain, no.

But the API is pretty simple. You basically write this code:

BufferedImage left = ...;
BufferedImage right = ...;
for (;;) {
wait until it's time for the next frame;
Update your internal model to reflect the current time;
draw the left eye scene to left;
draw the right eye scene to right;
call drawStereoscopic(left, right);
}

Something a lot like that (only more fleshed out) is in the javadocs for the method. drawStereoscopic() is basically the equivalent of Graphics.drawImage() and Toolkit.sync() collapsed into one method -- it's a straight direct draw API.

The hardest part in using it in a real xlet was getting the HAVi config stuff right, including waiting for the callback that tells you the mode has been set correctly. Oh, and getting access to a player was hard. I guess that's probably easier now ;-)

Cheers,

Bill

dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Hi Bill,

Are you able to share which player?

Cheers,

Denny
http://netblender.ning.com/profile/Denny

billf
Offline
Joined: 2004-02-13
Points: 0

>
> Are you able to share which player?

I just meant that I think there are players on the market now. When I did BTD-200, I was able to get my hands on a couple of different players... But in the context of doing something for a BDA working group, it's sometimes easier to get player manufacturers to help with early access to hardware!

dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Great, we haven't started on adding stereoscopic direct draw support to DSA but have opened up DSA for 3rd party Jars and can't wait to see what people create.

Cheers,

Denny
http://netblender.ning.com/profile/Denny

lagally
Offline
Joined: 2004-05-24
Points: 0

There are SW-players already supporting the directDraw APIs. They can be used for quick prototyping of 3D apps.

yogesh123
Offline
Joined: 2010-07-23
Points: 0

Hi Denny,

Could you please let me know which IDE you are using for your BD-J 3D application development.

thanks
Yogesh

dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Hi Yogesh,
We use Eclipse as our primary IDE. The BDA did post a forum to submit to obtain the BD-J 3D stubs http://www.blu-raydisc.info/license-app/javadocstubs-app.php
Cheers,
Denny