Any solid shapes supported?

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

Any solid shapes supported?

Postby monster » Wed Jan 06, 2010 11:39 pm

Hello,

wow first post :D

so, I was just trying to implement a winding 3d tunnel/pipe and the idea
was to use several gluCylinders / Cubes put after each other. However I couldn´t find
anything really useful...

Is there a best practice to do that? Doing it with trianglestrips is a bit weird....

Cheers!
monster
Freshman
Freshman
 
Posts: 2
Joined: Wed Jan 06, 2010 11:27 pm

Top

Re: Any solid shapes supported?

Postby Shaka » Thu Jan 07, 2010 1:20 pm

monster wrote:Hello,

wow first post :D

so, I was just trying to implement a winding 3d tunnel/pipe and the idea
was to use several gluCylinders / Cubes put after each other. However I couldn´t find
anything really useful...

Is there a best practice to do that? Doing it with trianglestrips is a bit weird....

Cheers!


Hi!

What is it that you find weird with doing it using triangles? Afaik there's no support for objects.
Here are the gl utitlities you can use with ES 1.1.
http://developer.android.com/reference/ ... l/GLU.html

Regards/Shaka
Shaka
Developer
Developer
 
Posts: 44
Joined: Fri Aug 28, 2009 3:01 pm

Re: Any solid shapes supported?

Postby monster » Thu Jan 07, 2010 3:14 pm

Shaka wrote:
monster wrote:Hello,

wow first post :D

so, I was just trying to implement a winding 3d tunnel/pipe and the idea
was to use several gluCylinders / Cubes put after each other. However I couldn´t find
anything really useful...

Is there a best practice to do that? Doing it with trianglestrips is a bit weird....

Cheers!


Hi!

What is it that you find weird with doing it using triangles? Afaik there's no support for objects.
Here are the gl utitlities you can use with ES 1.1.
http://developer.android.com/reference/ ... l/GLU.html

Regards/Shaka


Hey and thanks for the answer... yeah I couldnt find any objects too. Well triangles is ok but it`s a bit "messy" and I thought there might be a easier solution.

Cheers!
monster
Freshman
Freshman
 
Posts: 2
Joined: Wed Jan 06, 2010 11:27 pm

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests