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
nish1013
Posts: 253
Registered: ‎08-14-2010
My Device: Not Specified
Accepted Solution

3D file format help

Hi,

 

In my app I have to integrate some 3D animation . 

 

Animations are going to develop by a third party.

 

So in what format they shoud make the output ?

 

 

Cheers

Nish

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: 3D file format help

[ Edited ]

Whatever output you are willing to support. JSR-239 (OpenGL ES) does not have any file format support. You need to add support yourself. Write a "reader", data type that contains verticies/UVs/normals/etc., helper functions to render that data type by setting the internal data in OpenGL and rendering it.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
nish1013
Posts: 253
Registered: ‎08-14-2010
My Device: Not Specified

Re: 3D file format help

Hi rcmaniac25 ,

 

Many thanks for you reply.

 

If you can show a simple sample code , highly appriciate .

 

Cheers

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: 3D file format help

I found this example: http://fivedots.coe.psu.ac.th/~ad/jg2/index.html (Look at the bottom three examples for JOGL-ES).

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.