Search found 12 matches
- Tue May 29, 2012 10:47 am
- Forum: Beginners Help
- Topic: getOriginalSize() crashes when fed a .gif
- Replies: 6
- Views: 504
Re: getOriginalSize() crashes when fed a .gif
Aah, i was afraid of that. Thank you 
- Tue May 29, 2012 8:59 am
- Forum: Beginners Help
- Topic: getOriginalSize() crashes when fed a .gif
- Replies: 6
- Views: 504
Re: getOriginalSize() crashes when fed a .gif
oh sorry
windows 7, picture is an IMeshScene Node*, and it is within the class "Pictureframe".
- Tue May 29, 2012 1:23 am
- Forum: Beginners Help
- Topic: getOriginalSize() crashes when fed a .gif
- Replies: 6
- Views: 504
Re: getOriginalSize() crashes when fed a .gif
I have tried several gifs, and they all crash the program at that place. Is there anything special about gifs im unaware of?
- Mon May 28, 2012 2:59 pm
- Forum: Beginners Help
- Topic: getOriginalSize() crashes when fed a .gif
- Replies: 6
- Views: 504
getOriginalSize() crashes when fed a .gif
Hiya.
I'm making several objects with images for textures. pngs, jpgs, bmps, they all work fine. but when a gif goes through my code it crashes out. it says the error is here:
picture->setScale(core::vector3df(
1,
picture->getMaterial(0).getTexture(0)->getOriginalSize().Height/scaledown ...
I'm making several objects with images for textures. pngs, jpgs, bmps, they all work fine. but when a gif goes through my code it crashes out. it says the error is here:
picture->setScale(core::vector3df(
1,
picture->getMaterial(0).getTexture(0)->getOriginalSize().Height/scaledown ...
- Tue May 15, 2012 4:31 pm
- Forum: Beginners Help
- Topic: Absolute references won't work
- Replies: 3
- Views: 223
Re: Absolute references won't work
Oh no wait, you were totally totally right about the trailing slashes
- Tue May 15, 2012 4:30 pm
- Forum: Beginners Help
- Topic: Absolute references won't work
- Replies: 3
- Views: 223
Re: Absolute references won't work
I've tried both kinds of slashes and removing the trailing ones 
- Tue May 15, 2012 4:08 pm
- Forum: Beginners Help
- Topic: Absolute references won't work
- Replies: 3
- Views: 223
Absolute references won't work
I'm making an alternative to windows explorer, and I am trying to make it so that as you "Walk around" your filesystem, any images in your folders appear as framed pictures hanging on the wall. But for some reason it says it "Could not open file of texture (directory)".
picture->setMaterialTexture ...
picture->setMaterialTexture ...
- Mon Jan 09, 2012 7:36 am
- Forum: Beginners Help
- Topic: IGUISkin::SetColor
- Replies: 5
- Views: 624
Re: IGUISkin::SetColor
yeah, the problem is in line 2, i got it
i just cant figure out what it wants in the friggin parameter list! The enum it asks for is apparently undefined, the colour isnt the right format, all kinds of stuff 
- Mon Jan 09, 2012 6:37 am
- Forum: Beginners Help
- Topic: IGUISkin::SetColor
- Replies: 5
- Views: 624
Re: IGUISkin::SetColor
...I don't get it
- Mon Jan 09, 2012 5:40 am
- Forum: Beginners Help
- Topic: GUI HUD ignores mouse
- Replies: 3
- Views: 517
Re: GUI HUD ignores mouse
Thanks man, that helps heaps. I turned off all the return trues in the event reciever, and made my program ignore mouse activity in the 3d realm once the mouse's position entered the GUI area <3
- Mon Jan 09, 2012 5:37 am
- Forum: Beginners Help
- Topic: IGUISkin::SetColor
- Replies: 5
- Views: 624
IGUISkin::SetColor
Dumb stupid dumb dumb question, but I have been stuck on this for a friggin hour and a half.
can someone please post some code that uses IGUISkin::SetColor properly?
This is as close as i've got:
gui::IGUISkin* TheSkin;
TheSkin->setColor(gui::EGUI_DEFAULT_COLOR::EGDC_3D_DARK_SHADOW, irr::video ...
can someone please post some code that uses IGUISkin::SetColor properly?
This is as close as i've got:
gui::IGUISkin* TheSkin;
TheSkin->setColor(gui::EGUI_DEFAULT_COLOR::EGDC_3D_DARK_SHADOW, irr::video ...
- Sun Jan 08, 2012 8:04 am
- Forum: Beginners Help
- Topic: GUI HUD ignores mouse
- Replies: 3
- Views: 517
GUI HUD ignores mouse
Hello :)
I'm guessing this may be kind of a n00b question, but there's nothing about this in the tutorials :oops:
I'm making my first game in Irrlicht, and RTS, with mouse control:
http://i1139.photobucket.com/albums/n549/Adam_Halley-Prinable/Untitled.png
and when you select a tile (by clicking ...
I'm guessing this may be kind of a n00b question, but there's nothing about this in the tutorials :oops:
I'm making my first game in Irrlicht, and RTS, with mouse control:
http://i1139.photobucket.com/albums/n549/Adam_Halley-Prinable/Untitled.png
and when you select a tile (by clicking ...