Search found 31 matches

by BlackNinjaGames
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: 2691

Oooh, sexy. :wink:

Imma have to use that.
by BlackNinjaGames
Mon Nov 21, 2005 12:51 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht + VB6
Replies: 18
Views: 3393

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 ...
by BlackNinjaGames
Sat Nov 19, 2005 11:06 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht + VB6
Replies: 18
Views: 3393

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 ...
by BlackNinjaGames
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: 1403

Doesn't the the Sydney example use the software renderer? I imagine that would be slow
by BlackNinjaGames
Sun Nov 13, 2005 12:58 am
Forum: Beginners Help
Topic: the engine is crazy
Replies: 13
Views: 1797

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 ...
by BlackNinjaGames
Sat Nov 12, 2005 4:42 pm
Forum: Advanced Help
Topic: Smooth Terrain
Replies: 7
Views: 1083

I think he just has one big texture stretch over it. Right?
by BlackNinjaGames
Sat Nov 12, 2005 2:57 am
Forum: Beginners Help
Topic: the engine is crazy
Replies: 13
Views: 1797

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

:wink:
by BlackNinjaGames
Fri Nov 11, 2005 10:47 pm
Forum: Beginners Help
Topic: the engine is crazy
Replies: 13
Views: 1797

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 ...
by BlackNinjaGames
Tue Nov 08, 2005 3:30 pm
Forum: Advanced Help
Topic: The lighting is wrong, why?
Replies: 6
Views: 587

Is this light behind the polygon?

Then the normal of the polygon would be facing away, so it would be dark.

I think...
by BlackNinjaGames
Thu Oct 27, 2005 7:10 pm
Forum: Beginners Help
Topic: How to use Directx Variables?
Replies: 1
Views: 210

Did you include the proper Direct3D headers?
by BlackNinjaGames
Thu Oct 27, 2005 6:50 pm
Forum: Beginners Help
Topic: More than 8 light
Replies: 5
Views: 539

Why is it that everyone needs more than 8 lights?

Can someone give me a reason for more than 8 lights?
by BlackNinjaGames
Fri Oct 21, 2005 12:48 pm
Forum: Beginners Help
Topic: Remove GUIElements ?
Replies: 3
Views: 361

I think you can just use the remove function.

Code: Select all

textBox->remove();
by BlackNinjaGames
Fri Oct 21, 2005 12:35 am
Forum: Advanced Help
Topic: Cancel Text Input?
Replies: 2
Views: 444

Ah, yes.

Well then :oops:

I'm using IrrlichtNX, so it took some converting, but thank you!
by BlackNinjaGames
Thu Oct 20, 2005 4:43 am
Forum: Advanced Help
Topic: Cancel Text Input?
Replies: 2
Views: 444

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?
by BlackNinjaGames
Thu Oct 20, 2005 2:58 am
Forum: Beginners Help
Topic: Fatal error C1010 what is this
Replies: 20
Views: 1837

Try doing a full-rebuild. That's what I do whenever this happens to me. Usually has something to do with StdAfx.cpp (or .h)