Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
 
LinkBack Thread Tools
Old September 7th, 2012, 07:37 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default How I can draw a sphere with opengl es in android?

How I can draw a sphere with opengl es in android?

Advertisements
hfdjw is offline  
Reply With Quote
sponsored links
Old September 11th, 2012, 11:28 AM   #2 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,935
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts
Default

Spheres are very complex objects. The two easiest ways I can think to do this are:

1) Create a sphere using a 3D modeling tool (Blender is a free one) and export it to an .obj file. Then, read the obj file into your application and render it.

2) look at the glut source code and copy the indicies into your application.
jonbonazza is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:03 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.