Page 1 of 2

How to draw a 3D model using OpenGL

PostPosted: Jan 25, 2008 @ 3:36am
by Slither2006

PostPosted: Jan 25, 2008 @ 10:22am
by edge

PostPosted: Jan 25, 2008 @ 1:03pm
by Slither2006
Hi Edge,

Thanks for your reply. Yes that worked perfectly. I love the performance it brings a whole new dimension to animation on a ppc device. Some of the things you can do with a surface on a small device are incredible.

Many Thanks!

Slither2006 :)

PostPosted: Jan 26, 2008 @ 5:48am
by Slither2006

PostPosted: Jan 26, 2008 @ 2:49pm
by edge

PostPosted: Jan 27, 2008 @ 3:28am
by Slither2006
Hi Edge,

To clarify the issue I'm having I have included a copy of the View3D program provided in the Edgelib SDK except I have modified 3 things :

The World Scale
The Texture PNG file used
The World Translation


By doing this I have illustrated that the the texture is not a properly scaled as it would appear on a rotated surface texture mapped trapezium but to two clipped paralellograms that have been trimmed in half where the polygon sides meet to give the illusion of a trapiezium shape.

Normally this is fine from a distance or if the two polygons are coloured but it looks awful for textures with horizontal lines.

This issue occurs on both the OpenGL ES engine and the Edgelib engine.

Is there a E3DSurface function I should be calling or is this just a flaw. Could you please suggest a work around.

Regards,

Slither2006.

PostPosted: Jan 27, 2008 @ 7:27am
by kuroneko

PostPosted: Jan 27, 2008 @ 1:01pm
by Slither2006

PostPosted: Jan 27, 2008 @ 10:29pm
by edge

PostPosted: Jan 28, 2008 @ 2:25am
by Slither2006

PostPosted: Jan 28, 2008 @ 4:05am
by Slither2006

PostPosted: Jan 28, 2008 @ 8:58am
by edge

Making progress

PostPosted: Jan 28, 2008 @ 1:08pm
by Slither2006

PostPosted: Jan 28, 2008 @ 2:18pm
by edge

Getting further

PostPosted: Jan 28, 2008 @ 11:48pm
by Slither2006