Search found 55 matches

by Cristian
Wed May 09, 2012 5:49 pm
Forum: Off-topic
Topic: Need some help with jpeglib
Replies: 4
Views: 1544

Re: Need some help with jpeglib

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...
by Cristian
Wed May 09, 2012 12:41 pm
Forum: Off-topic
Topic: Need some help with jpeglib
Replies: 4
Views: 1544

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 6a...
by Cristian
Mon Apr 21, 2008 9:30 am
Forum: Off-topic
Topic: What a genius really isn't ... yep, me. :-(
Replies: 14
Views: 2639

Since when does making a kermit implementation say everything about you... or your skills. The computer oriented subjects, I can handle for the most part (I'll force-study if I have to). What I really have problems with are math, physics, electronics, etc. EDIT: It sounds bad but all/most of my proj...
by Cristian
Sun Apr 20, 2008 9:06 pm
Forum: Off-topic
Topic: The Best Part of Application Development
Replies: 16
Views: 2070

Good for you. At least you're finishing. :D BTW, how did you pass the mathematics and physics exams at your college?
by Cristian
Sun Apr 20, 2008 9:03 pm
Forum: Off-topic
Topic: What a genius really isn't ... yep, me. :-(
Replies: 14
Views: 2639

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...
by Cristian
Sun Apr 20, 2008 8:51 pm
Forum: Off-topic
Topic: what a genius realy is ;-)
Replies: 3
Views: 715

At least he had 40$...
by Cristian
Fri Mar 21, 2008 10:25 pm
Forum: Off-topic
Topic: When getting a new PC sucks...
Replies: 3
Views: 971

Thanks for the advice. I know the problem resides in the RAM. It's either the DIMM or the MB itself.
by Cristian
Tue Mar 18, 2008 9:31 pm
Forum: Off-topic
Topic: When getting a new PC sucks...
Replies: 3
Views: 971

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...
by Cristian
Tue Mar 18, 2008 12:32 pm
Forum: Beginners Help
Topic: draw2DImage issue
Replies: 4
Views: 343

@hybrid: Thanks, this was really dumb of me.:lol:
So, it's four colors, one for each point in the rect I guess... :D
by Cristian
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: 102337

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
by Cristian
Tue Mar 18, 2008 10:23 am
Forum: Beginners Help
Topic: draw2DImage issue
Replies: 4
Views: 343

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 ( const vid...
by Cristian
Wed Feb 28, 2007 6:49 pm
Forum: Code Snippets
Topic: frustrum culling optimization?
Replies: 3
Views: 3175

I tried to optimize your code (if else part). Sorry if this was useless. core::vector3d<f32> nearest; for (int i=0;i<6;i++) { nearest.X = tbox.MaxEdge.X; if(cam->getViewFrustrum()->planes[i].Normal.X <= 0) nearest.X = tbox.MinEdge.X; nearest.Y = tbox.MaxEdge.Y; if(cam->getViewFrustrum()->planes[i].N...
by Cristian
Tue Dec 19, 2006 12:43 pm
Forum: Advanced Help
Topic: How am I supposed to make a mesh loader?
Replies: 2
Views: 400

So I can store the AnimatedMesh in any (logical) way I can think of, the only issue being the actual reading of the file? Ok, thanks for the explanation.
by Cristian
Tue Dec 19, 2006 7:29 am
Forum: Advanced Help
Topic: How am I supposed to make a mesh loader?
Replies: 2
Views: 400

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?
by Cristian
Fri Nov 24, 2006 6:57 pm
Forum: Beginners Help
Topic: Trying to parse some text ( using C++ )
Replies: 3
Views: 253

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 effi...