FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Wireframe objects

Go down

Wireframe objects Empty Wireframe objects

Post  andreassilva 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

Back to top Go down

Wireframe objects Empty Re: Wireframe objects

Post  meteors 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
meteors
meteors

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

Back to top Go down

Wireframe objects Empty Re: Wireframe objects

Post  sio2interactive 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
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Wireframe objects Empty Re: Wireframe objects

Post  andreassilva Thu Mar 19, 2009 8:46 am

Thanks a lot Smile

andreassilva

Posts : 22
Join date : 2009-02-19

Back to top Go down

Wireframe objects Empty Re: Wireframe objects

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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