Search found 11 matches
- Thu Mar 16, 2006 12:58 pm
- Forum: Beginners Help
- Topic: array of array in irrlicht
- Replies: 5
- Views: 309
i'd like to use this thread for another question on arrays: is it possible to initialize an array with values from start? i.e. core::array<int> array = [1,2,3,4] ? until know i would rather use core::array<int> array; for (int i=0; i<4; i++) array.push_back(i+1); but this doesn't help me when i have...
- Mon Feb 27, 2006 3:41 pm
- Forum: Beginners Help
- Topic: how transform screen coordinates into scene node coordinates
- Replies: 1
- Views: 152
how transform screen coordinates into scene node coordinates
Hi, i want to check in what orientational relation a certain pixel is from a certain scene node and furthermore move the scene node to that position. the scene node may be a child from the camera at x,y,z my input coordinates are x=-1..0..1 and y=-1..0..1 on the screen. i could switch to pixels as w...
- Wed Feb 22, 2006 12:45 pm
- Forum: Beginners Help
- Topic: speed differs with resolution
- Replies: 3
- Views: 244
okay thanks a lot! i first tried to do this with vectors but failed due to the many forces. i now have it simple and smoothly working on my computer. however, do you know of one or two good threads or webpages about how to deal with accleration, speed, braking and reservedriving?
thanks again
warden
thanks again
warden
- Wed Feb 22, 2006 11:02 am
- Forum: Beginners Help
- Topic: speed differs with resolution
- Replies: 3
- Views: 244
speed differs with resolution
hi there, i have a car moving due to user input. speed of the car is highly dependend of what resolution i use. it's faster with 800x600 than with 1024x768 or even 1280x800. i optimized all values to the latter one, but people with 4:3 displays should play the game as well. are the units of differen...
- Tue Feb 21, 2006 4:57 pm
- Forum: Beginners Help
- Topic: collision ellipse doesn't rotate
- Replies: 4
- Views: 583
collision ellipse doesn't rotate
hi there i got a problem: i have a collisionresponseanimator attached to a scenenode which holds a rectangle (size=(2,1,1) at a certain position (x,0,0). the ellipse is also set to this size and the translation. the error: when rotating the scenenode to a new angle, the rectangle childnode rotates w...
- Fri Feb 17, 2006 9:40 am
- Forum: Beginners Help
- Topic: collision detection with rotated mesh?
- Replies: 2
- Views: 265
collision detection with rotated mesh?
Hi there, i'm doing a "top-view-car-drive-through-a-city"-game. nothing big, just a simple thing. I use a testscenenode as a car and a q3map as a city mesh. Viewing setup is: map is loaded in and rotated by -90 degrees around x, so it fits into the x-y-plane, camera is looking from -z into...
- Fri Jan 27, 2006 10:01 pm
- Forum: Beginners Help
- Topic: transparency in textures does not work
- Replies: 3
- Views: 709
Why not trying up a .tga file with alpha channel selection ;) ? i didn't know how to do it. thanks to your advice I tried something with photoshop and it looks quite good. I assume I add an alpha channel and use the eraser or could you give me a short tutorial on this? thank you, sometimes you try ...
- Fri Jan 27, 2006 9:05 pm
- Forum: Beginners Help
- Topic: transparency in textures does not work
- Replies: 3
- Views: 709
transparency in textures does not work
hi there, now i'm really stuck. hope some of you guys can help me out. i'm trying to create a 3d-user interface. however, starting with the basics I want to create round circular widgets. to keep it simple I put a circle image texture on a testscenenode (simple cube mesh) and make the corners transp...
- Tue Jan 24, 2006 6:21 pm
- Forum: Beginners Help
- Topic: pointemitter setposition misbehaviour
- Replies: 1
- Views: 170
- Tue Jan 24, 2006 6:01 pm
- Forum: Beginners Help
- Topic: pointemitter setposition misbehaviour
- Replies: 1
- Views: 170
pointemitter setposition misbehaviour
hi i got a pointemitter (working) and set it to a new position every frame (60fps). problem is, that the position is added to the old one, causing rate control (aka first order control, aka incremental position... this does not happen with a box emitter! this also does not happen to a testwisely inc...
- Mon Jan 23, 2006 9:27 pm
- Forum: Beginners Help
- Topic: collision with a sphere
- Replies: 2
- Views: 251
collision with a sphere
hi there i'm working on 3d user interface that features circular buttons. as i'm not into 3d modeling, i'm planning to use simple rectangles with a circular texture and have the outer parts transparent the problem is to check if the mouse hovers across such a widget: a ray cast from mouse position i...