Search found 12 matches

by Some Moron
Sun Feb 19, 2017 4:59 pm
Forum: Beginners Help
Topic: [RESOLVED] Linux: Very large compiled binary
Replies: 3
Views: 580

Re: Linux: Very large compiled binary

I didn't think of the whole debug vs. release thing. Stripping symbols and optimizing for speed (O2) cut it below 5mb like you said. Good to know about the dynamic library space saving. I usually associate "dynamic libraries" with "small executable," but I guess in the long run I...
by Some Moron
Sun Feb 19, 2017 1:53 pm
Forum: Beginners Help
Topic: [RESOLVED] Linux: Very large compiled binary
Replies: 3
Views: 580

[RESOLVED] Linux: Very large compiled binary

I've used Irrlicht before (to some extent) on Windows, but I figured the beginner's board would be the best place for this question since it's probably something very simple. In December I brought about my Year of Linux on Desktop, and decided it was time to get back into game development. Compiling...
by Some Moron
Mon Dec 10, 2012 7:19 pm
Forum: Beginners Help
Topic: [RESOLVED] Device functions causing a crash
Replies: 2
Views: 349

Re: createAndOpenFile causing a crash

Well, now I'm feeling mildly stupid. Thanks for the help anyway, but it turned out that I was using the wrong compiled DLL - the VS one, when the project was being built with Code::Blocks. Compiling Irr and using the new DLL makes everything work smoothly.
by Some Moron
Mon Dec 10, 2012 6:24 pm
Forum: Beginners Help
Topic: [RESOLVED] Device functions causing a crash
Replies: 2
Views: 349

[RESOLVED] Device functions causing a crash

I've done some searches for this, but I haven't found anyone with the exact problem I'm having. When trying to call createAndOpenFile, the program crashes every time. The debug outputs I've added (printing 2 and 3 to standard output) confirm that this is the line causing the problem, as I get a 2 an...
by Some Moron
Thu Aug 30, 2012 2:35 pm
Forum: Beginners Help
Topic: [SOLVED] Drawing text in different sizes
Replies: 2
Views: 387

Re: Drawing text in different sizes

Thank you for the suggestions! I'd been looking at the first one and wasn't sure if it actually supported custom sizes or not, but evidently it does... the other options also look attractive.
by Some Moron
Wed Aug 29, 2012 7:50 pm
Forum: Beginners Help
Topic: [SOLVED] Drawing text in different sizes
Replies: 2
Views: 387

[SOLVED] Drawing text in different sizes

I'm aware that Irr native bitmap fonts cannot be scaled, but is there a good way around this? The only obvious solutions to me are using different sized fonts (which wastes texture memory and makes certain animation effects all but impossible) and drawing each different size of text to a render targ...
by Some Moron
Mon Aug 27, 2012 7:37 pm
Forum: Beginners Help
Topic: Drawing text skewed/crooked, etc
Replies: 4
Views: 517

Re: Drawing text skewed/crooked, etc

Hmm. Finally got around to messing with this feature (had to get around a computer issue first), but it doesn't seem to work as I'd hoped. From what I can see, ITextSceneNode displays text into static 2D space (just like drawing text in a GUI) but at whatever point on the screen matches the equivale...
by Some Moron
Sat Aug 25, 2012 3:57 pm
Forum: Beginners Help
Topic: Drawing text skewed/crooked, etc
Replies: 4
Views: 517

Re: Drawing text skewed/crooked, etc

Didn't even realize that was there, but that sounds just about right... thanks!
by Some Moron
Fri Aug 24, 2012 3:46 pm
Forum: Beginners Help
Topic: Drawing text skewed/crooked, etc
Replies: 4
Views: 517

Drawing text skewed/crooked, etc

I've found Irr's text drawing functions simple enough - create a font, call draw() with a string, and the requested text appears on the screen. This works fine for basic GUIs, but I'm wondering if it's possible to skew/rotate drawn text, or better yet, draw the text temporarily onto a model so it ca...
by Some Moron
Sun Jun 05, 2011 4:40 pm
Forum: Beginners Help
Topic: [RESOLVED] C++ class definition problems
Replies: 6
Views: 350

After a little experimentation (and moving the implementations to .cpp files), I was finally able to get the project to compile properly. Thank you for the help!
by Some Moron
Sun Jun 05, 2011 3:25 pm
Forum: Beginners Help
Topic: [RESOLVED] C++ class definition problems
Replies: 6
Views: 350

This is cameraview.h: #ifndef __camera_view_h #define __camera_view_h #include <irrlicht.h> #include <iostream> #include "gameclass.h" class View { public: void setPosition(const vector3df &pos); void setRotation(const vector3df &rot); View(void); ~View(void); void setFOV(float arc...
by Some Moron
Sun Jun 05, 2011 2:17 pm
Forum: Beginners Help
Topic: [RESOLVED] C++ class definition problems
Replies: 6
Views: 350

[RESOLVED] C++ class definition problems

I guess this board is for general programming questions as well, so this seemed like the most appropriate section to post my problem. I'm trying to use an object-oriented approach for split screen, with a class called View that can be preconfigured to a specific screen area. Its render() function wo...