Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
arif
Posts: 57
Registered: ‎04-07-2009

3D drawing and Perspective View

Can anyone help by informing me, how to draw 3D images in blackberry?

 

Or can anyone help by informing how to draw image by giving it perspective view, say by giving some view angles as parameter. 

 

I did not find anything in blackberry api other than 2D graphics. So please help me.

 

Thanks.

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 3D drawing and Perspective View

As far as I know there is no real 3D graphics support in RIM API exists.

 

But you can use 2D graphics and SVG classes to build and transform pseudo-3D scenes.

Please use plain text.
Developer
arif
Posts: 57
Registered: ‎04-07-2009

Re: 3D drawing and Perspective View

tbilisoft,

 

Thanks for your information.

Can you give me an example codes/application. I am developing for Blackberry 8310.

 

Regards.

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 3D drawing and Perspective View

Start with this:

 

http://developers.sun.com/mobility/midp/articles/s2dvg/index.html

 

After that get and read a book on vector and matrix math operations.

 

It will help you to understand the basics of 3d operations.

 

Please use plain text.
Developer
arif
Posts: 57
Registered: ‎04-07-2009

Re: 3D drawing and Perspective View

Thanks

Let me try.

 

Regards

-arif

Please use plain text.
Developer
konic
Posts: 173
Registered: ‎06-11-2009

Re: 3D drawing and Perspective View

You may want to look at JSR-184 and JSR-239 as well.
Here is couple of links:
http://developers.sun.com/mobility/apis/articles/3dgraphics/
http://blog.miklabs.com/?p=29
Please use plain text.
Developer
arif
Posts: 57
Registered: ‎04-07-2009

Re: 3D drawing and Perspective View

Hi konic,

Is 3D graphics API of J2ME is supported on blackberry?

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 3D drawing and Perspective View

As I said before JSR-184 is not supported on BlackBerry

 

Check this thread:

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&view=by_date_ascending&messa...

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 3D drawing and Perspective View

konic, if you write a J2ME app that utilizes JSR-184/239 it will fail to run on BlackBerry device with verification error.
Please use plain text.