Search found 10 matches

by lawck
Wed Oct 24, 2007 9:35 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: How to make a 3d rpg camera in 10 steps
Replies: 38
Views: 36761

Change
virtual bool OnEvent(SEvent event)
to
virtual bool OnEvent(const SEvent &event)
by lawck
Tue Oct 23, 2007 5:37 pm
Forum: Beginners Help
Topic: Irrlicht 1.4 beta : cannot instantiate abstract class
Replies: 7
Views: 833

Right.
I feel stupid now for missing that. ><

Thanks!
by lawck
Tue Oct 23, 2007 4:03 pm
Forum: Beginners Help
Topic: Irrlicht 1.4 beta : cannot instantiate abstract class
Replies: 7
Views: 833

Well, I've been trying to port iamarcamera to irrlicht 1.4b, and... I fixed everything I could. This error was left: icamerascenenode.h: virtual const SViewFrustum* getViewFrustum() const = 0; And here's how I declared it on the camera class: virtual const SViewFrustum* getViewFrustrum() const; erro...
by lawck
Mon Oct 22, 2007 2:39 am
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

In my case, OpenGL looks better then DirectX9, but even then, OpenGL didn't look very smooth .

The one that looked the best, was EDT_SOFTWARE.
But using power of 2 image width & height, worked pretty fine for both, OpenGL and DirectX9 (didn't test it with EDT_BURNINGSVIDEO)
by lawck
Sun Oct 21, 2007 7:49 pm
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

Ahh, okay, so apparently the textures must be power of 2 indeed :(.
Thx everyone.
by lawck
Sun Oct 21, 2007 6:56 pm
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

800x600, 1024x768, 513x257, 299x116...
And I just tried 800x400.

The problem persists.
by lawck
Sun Oct 21, 2007 6:50 pm
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

I tried to clear buffer with a random rgb color and well, the problem persists.

:(
by lawck
Sun Oct 21, 2007 6:33 pm
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

I did put the drawing functions in game loop.

And as I said, if this.jpg is 512x256, it draws perfectly. Anything else, the image gets distorted. (I've also tried, bmp and png)
by lawck
Sun Oct 21, 2007 6:02 pm
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

ITexture *image = game->gDriver()->getTexture("this.jpg"); game->gDriver()->draw2DImage(image, position2d<s32>(0,0)); I've also tried IGUIImage *image; image = game->gGuiEnv()->addImage(rect<s32>(0,0,800,600)); image->setImage(game->gDriver()->getTexture("this.jpg"));
by lawck
Sun Oct 21, 2007 3:57 pm
Forum: Beginners Help
Topic: Irrlicht 2D drawing (bug?)
Replies: 15
Views: 834

Irrlicht 2D drawing (bug?)

I've been using irrlicht version1.3.1, then 1.4b for my game, and both showed the following problem: Any image that isn't 512x256 doesn't show up right (be it OpenGL or DirectX9...) In this case I programmed a new game / load game / quit state, and used a random image to test it with. Click here to ...