Search found 16 matches

by gavicus
Thu Dec 21, 2006 4:41 pm
Forum: Beginners Help
Topic: GUI Button Woes
Replies: 4
Views: 293

So, has no one ever seen this problem?
by gavicus
Wed Dec 20, 2006 7:20 pm
Forum: Beginners Help
Topic: GUI Button Woes
Replies: 4
Views: 293

GUI Button Woes

I have placed a couple of buttons on my project, but am having some problems using them. When you press button zero, you get an event from that button. The button stays pressed, though, and when you try to click it again, no event is fired. So, click button one. You get an event from each button. On...
by gavicus
Thu Nov 30, 2006 7:13 pm
Forum: Beginners Help
Topic: Piecemeal Textures
Replies: 1
Views: 185

Piecemeal Textures

I expect that someone must have asked about this, but I haven't found it in search or in the API. So, sorry in advance if you're a "n00b" hater. :( I'd like to place a texture on just part of a model or primitive. For example, in many RPGs, if your character drops the leather armor and don...
by gavicus
Mon Nov 13, 2006 7:26 pm
Forum: Beginners Help
Topic: MinGW woes
Replies: 6
Views: 373

Nope, I have the #pragma comment(lib, "Irrlicht.lib") line coded in. The above code is a result of gradual trimming down until practically nothing is left. Before I removed the pragma comment, I already had the error. At this point, it compiles fine until I try the createDevice command. An...
by gavicus
Mon Nov 13, 2006 5:18 pm
Forum: Beginners Help
Topic: MinGW woes
Replies: 6
Views: 373

Ok, this gets me down to one error message Now when I try the line: IrrlichtDevice *device = createDevice(driverType, core::dimension2d<s32>(640, 480)); I get the error: C:\cpp\test\main.cpp:36: undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEj...
by gavicus
Mon Nov 13, 2006 3:43 pm
Forum: Beginners Help
Topic: MinGW woes
Replies: 6
Views: 373

MinGW woes

I'm getting a load of compile errors when trying to compile Irrlicht with MinGW Developer Studio 2.05 for the first time. I've trimmed my code down to bare bones... #include <irrlicht.h> int main() { return 0; } ...and with just that, I get 7 errors and 59 warnings. It looks like its all about the #...
by gavicus
Thu Nov 02, 2006 3:51 pm
Forum: Beginners Help
Topic: wchar_t new line?
Replies: 21
Views: 4245

wchar_t is generally a pain to work with for me. Let me add a question to this line. This is just C++ (maybe C) and not Irrlicht I'd like to tell the gui static text to display a varying number (say camera location or something) I can tell it to set text to L"camera location" but how can I...
by gavicus
Thu Nov 02, 2006 3:42 pm
Forum: Beginners Help
Topic: multiple textures
Replies: 3
Views: 354

multiple textures

I am trying to come up with a way to highlight certain areas of a world object. Say you're walking around on a contour map, and suddenly you want to know how far you can reach or walk in one turn. So, a circular (or some shape) area of the ground beneath your feet is highlighted. Looking at the API,...
by gavicus
Tue Oct 24, 2006 1:33 am
Forum: Beginners Help
Topic: clipping problem
Replies: 10
Views: 616

Still clips. Dang. Thanks for your help, though.
by gavicus
Mon Oct 23, 2006 11:38 pm
Forum: Beginners Help
Topic: clipping problem
Replies: 10
Views: 616

I hadn't tried setFOV but I just did and it clips my sphere out at the edges before I can get close enough.
by gavicus
Mon Oct 23, 2006 11:34 pm
Forum: Beginners Help
Topic: Lighting Problem
Replies: 3
Views: 246

ILightSceneNode* light = 0; float radius = 100.0f; light = smgr->addLightSceneNode( 0,core::vector3df(worldScale*1.2,0,0),video::SColorf(1,1,1,1),radius); float ltScale = 1.0; light->setScale(core::vector3df(ltScale,ltScale,ltScale)); I've used 1.0f to 1000.0f for radius and 1.0 to 100.0 for ltScale...
by gavicus
Mon Oct 23, 2006 8:45 pm
Forum: Beginners Help
Topic: Lighting Problem
Replies: 3
Views: 246

Lighting Problem

I have a couple of .md2 models in my scene. I made these models using Blender. I tried to place a light in my scene, but with or without the light, my models are full-bright and unaffected by any light I add. I used the commands... material.Lighting = true; and sceneNode->setMaterialFlag(EMF_LIGHTIN...
by gavicus
Mon Oct 23, 2006 7:41 pm
Forum: Beginners Help
Topic: clipping problem
Replies: 10
Views: 616

Yeah, when I said setNear() above, I meant setNearValue(). Changing it tends to fish-eye the view and doesn't stop the clipping problem. Any other ideas out there? How do you zoom in really close to the face of a large sphere without clipping the sphere out before you can get close enough?
by gavicus
Thu Oct 19, 2006 11:08 pm
Forum: Beginners Help
Topic: clipping problem
Replies: 10
Views: 616

clipping problem

I created a sphere and wrapped it with a map of the earth. I then gave the user the power to control the camera such that it moves around the globe and can zoom in and out. The problem comes when I try to zoom close enough that the globe takes up more space than the window size. The edges of my glob...
by gavicus
Fri Sep 08, 2006 2:24 pm
Forum: Beginners Help
Topic: EventReceiver, Flag for Mouse-Moving
Replies: 2
Views: 243

rikyoh,

On the OnMove() event, grab the mouse location and store it in something like last_mouse_loc. On each process loop, if g_mousemoving is true, check to see if the mouse's current location is equal to last_mouse_loc. If it is, then set g_mousemoving to false.

G