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 / Line lists?

Author
Message
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 21st Mar 2013 18:19
Does AppGameKit support models using line lists? Also how about triangle lists and point lists? Are these possible too?
Marl
12
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 21st Mar 2013 18:45
Wassa line list?

No really, I don't know.
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 21st Mar 2013 19:01 Edited at: 21st Mar 2013 19:02
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 21st Mar 2013 19:35
That posted link doesn't help much. "Line List" doesn't appear anywhere in the page and putting it in the search box comes up with bupkis (nothing).

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
wargasmic
17
Years of Service
User Offline
Joined: 15th Oct 2006
Location: UK
Posted: 21st Mar 2013 19:48
Just below half way down there's a table with very short descriptions. In Ogre you can create model(manual object) using a line list. For example a cube made with a line list would be 12 lines (the cubes edges) or 12 pairs of vertices, each pair representing the start and end of the line.

OT_POINT_LIST A list of points 1 vertex per point
OT_LINE_LIST A list of lines 2 vertices per line
OT_LINE_STRIP A strip of connected lines 1 start vertex and 1 vertex per line
OT_TRIANGLE_LIST A list of triangles 3 vertices per triangle
OT_TRIANGLE_STRIP A strip of triangles 3 vertices for the first triangle and 1 per triangle after that
OT_TRIANGLE_FAN A fan of triangles 3 vertices for the first triangle and 1 per triangle after that
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 21st Mar 2013 20:30 Edited at: 21st Mar 2013 20:32
3D support in AppGameKit is still very limited, you cannot construct your own vertices or polygons to create objects on the fly. (So no, you can't create line lists).
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 20:36
the only actual way is to construct an obj file and loading it (unnecessary to say that is not usable at runtime :p) see the AppGameKit code snippet "HeightMap Loader" for an example :p

Login to post a reply

Server time is: 2024-05-08 00:26:33
Your offset time is: 2024-05-08 00:26:33