Well, thanks a lot, it worked.
Setting GL_UNPACK_ALIGNEMENT to 1 did the job.
I'm pretty ashamed of myself as the skewed image should have been a telltale sign of bad alignment.
Still, I'll most likely have to pad the bytes at some points, as I've read that changing GL_UNPACK_ALIGNEMENT isn't really ...
Search found 55 matches
- Wed May 09, 2012 5:49 pm
- Forum: Off-topic
- Topic: Need some help with jpeglib
- Replies: 4
- Views: 1640
- Wed May 09, 2012 12:41 pm
- Forum: Off-topic
- Topic: Need some help with jpeglib
- Replies: 4
- Views: 1640
Need some help with jpeglib
Hi, I know it's not related to irrlicht and probably not that ok to ask but from past experience I know the poeple here are pretty knowledgeable, so I'm asking for a little help.
I'm currently working on a project and have pretty much hit a wall trying to load this jpg file using jpeglib (version ...
I'm currently working on a project and have pretty much hit a wall trying to load this jpg file using jpeglib (version ...
- Mon Apr 21, 2008 9:30 am
- Forum: Off-topic
- Topic: What a genius really isn't ... yep, me. :-(
- Replies: 14
- Views: 2791
- Sun Apr 20, 2008 9:06 pm
- Forum: Off-topic
- Topic: The Best Part of Application Development
- Replies: 16
- Views: 2329
- Sun Apr 20, 2008 9:03 pm
- Forum: Off-topic
- Topic: What a genius really isn't ... yep, me. :-(
- Replies: 14
- Views: 2791
What a genius really isn't ... yep, me. :-(
I just realized tonight that I'm 20 years old and most of the projects that I made NOW should have been done when I was 15 - 17. Not only that, but my college major is "Failling Exams", having failed 8 exams (5 medical issues, 3 actual failures), I don't know DirectX or OpenGL further than making a ...
- Sun Apr 20, 2008 8:51 pm
- Forum: Off-topic
- Topic: what a genius realy is ;-)
- Replies: 3
- Views: 760
- Fri Mar 21, 2008 10:25 pm
- Forum: Off-topic
- Topic: When getting a new PC sucks...
- Replies: 3
- Views: 1011
- Tue Mar 18, 2008 9:31 pm
- Forum: Off-topic
- Topic: When getting a new PC sucks...
- Replies: 3
- Views: 1011
When getting a new PC sucks...
I just (well, actually two weeks ago) got myself a full upgrade.
MB: K8M800 Micro AM2
Proc: AMD Sempron LE1150
RAM: Zeppelin
HD: Western Digital (SATA) 80 GB (can't remember model)
I kept the video card, an "old" 5200 FX (AGP).
Well, now the fun part started. I installed windows and, first thing it ...
MB: K8M800 Micro AM2
Proc: AMD Sempron LE1150
RAM: Zeppelin
HD: Western Digital (SATA) 80 GB (can't remember model)
I kept the video card, an "old" 5200 FX (AGP).
Well, now the fun part started. I installed windows and, first thing it ...
- Tue Mar 18, 2008 12:32 pm
- Forum: Beginners Help
- Topic: draw2DImage issue
- Replies: 4
- Views: 368
- Tue Mar 18, 2008 11:55 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: TrueType font Support by FreeType Library
- Replies: 183
- Views: 105370
here you go, now it works in irrlicht 1.4. That is, if anyone wants it.
http://rapidshare.com/files/100444358/I ... e.zip.html
http://rapidshare.com/files/100444358/I ... e.zip.html
- Tue Mar 18, 2008 10:23 am
- Forum: Beginners Help
- Topic: draw2DImage issue
- Replies: 4
- Views: 368
draw2DImage issue
I'm really having a problem with
IVideoDriver
m_pDriver->draw2DImage(windowskin, rect<s32>(x, y+6, x+6, tempY-6), irr::core::rect<irr::s32>(LT_LIN_ST_X, LT_LIN_ST_Y, LT_LIN_END_X, LT_LIN_END_Y), 0, wincolor, true);
I know that the method
virtual void irr::video::IVideoDriver::draw2DImage ...
IVideoDriver
m_pDriver->draw2DImage(windowskin, rect<s32>(x, y+6, x+6, tempY-6), irr::core::rect<irr::s32>(LT_LIN_ST_X, LT_LIN_ST_Y, LT_LIN_END_X, LT_LIN_END_Y), 0, wincolor, true);
I know that the method
virtual void irr::video::IVideoDriver::draw2DImage ...
- Wed Feb 28, 2007 6:49 pm
- Forum: Code Snippets
- Topic: frustrum culling optimization?
- Replies: 3
- Views: 3220
- Tue Dec 19, 2006 12:43 pm
- Forum: Advanced Help
- Topic: How am I supposed to make a mesh loader?
- Replies: 2
- Views: 445
- Tue Dec 19, 2006 7:29 am
- Forum: Advanced Help
- Topic: How am I supposed to make a mesh loader?
- Replies: 2
- Views: 445
How am I supposed to make a mesh loader?
I've seen the source to about 5-6 loaders and they have almost nothing in common, so what are the steps in creating an Irrlicht mesh loader?
- Fri Nov 24, 2006 6:57 pm
- Forum: Beginners Help
- Topic: Trying to parse some text ( using C++ )
- Replies: 3
- Views: 301
Trying to parse some text ( using C++ )
I need to get a block of text into memory and for that i'd use
text=(char**)realloc(text, no_lines*sizeof(char*));
text[no_lines]=(char*)malloc(max_line_width*sizeof(char));
however when I try
text=(char**)realloc(text, 8*sizeof(char*));
text[0]="test";
it crashes. does anyone know an efficient ...
text=(char**)realloc(text, no_lines*sizeof(char*));
text[no_lines]=(char*)malloc(max_line_width*sizeof(char));
however when I try
text=(char**)realloc(text, 8*sizeof(char*));
text[0]="test";
it crashes. does anyone know an efficient ...