Oooh, sexy.
Imma have to use that.
Search found 31 matches
- Thu Nov 24, 2005 5:28 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: IRRGI 1.0 - the visual gui editor for Irrlicht
- Replies: 7
- Views: 2190
- Mon Nov 21, 2005 12:51 am
- Forum: Open Discussion and Dev Announcements
- Topic: Irrlicht + VB6
- Replies: 18
- Views: 1732
Sigh. VB is not meant to create engines. It is meant to tie together different libraries into a fully functional application. VB is slower than C++ code-wise, so any core functionality of a game needs to be written in C++ . hehehe! So, to develope 3D game engine, you choose C++ or VB ?. I hate VB. ...
- Sat Nov 19, 2005 11:06 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Irrlicht + VB6
- Replies: 18
- Views: 1732
Sigh. >>You should learning C++. VB really not good developing game. VB is perfect for developing games. That is a biased comment, and from what I can tell, you've never tried to create a game in VB. Production is much much quicker, and its much less hassle than in C++. The only problem is that ther...
- Wed Nov 16, 2005 3:02 am
- Forum: Beginners Help
- Topic: Why are Animated Meshes so slow and what can be done?
- Replies: 12
- Views: 597
- Sun Nov 13, 2005 12:58 am
- Forum: Beginners Help
- Topic: the engine is crazy
- Replies: 13
- Views: 1268
Whoops, didnt even notice the ints. Hrm, I tried your optimizations for hyopt and pow, but my method was still faster. Also, I switched everything to double's and my method still ran the same, while, surpisingly, your ran slower. I find that pretty weird, since hypot() and pow() are double functions...
- Sat Nov 12, 2005 4:42 pm
- Forum: Advanced Help
- Topic: Smooth Terrain
- Replies: 7
- Views: 833
- Sat Nov 12, 2005 2:57 am
- Forum: Beginners Help
- Topic: the engine is crazy
- Replies: 13
- Views: 1268
Actually, my benchmarks have proven otherwise.
Calling functions produces overhead. I bet that is the main reason that using your methods are slow. It may be more readable, but that doesnt matter.
Here are the results of the benchmark:
http://www.blackninjagames.com/distance_benchmark.htm
Calling functions produces overhead. I bet that is the main reason that using your methods are slow. It may be more readable, but that doesnt matter.
Here are the results of the benchmark:
http://www.blackninjagames.com/distance_benchmark.htm
- Fri Nov 11, 2005 10:47 pm
- Forum: Beginners Help
- Topic: the engine is crazy
- Replies: 13
- Views: 1268
You probably already know this, but it is faster to say: dx*dx; Rather than: pow(dx,2); So a distance function might look like this: float Distance(vector3df p1, vector3df p2) { float dx = p1.x - p2.x; float dy = p1.y - p2.y; return sqrt(dx*dx+dy*dy); } Not like it matters, since you solved your pro...
- Tue Nov 08, 2005 3:30 pm
- Forum: Advanced Help
- Topic: The lighting is wrong, why?
- Replies: 6
- Views: 401
- Thu Oct 27, 2005 7:10 pm
- Forum: Beginners Help
- Topic: How to use Directx Variables?
- Replies: 1
- Views: 145
- Thu Oct 27, 2005 6:50 pm
- Forum: Beginners Help
- Topic: More than 8 light
- Replies: 5
- Views: 318
- Fri Oct 21, 2005 12:48 pm
- Forum: Beginners Help
- Topic: Remove GUIElements ?
- Replies: 3
- Views: 204
I think you can just use the remove function.
Code: Select all
textBox->remove();
- Fri Oct 21, 2005 12:35 am
- Forum: Advanced Help
- Topic: Cancel Text Input?
- Replies: 2
- Views: 348
- Thu Oct 20, 2005 4:43 am
- Forum: Advanced Help
- Topic: Cancel Text Input?
- Replies: 2
- Views: 348
Cancel Text Input?
In my game, when the player presses 'Y', I create an edit box, in which the type there message.
However, the Y is picked up by the edit box, so each message automatically starts with a 'Y' at the beginning. Is there a way to cancel this 'Y' press?
However, the Y is picked up by the edit box, so each message automatically starts with a 'Y' at the beginning. Is there a way to cancel this 'Y' press?
- Thu Oct 20, 2005 2:58 am
- Forum: Beginners Help
- Topic: Fatal error C1010 what is this
- Replies: 20
- Views: 844