Search found 61 matches

by Rabid Mantis
Sun Sep 11, 2005 12:47 am
Forum: Off-topic
Topic: exporting directx models with armatures in blender
Replies: 5
Views: 642

exporting directx models with armatures in blender

I'm using the Directx8 mod1.3.2 I found on these forums, and I can export models fine with it, but if the model has armature in it, meshview crashes when I try to load it. I did some searching around, and read in different places about things I should try: -set all origins to 0,0,0 and the same rota...
by Rabid Mantis
Wed Jul 27, 2005 8:21 pm
Forum: Beginners Help
Topic: WTF?!? stupid error out of the blue. help pls!
Replies: 6
Views: 274

I tried entering 0 for every last value in CHARACTER before returning it, and made sure my compiler was set on debug, and it still doesnt work. I'm not sure exactly what syntax to use to initialize my structures. can someone show me how on this small example structure? typedef struct HQ { wchar_t na...
by Rabid Mantis
Tue Jul 26, 2005 12:39 pm
Forum: Beginners Help
Topic: WTF?!? stupid error out of the blue. help pls!
Replies: 6
Views: 274

So I should make sure to enter a value in for all my variables in the structure? I didnt know that could cause a problem if I didnt. I'll try that.
by Rabid Mantis
Tue Jul 26, 2005 9:42 am
Forum: Beginners Help
Topic: WTF?!? stupid error out of the blue. help pls!
Replies: 6
Views: 274

WTF?!? stupid error out of the blue. help pls!

for no apparent reason whatsoever, whenever I try to run my program I get this error An unhandled exception of type 'System.StackOverflowException' occurred ...and it always points to where I declare my event handler. MyEventReceiver receiver; Now, in an attempt to figure out wtf is going on, I elim...
by Rabid Mantis
Mon Jun 20, 2005 8:10 am
Forum: Beginners Help
Topic: screen capture code?
Replies: 6
Views: 602

It does look useful, but I cant find alot of the code you're using in the API.... things like CreateOffscreenPlainSurface and GetFrontBufferData. I even seached my irrlicht source code and didnt come up with anything. Is that dx stuff? I wanted to see if GetFrontBufferData captured the entire deskto...
by Rabid Mantis
Mon Jun 20, 2005 6:39 am
Forum: Beginners Help
Topic: screen capture code?
Replies: 6
Views: 602

No, i think I gave you the wrong idea. I'm not comparing similarities, i want to test to see if that exact image is in a certain spot. the image being tested for is identical to the loaded bitmap its being compared to. example: I've got a bitmap of a program icon. I want to capture a rectangle from ...
by Rabid Mantis
Mon Jun 20, 2005 6:08 am
Forum: Beginners Help
Topic: screen capture code?
Replies: 6
Views: 602

screen capture code?

I'm making something similar to a macro program, and I need it to be able to check for certain images on certain parts of the screen. Does irrlicht have anything that might help to capture whatever happens to be on the screen within a certain rectangle and store it, then compare the captured image t...
by Rabid Mantis
Tue Jun 14, 2005 9:43 am
Forum: Beginners Help
Topic: Space flight rotation - 3d rts view.(SOLVED)
Replies: 12
Views: 913

Someone asked me to explain this better. On the example I gave, it was using an array of struct SHIP as variables, so I'll change those into easy-to-use variables. The original problem is that when you use setRotation, it can set the X and Y facing of your node fine, but if you roll it with Z, it th...
by Rabid Mantis
Fri Jun 10, 2005 4:58 am
Forum: Beginners Help
Topic: Draw3dLine draws at wrong place!
Replies: 7
Views: 445

Sounds like you just need to set the transformation for the driver. try putting this just before the driver->draw3DLine line: driver->setTransform(video::ETS_WORLD, core::matrix4()); Depending on what you've done with your program, you may need to fix some of your other graphics code to work with th...
by Rabid Mantis
Wed Jun 01, 2005 9:46 pm
Forum: Beginners Help
Topic: Space flight rotation - 3d rts view.(SOLVED)
Replies: 12
Views: 913

actually I figured out a real easy way to do it. vector3df newvect(ships .rotation); newvect.Z = 0; ships .shellmodel->setRotation(newvect); newvect = ships .rotation; newvect.X = 0; newvect.Y = 0; matrix4 m = ships .shellmodel->getRelativeTransformation(); matrix4 n; n.setRotationDegrees(newvect); ...
by Rabid Mantis
Mon May 30, 2005 9:39 am
Forum: Beginners Help
Topic: Space flight rotation - 3d rts view.(SOLVED)
Replies: 12
Views: 913

I'm trying to figure it out but I don't have much experience with matrixes.I feel like I'm trying to re-invent the wheel... does nobody know how to do it? If I could have a second node to store the rotated ship and then adjust X and Y from there I'd know what to do... is there anything similar to no...
by Rabid Mantis
Fri May 27, 2005 5:19 pm
Forum: Beginners Help
Topic: Space flight rotation - 3d rts view.(SOLVED)
Replies: 12
Views: 913

Nope. I tried both of the rotations on that page, and neither work like I want. :cry:

I need to somehow roll the ship (rotate.Z) and then adjust the X and Y rotation as if Z were still 0.
by Rabid Mantis
Fri May 27, 2005 8:47 am
Forum: Beginners Help
Topic: Space flight rotation - 3d rts view.(SOLVED)
Replies: 12
Views: 913

Space flight rotation - 3d rts view.(SOLVED)

setRotation works fine if i'm turning the ship left, right, up, or down (rotation.X and .Y), but when I roll the ship (rotation.Z) things get hairy. I'm viewing the ship from the outside and I want the X and Y rotation of the ship to be completely independant of the roll. Apparently when I use setRo...
by Rabid Mantis
Sun May 22, 2005 6:22 pm
Forum: Advanced Help
Topic: Drawing a filled polygon?
Replies: 2
Views: 583

Okay, I figured out I can use drawIndexedTriangleList to actually draw the triangles, and set material type to EMT_TRANSPARENT_ALPHA_CHANNEL for alpha blending.
by Rabid Mantis
Sat May 21, 2005 7:12 pm
Forum: Advanced Help
Topic: Drawing a filled polygon?
Replies: 2
Views: 583

Drawing a filled polygon?

Can irrlicht draw a filled polygon? I know It can do a rectangle, but I can't find anything else. If not, does anyone know how I'd go about doing it myself? I know how to draw shapes and work with vertices in 3d space, but not how to fill them. I just need to fill it with a single alpha blended colo...