Search found 68 matches

by teamAlpha
Sun May 17, 2009 3:33 pm
Forum: Beginners Help
Topic: Rotated node + bounding box issues...
Replies: 3
Views: 428

Actually, the problem is most likely that you are rendering the bounding box incorrectly. If the box changes shape or size when you rotate the node, then you are rendering the bounding box in world space. It sounds like you're expecting to see the bounding box in object space. If you use node->setD...
by teamAlpha
Fri May 15, 2009 10:47 am
Forum: Everything 2d/3d Graphics
Topic: Industrial Buildings in Irrlicht
Replies: 8
Views: 1822

:shock: wow , you're a really talented artist !! :D
by teamAlpha
Fri May 15, 2009 10:33 am
Forum: Beginners Help
Topic: Rotated node + bounding box issues...
Replies: 3
Views: 428

Rotated node + bounding box issues...

Hey :lol: !...

I have noticed something interesting...

When you rotate an object too much , the bounding box gets extremely big , resulting in bad collision tests.

And my question , is :

Is there any way to make the bounding box to have the exact scale/position of the node when its rotated?.
by teamAlpha
Sat May 02, 2009 9:34 am
Forum: Beginners Help
Topic: [x][SOLVED]How to find out if A is on top of B node?
Replies: 4
Views: 313

I found it! , it worked with bounding box collision detection. There was also a nasty bug in my loop , that looked like this: if( is on top of ( object array [ ... ] ) ) { if( it->classType != player classType) { ELEM_TYPE e = setNewElementToTrack(it->node) switch e case WALKABLE: addFlags(EF_CANJUM...
by teamAlpha
Sat May 02, 2009 9:16 am
Forum: Beginners Help
Topic: [x][SOLVED]How to find out if A is on top of B node?
Replies: 4
Views: 313

@Acki: Thanks , but it isn't working :( . I have even tried this : inline bool isOnTopOfNode(ISceneNode* a, ISceneNode* b) //is a on top of b?? { // a->updateAbsolutePosition(); //b->updateAbsolutePosition(); const aabbox3d<f32>& ab = a->getTransformedBoundingBox(); const vector3df& bp = b->...
by teamAlpha
Sat May 02, 2009 12:32 am
Forum: Everything 2d/3d Graphics
Topic: Batch scaling
Replies: 7
Views: 1970

Cloudef wrote:You can just google, here is one way http://www.smokinglinux.com/tutorials/h ... e-on-linux :wink:

Cheers!
~Linky~
by teamAlpha
Fri May 01, 2009 10:44 pm
Forum: Advanced Help
Topic: Understanding Network Movement Handling rrrrrrrrrrr....
Replies: 8
Views: 901

Im no expert at math/3d graphics/physics/network etc , but i've been wondering ...can it be done like this : ? client.send(ENUM_INC); client.send(ENUM_X); client.send(delta) client.send(X) client.send(Y) client.send(Z) Then the server interprets it as : r = server.read switch(r) case ENUM_INC { read...
by teamAlpha
Fri May 01, 2009 10:34 pm
Forum: Beginners Help
Topic: [x][SOLVED]How to find out if A is on top of B node?
Replies: 4
Views: 313

[x][SOLVED]How to find out if A is on top of B node?

I'm trying to implement jumping in my game , but im a bit stuck while trying to find out if the player is on top of another object. I've tried this: inline bool isOnTopOfNode(ISceneNode* a, ISceneNode* b) //is a on top of b?? { const vector3df& v0 = a->getPosition(); const vector3df& v1 = b-...
by teamAlpha
Fri May 01, 2009 9:10 pm
Forum: Everything 2d/3d Graphics
Topic: Industrial Buildings in Irrlicht
Replies: 8
Views: 1822

Woooowwww!:D

The first one bringed back memories when i was looking for a job in....Shemue I-last cd(DC ftw!!!!!!) :lol: :lol: ...
by teamAlpha
Fri May 01, 2009 9:06 pm
Forum: Everything 2d/3d Graphics
Topic: Batch scaling
Replies: 7
Views: 1970

photoshop can do batch jobs to resize things so if you've got that you're sorted! I prefer a free/open source solution rather than " buying " photoshop. (Too bad that gimp doesn't support this feature :( ). @twilight17 : Thanks , i'll check it out!. @Hybrid: I have ubuntu x64 installed on...
by teamAlpha
Fri May 01, 2009 5:35 am
Forum: Everything 2d/3d Graphics
Topic: Batch scaling
Replies: 7
Views: 1970

Batch scaling

Hi :shock: !.

I have a couple of textures(they are all 1024x1024) in different folders , and im looking for an application that will scale all of them to 512x512.

Do you guys have any application in mind?

Thanks for any help.
by teamAlpha
Fri Apr 24, 2009 10:28 am
Forum: Beginners Help
Topic: I locked myself out! (Irrlicht forums) [Solved!]
Replies: 5
Views: 595

Maybe the password is somewhere in that namespace ?? :lol:

Just joking...i think only an admin can modify your password :? .
by teamAlpha
Fri Apr 24, 2009 10:26 am
Forum: Beginners Help
Topic: [x][solved]C++ - issue with bit flags
Replies: 7
Views: 451

hybrid wrote:Well, in that case 9 is also out of bounds, because 1<<9 overflows the uchar you are using :wink:
So far i have 8 config states( = 0x7 = 128) , so i didn't noticed it :shock: ...
I'll upgrade to s32 or u32 then...
by teamAlpha
Fri Apr 24, 2009 12:49 am
Forum: Beginners Help
Topic: [x][solved]C++ - issue with bit flags
Replies: 7
Views: 451

i had a flag out of range (0x99..instead 0x9)...lol :oops: isn't 9 a bad flag !?!?! :shock: because 9 is already 1 | 8 (= 00001001), so if you remove 9 you remove 1 and 8 (also if you set 9 you set 1 and 8 ) !!! :lol: the flags should be 2^n (1, 2, 4, 8, 16, 32, ...), that's why I asked about the v...
by teamAlpha
Thu Apr 23, 2009 7:17 pm
Forum: Beginners Help
Topic: [x][solved]C++ - issue with bit flags
Replies: 7
Views: 451

Damn! Thanks to this demo i spotted a stupid mistake! i had a flag out of range (0x99..instead 0x9)...lol :oops: