Hi! I want to tinker around with 3D graphics on the iPhone. Since I'm much more comfortable working on Visual Studio, I downloaded the PowerVR Insider SDK from this site, and recompiled the "Animate3D" sample included with EDGELIB. The only modification I made was to replace the following line of code:
for this one:
The code compiled and the sample ran fine (ie. I see the animated turtle) but, when I closed the application's window I got this "Unhandled exception" message from Visual Studio. I'm attaching the project so that you can try it for yourself. I'm using the latest version of the PowerVR SDK and is installed in the default directory.
As a side question (but related to 3D graphics, nonetheless): in a previous thread I was told that the engine uses fixed point internally for 3D graphics. Apple's docs say that the iPhone supports floating point in hardware and that it outperforms its fixed-point equivalent. Would it be possible to make edgelib work internally with floating point code by using a compilation flag?
Which features are planned regarding the 3D engine in the upcoming versions of the library?
Thanks for your support,
--Nacho
- Code:
#define EGL_PC
for this one:
- Code:
#define EGL_POWERVR
The code compiled and the sample ran fine (ie. I see the animated turtle) but, when I closed the application's window I got this "Unhandled exception" message from Visual Studio. I'm attaching the project so that you can try it for yourself. I'm using the latest version of the PowerVR SDK and is installed in the default directory.
As a side question (but related to 3D graphics, nonetheless): in a previous thread I was told that the engine uses fixed point internally for 3D graphics. Apple's docs say that the iPhone supports floating point in hardware and that it outperforms its fixed-point equivalent. Would it be possible to make edgelib work internally with floating point code by using a compilation flag?
Which features are planned regarding the 3D engine in the upcoming versions of the library?
Thanks for your support,
--Nacho
Attachments:
TerrainRenderer.rar (148 KB)