Search found 16 matches

by Jake007
Wed Aug 24, 2011 9:16 am
Forum: Beginners Help
Topic: Reducing CPU loading when using 100s scenenodes
Replies: 29
Views: 2106

Re: Reducing CPU loading when using 100s scenenodes

CreateDeviceEx() function will automaticaly regulate CPU usage in my experience on Windows.

Regards,
Jake
by Jake007
Tue Aug 16, 2011 4:47 pm
Forum: Beginners Help
Topic: Quack 3 maps
Replies: 2
Views: 383

Re: Quack 3 maps

Hi!

You can download pk3 maps here:
http://downloads.mercenariesguild.net/maps/
http://maps.nexuizninjaz.com/


This are only first two search results on Google ( search string: "download pk3 maps").

Of course you can create your own maps.
http://www.katsbits.com/tutorials/idtech/how-to-make ...
by Jake007
Mon Jul 18, 2011 9:55 pm
Forum: Beginners Help
Topic: No texture when loading a mesh
Replies: 5
Views: 707

Re: No texture when loading a mesh

In my experience ( based on Blender where there is a little more trouble), you still have to put image over your model ( like in tutorial 1).

node->setMaterialTexture( 0, driver->getTexture("image.something") );

Also make sure, that your models are properly unwrapped as christianclavet already ...
by Jake007
Sun Jul 17, 2011 1:31 pm
Forum: Beginners Help
Topic: Mesh rotation
Replies: 1
Views: 178

Mesh rotation

Hi!

Is it possible to calculate center of an imported mesh ( in my case .md3)?
I would like to rotate it in its center, but I need my origin point where the main mesh's point is, because of parenting.

Regards,
Jake
by Jake007
Sat Jul 16, 2011 5:46 pm
Forum: Beginners Help
Topic: Execute code Before ALT+F4
Replies: 3
Views: 454

Re: Execute code Before ALT+F4

Thanks. I'll try HerrAlamnack's suggestion. Otherwise, I've already came up with alternative. Not so precise, but I it should do.
by Jake007
Sat Jul 16, 2011 4:04 pm
Forum: Beginners Help
Topic: Execute code Before ALT+F4
Replies: 3
Views: 454

Execute code Before ALT+F4

Hi!

Is it possible to execute some code before ALT + F4?

Irrlicht can't detect ALT key as I found out here -> http://irrlicht.sourceforge.net/forum/v ... =7&t=40253 ( if it can please let me know), so I can't simply use if statement.

Regards,
Jake
by Jake007
Thu Jul 14, 2011 11:29 am
Forum: Beginners Help
Topic: Window without edge
Replies: 2
Views: 218

Window without edge

Hi!

Is it possible to create window in windowed mode without outer edge ( where the title is written and where the X is to close the application)?

Regards,
Jake
by Jake007
Sun Jul 10, 2011 4:48 pm
Forum: Beginners Help
Topic: FPS camera doesn't work
Replies: 8
Views: 438

Re: FPS camera doesn't work

@serengeor
You were right :). There was one return statement too much.

@Radikalizm
I am using it only for test purposes. My camera class is half done. But until then FPS camera will do.

With that problem solved also cmd logs started working. Thank you all for your help.

Regards,
Jake
by Jake007
Sun Jul 10, 2011 4:28 pm
Forum: Beginners Help
Topic: FPS camera doesn't work
Replies: 8
Views: 438

Re: FPS camera doesn't work

I found where the problem is. But I don't know why. As soon as I removed &receiver from device creation parameters it worked. I'm using slightly modified version of mast event receiver.
Does anyone maybe know why?
by Jake007
Sun Jul 10, 2011 4:11 pm
Forum: Beginners Help
Topic: FPS camera doesn't work
Replies: 8
Views: 438

Re: FPS camera doesn't work

I don't get any errors at all. It renders everything ok, receiver also works, so it gets control over mouse.

This is the code I used ( and 20 other versions):

Code: Select all

smgr->addCameraSceneNodeFPS();
device->getCursorControl()->setVisible(false);
by Jake007
Sun Jul 10, 2011 3:57 pm
Forum: Beginners Help
Topic: FPS camera doesn't work
Replies: 8
Views: 438

FPS camera doesn't work

Hi!

addCameraSceneNodeFPS() doesn't work. I have tried examples from various tutorials but nothing. I have tried with Maya camera but same problem. If I try to open project from examples directory and compiling it, it works.
I create my device with createDeviceEx and I also tried with createDevice ...
by Jake007
Wed Jul 06, 2011 6:00 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 178
Views: 214578

Re: Irrlicht i18n (Unicode, FreeType, etc.)

I managed to get it working :).
When I tried to run it again ( directly from Code::Blocks CTRL + F10) with new version of CGUITTFont compiled in, it crashed again. It wrote that it couldn't open arial.ttf although I have it in correct folder. Then I tried to run just compiled .exe ( double click) in ...
by Jake007
Tue Jul 05, 2011 2:23 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 178
Views: 214578

Re: Irrlicht i18n (Unicode, FreeType, etc.)

Yes I have arial.ttf in the same directory as .exe. I even tried full path to it but it still crashes.

I included irrUString.h in CGUIFont.h.
This is full striped code:
#include <iostream>
#include <irrlicht.h>
#include "CGUITTFont.h"

using namespace std;

using namespace irr;
using namespace ...
by Jake007
Tue Jul 05, 2011 9:52 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 178
Views: 214578

Re: Irrlicht i18n (Unicode, FreeType, etc.)

Hi!

This looks awesome. But I'm having problems with program crashing. First it always crashed when I tried to load a font. Now it doesn't anymore probably because of the new fix.
Now it crashes when I'm trying to draw text.

It happens at this line:
tt_font->draw( test, rect<s32>( 300, 300,400 ...
by Jake007
Mon Jul 04, 2011 1:08 pm
Forum: Beginners Help
Topic: Resize 2D image/texture
Replies: 2
Views: 547

Re: Resize 2D image/texture

I wanted to render it larger. I managed to get it working. Thanks :).

Here is the code snippet if anyone will have the same problem:
driver->draw2DImage( image, rect<s32>(50, 50, 150, 150), rect<s32>( 0, 0, 500, 500), 0, 0, false);


And a function prototype:
virtual void draw2DImage(const ...