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

A whole slew of questions


A whole slew of questions

Postby Cardinal » Apr 26, 2007 @ 11:22pm

Hey guys.. rather than making multiple posts, I have a bunch of questions to ask so here goes.

1) What fixed point format are you using? I'm assuming 16.16?

2) Is the elapsed time per frame is in milli-seconds? I'm trying to synchronize my object movement to the frame rate so ideally it would be:

object.x += velocity.x * nElapsedTime

but that doesn't quite work. It does in floating point space... but not quite fixed point. Haven't done much fixed point though so I gotta learn a few things.

3) Is the internal triangle/texture rasterizer written in assembler? I was wondering if there was any plans to make it faster because right now it doesn't seem adequate to do anything complex unless you have a beefy processer.

4) Any plans to port the engine to BREW?
Cardinal
pm Member
 
Posts: 53
Joined: Feb 6, 2006 @ 5:39am
Location: Ottawa, Ontario


Postby edge » Apr 27, 2007 @ 10:07am

Hi Cardinal,

I will answer your questions one by one:
1. In 3D, 20:12 fixed point is used. This precision is also used for rotation (a whole circle is a value between 0 and 4096).
2. The elapsed time is in milliseconds. When using fixed point, you need to have both the coordinates and velocity in fixed point. The elapsed time should stay as is.
3. The rasterizers are written in optimized c/c++. I've replied to your other topic about how it runs slowly on your Blackjack test device. I think it runs faster on your other test devices (for example, the Animate3D sample works relatively fast on a Nokia E60 with a 200Mhz processor and resolution of 352x416 pixels).
4. BREW is on our radar, however we can't give an estimate.
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


About fixed point

Postby Zalo » Jan 24, 2008 @ 5:59pm

Zalo
pm Member
 
Posts: 25
Joined: Nov 5, 2007 @ 4:23pm
Location: Spain


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

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 Zalo » Feb 5, 2008 @ 12:06pm

Zalo
pm Member
 
Posts: 25
Joined: Nov 5, 2007 @ 4:23pm
Location: Spain


Postby edge » Feb 7, 2008 @ 9:33am

Hi Zalo,

We're aware of this bug and a fix will be available in the next EDGELIB release. Thanks for the bug report :)
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 Zalo » Feb 7, 2008 @ 1:01pm

And I think it would be great if matrix is accesible in classEDisplay and E3DSurface as a public attribute of with a pair of set, get methods. I love matrix control when developing in 3d ;)
Zalo
pm Member
 
Posts: 25
Joined: Nov 5, 2007 @ 4:23pm
Location: Spain


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