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


Postby edge » Jan 29, 2008 @ 9:32am

Hi Slither,

When drawing your 3D models don't forget to call display->Perspective3D() first. Directly after calling Perspective3D, call the glHint function.

Probably the text isn't correctly displayed because the font texture isn't bound.

Perhaps you can also try loading the EDGELIB logo instead of creating the cube manually (paste the loading code from the View3D sample) and see if it renders.
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 » Feb 2, 2008 @ 3:03am

Hi Edge,

I ended up giving up a while ago and just stuck with the what the edgelib renderer could do. I'll try your suggestion in the future.

Thanks for your help!

Regards,

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


Previous

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