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.

inside custom component

Java Development

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

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.

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
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.

Developer
arif
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

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.

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
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.

 

Developer
arif
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Re: 3D drawing and Perspective View

Thanks

Let me try.

 

Regards

-arif

Developer
konic
Posts: 173
Registered: ‎06-11-2009
My Device: Not Specified

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
Developer
arif
Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Re: 3D drawing and Perspective View

Hi konic,

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

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
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...

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
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.