Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Draw object as wire frame

Author
Message
wargasmic
18
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 21st Mar 2013 19:14
Is this possible?

If so, can you set what colour the wireframe draws in and perhaps the line thickness?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 21st Mar 2013 19:48
There are no wire frame commands and no way, within AppGameKit, do display the wire frame of an object.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Mar 2013 20:10
Unfortunately OpenGL ES does not support wireframe, seems like a major oversight if you ask me. It's feasible we could hack something into AppGameKit to create a line list that would draw what the wireframe would look like, but it's not high on my to do list.
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 20:38 Edited at: 21st Mar 2013 20:38
or create a transparent texture with thin solid borders with correct UVs lol
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 21st Mar 2013 23:48
Quote: "Unfortunately OpenGL ES does not support wireframe, seems like a major oversight if you ask me. It's feasible we could hack something into AppGameKit to create a line list that would draw what the wireframe would look like, but it's not high on my to do list. "

Simpliest would be to get the vertex corners and use agks line tool to draw a line betwen them.
Voila a wireframe function

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz

Login to post a reply

Server time is: 2024-11-24 09:47:20
Your offset time is: 2024-11-24 09:47:20