Wireframe objects

View previous topic View next topic Go down

Wireframe objects

Post  andreassilva on Thu Mar 19, 2009 5:43 am

Hi there,
and congratulations for you work Smile

I need to see a object in wireframe mode. I tried to bind a transparent texture (only with the edges) to the a cube, but there's a obvious problem: I can't see the edges "inside" the cube.

Is there a way to export a object in wireframe mode, or a way that gives the same effect?

Thank you

andreassilva

Posts : 22
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Wireframe objects

Post  meteors on Thu Mar 19, 2009 7:01 am

You need to convert quads to triangles.

Please use the advanced search; this has been covered many times in here.


Kindest regards,
-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: Wireframe objects

Post  sio2interactive on Thu Mar 19, 2009 7:54 am

Glpolygonmode is not supported by ES... If you want to draw with lines you'll have to override the default sio2object render function and convert the triangle sequence to gl_lines

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Wireframe objects

Post  andreassilva on Thu Mar 19, 2009 8:46 am

Thanks a lot Smile

andreassilva

Posts : 22
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Wireframe objects

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum