This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How to draw a 3D model using OpenGL


How to draw a 3D model using OpenGL

Postby Slither2006 » Jan 25, 2008 @ 3:36am

Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby edge » Jan 25, 2008 @ 10:22am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Slither2006 » Jan 25, 2008 @ 1:03pm

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 :)
Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby Slither2006 » Jan 26, 2008 @ 5:48am

Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby edge » Jan 26, 2008 @ 2:49pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Slither2006 » Jan 27, 2008 @ 3:28am

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.
Attachments
MyView3D.zip
MyView3D example of graphical issue
(19.36 KiB) Downloaded 492 times
Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby kuroneko » Jan 27, 2008 @ 7:27am

kuroneko
pm Member
 
Posts: 14
Joined: Mar 27, 2007 @ 5:38am


Postby Slither2006 » Jan 27, 2008 @ 1:01pm

Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby edge » Jan 27, 2008 @ 10:29pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Slither2006 » Jan 28, 2008 @ 2:25am

Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby Slither2006 » Jan 28, 2008 @ 4:05am

Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby edge » Jan 28, 2008 @ 8:58am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Making progress

Postby Slither2006 » Jan 28, 2008 @ 1:08pm

Attachments
making progress.zip
(217.13 KiB) Downloaded 483 times
Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Postby edge » Jan 28, 2008 @ 2:18pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Getting further

Postby Slither2006 » Jan 28, 2008 @ 11:48pm

Slither2006
pm Member
 
Posts: 20
Joined: Jan 9, 2008 @ 11:58am


Next

Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron