Search found 11 matches

by Clone256
Tue Jun 20, 2006 2:25 am
Forum: Beginners Help
Topic: Custom camera control
Replies: 2
Views: 241

Well, it isn't working today, which is weird. The program was working fine after that change yesterday. I haven't changed anything since then. I don't know what's wrong with this code.
by Clone256
Mon Jun 19, 2006 4:39 am
Forum: Beginners Help
Topic: Custom camera control
Replies: 2
Views: 241

After going over the code some more, I found the problem. //************************************************ // MAIN LOOP while(device->run() && driver){ if (device->isWindowActive()) { driver->beginScene(true, true, SColor(255,0,0,0)); smgr->drawAll(); //edit - The line below needed to be c...
by Clone256
Fri Jun 16, 2006 11:17 pm
Forum: Beginners Help
Topic: Custom camera control
Replies: 2
Views: 241

Custom camera control

I'm trying to use the code found at this link: http://www.irrforge.org/index.php/Custom_mouse_driven_camera_control The problem is that if the mouse cursor isn't inside the window and sitting still when the program starts, the camera control doesn't work right. That seems to be the reason. It only r...
by Clone256
Sun Jun 04, 2006 10:07 pm
Forum: Bug reports
Topic: keymap bug
Replies: 4
Views: 571

I had the same problem with the keys not moving the camera. I was using the example from http://www.irrforge.org/index.php/Keyboard_Input to get the input. In this part: if(event.EventType == irr::EET_KEY_INPUT_EVENT){ keys[event.KeyInput.Key] = event.KeyInput.PressedDown; return true; } The "r...
by Clone256
Thu May 25, 2006 4:47 am
Forum: Beginners Help
Topic: Texture mapped incorrectly in irrlicht
Replies: 2
Views: 141

Oops.

I used the right texture file in milkshape, but forgot to change the name in irrlicht. I had edited the file and saved it as a different name.

Thanks for the reply though. It caused me to stumble on to my mistake and i guess i'll still change to 3ds. :)
by Clone256
Wed May 24, 2006 4:16 am
Forum: Beginners Help
Topic: Texture mapped incorrectly in irrlicht
Replies: 2
Views: 141

Texture mapped incorrectly in irrlicht

I created a model of a building in Milkshape 1.7.8 and used the texture coordinate editor to get the texture the way i wanted it. When i load the model in irrlicht, any side of the building that i edited in the texture coordinate editor only displays a small part of the texture area i selected in mi...
by Clone256
Sat Oct 29, 2005 4:30 pm
Forum: Beginners Help
Topic: Using listbox to select a model
Replies: 3
Views: 229

Here is the complete cpp file if anyone wants to take a look. It's the file from one of the tutorials, but I've changed it and added to it.

I still havent found the problem.

http://www.angelfire.com/pro/clone256/cpp.html


-Clone
by Clone256
Thu Oct 27, 2005 9:30 pm
Forum: Beginners Help
Topic: Using listbox to select a model
Replies: 3
Views: 229

Thanks for the reply. What it's supposed to do is just change which model is selected to match the selection in the listbox. It doesn't seem to do anything though. It just keeps the last one I loaded selected. When I load 2 or more models and I select the first one in the list it won't let me change...
by Clone256
Thu Oct 27, 2005 6:34 pm
Forum: Beginners Help
Topic: Using listbox to select a model
Replies: 3
Views: 229

Using listbox to select a model

I'm trying to select a model with a listbox, but I can't get this working for some reason. This is the structure I'm using to hold the model info: struct OBJECT { scene::IAnimatedMeshSceneNode* Model; wchar_t model_name[1024]; core::vector3df scale; s32 listID; }; OBJECT object[10]; Then load the mo...
by Clone256
Fri Oct 14, 2005 11:08 pm
Forum: Beginners Help
Topic: Trying to use a variable with additem
Replies: 2
Views: 197

Well, I knew about that stuff above, but not the last part. When I try to use that line I get an error though: request for member `c_str' in `filename', which is of non-aggregate type `c8[1024]'

-Clone
by Clone256
Fri Oct 14, 2005 1:52 am
Forum: Beginners Help
Topic: Trying to use a variable with additem
Replies: 2
Views: 197

Trying to use a variable with additem

Hey. This is the first post i've made here, although I take a look around sometimes. I'm having trouble with using a char variable with addItem(). The code is the part from the mesh viewer tutorial where it loads the model, except I added a line near the end to add an item to a listbox. lbox->addIte...