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: 1640

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

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 ...
by Cristian
Sun Apr 20, 2008 9:06 pm
Forum: Off-topic
Topic: The Best Part of Application Development
Replies: 16
Views: 2329

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

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: 1011

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

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

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 ...
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: 445

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: 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?
by Cristian
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 ...