Search found 19 matches

by Apoptyzm
Thu Oct 21, 2010 4:34 pm
Forum: Beginners Help
Topic: VS's /CLR with Irrlicht?
Replies: 1
Views: 272

VS's /CLR with Irrlicht?

Helloo,
can i use Irrlicht with Microsoft's /CLR runtime? How(;))?
i can't include irrlicht into CLR windows application beacause of
http://msdn.microsoft.com/en-us/library/0adb9zxe.aspx
#pragma unmanaged
in Irr headers or something.
by Apoptyzm
Sun Sep 19, 2010 3:00 pm
Forum: Bug reports
Topic: Scene Manager's saveScene saves full paths to textures.
Replies: 1
Views: 630

Scene Manager's saveScene saves full paths to textures.

Well it's all in the topic.

Im loading a .irr map sometimes to validate some things, and do some procedural changes. The thing is that when i save scene to a file from application it saves full-paths to textures instead of relative, and the map is useless on any other machine.

Is there a way to ...
by Apoptyzm
Sat Sep 11, 2010 11:08 pm
Forum: Beginners Help
Topic: How to use Quaternions in Irr?
Replies: 1
Views: 416

How to use Quaternions in Irr?

Hello,
im fighting endlessly with quaternions...

Currently im using quaternions for Slerp interpolation around Y axis.
It works fine(angle from atan2()) except for 180 angles in place of 0 on X and Z.
The angle (0, 90, 0) always looks like (180, 90, 180) after converting to euler.

So i tried to ...
by Apoptyzm
Fri Sep 10, 2010 2:13 pm
Forum: Beginners Help
Topic: Irrlicht's Unit Tests ?
Replies: 1
Views: 225

Irrlicht's Unit Tests ?

Hello,
does Irrlicht have some official test files, like unit tests?
If so, are they published somewhere online?
by Apoptyzm
Sat Sep 04, 2010 2:04 pm
Forum: Beginners Help
Topic: [solved] draw2DAnything() won't work
Replies: 1
Views: 221

[solved] draw2DAnything() won't work

Hello, i have a simple loop that won't work:


while(! woman->ready()){ //game loop
//(...)

driver->beginScene(true, true, 0);

//game stuff
GC.tick(FrameTick );

//This line doesn't work, like every type of draw2D
driver->draw2DLine(core::vector2d<s32>(100,100),core::vector2d<s32>(500,500),video ...
by Apoptyzm
Wed Aug 25, 2010 4:19 pm
Forum: Beginners Help
Topic: 2D image rotation again.
Replies: 2
Views: 400

I love You
by Apoptyzm
Tue Aug 24, 2010 3:35 pm
Forum: Beginners Help
Topic: 2D image rotation again.
Replies: 2
Views: 400

2D image rotation again.

Hello,
im trying to make a simple Speedometer fo a racing game in Irrlicht and... im still trying.

I can't rotate 2d images with draw2dImage() and i cant, rotate a Bilboard around any axis so i can't use rogerborg's tip from:
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=24279&highlight ...
by Apoptyzm
Tue Jul 27, 2010 8:57 pm
Forum: Beginners Help
Topic: FPS Camera with free cursor movement
Replies: 2
Views: 403

FPS Camera with free cursor movement

Hello,
i just want to ask if i can use CameraSceneNodeFPS in game and somehow release the cursor when i want to make some changes on screen in options/GUI with mouse? If so, then how?
Or do I have to make my own custom Camera for this simple thing?
by Apoptyzm
Thu Jul 15, 2010 12:25 pm
Forum: Beginners Help
Topic: Unwanted Heightmap Translation and terrain swaps
Replies: 2
Views: 347

I must say im getting really dissapointed with IrrEdit...
All loaded heightmaps are flipped vertically in Irredit in comparision to i.e. heightmap seen in MeshViewer...
So i can't use IrrEdit or i'll have to switch bitmaps everytime... :x
by Apoptyzm
Tue Jul 13, 2010 2:18 pm
Forum: Beginners Help
Topic: Unwanted Heightmap Translation and terrain swaps
Replies: 2
Views: 347

Unwanted Heightmap Translation and terrain swaps

Hello,
im trying to use heightmaps in my game but they don't want to cooperate.

My heightmap in IrrEdit looks good and in game its moved back,
here example screen:
http://a.yfrog.com/img685/1852/irreditbug02.jpg
http://yfrog.com/j1irreditbug02j

I tried using 256x256 257x257, different ...
by Apoptyzm
Fri Jul 09, 2010 3:17 pm
Forum: Beginners Help
Topic: Changing resources in SceneManager
Replies: 2
Views: 395

Thanks for quick reply, but im missing something.

after calling SceneManager->clear();

and loading another scene i cant register CollisionSelectors for Camera with the code trake from the tutorial:


scene::IMetaTriangleSelector * meta = smgr->createMetaTriangleSelector();

core::array<scene ...
by Apoptyzm
Wed Jul 07, 2010 1:06 pm
Forum: Beginners Help
Topic: Changing resources in SceneManager
Replies: 2
Views: 395

Changing resources in SceneManager

Hello,
im wondering how does Irrlicht deal with resources in SceneManager.

Lets say i have a game level loaded from .irr and after loading all nodes and Collision selectors and stuff i want to change level - what then?

Do i have to make new SceneManager or just load new .irr with stuff on top of ...
by Apoptyzm
Tue Jul 06, 2010 12:10 pm
Forum: Beginners Help
Topic: FileList containing added archive files?
Replies: 2
Views: 684

stefbuet wrote:

Code: Select all

             //std:string = irr::io::path
             string *filename=new std::string(fileList->getFileName(i));
How come this works? ? ?

I get C2664 in VS and its rather correct(?)
by Apoptyzm
Mon Oct 20, 2008 3:25 pm
Forum: Beginners Help
Topic: Smoothing a parented camera
Replies: 3
Views: 653

maybe You should use for example 1/10 length of a line in each frame and not always half of a line. Or 1/xx of length where xx depends on last movement of the object compared to last position.
by Apoptyzm
Mon Oct 20, 2008 3:19 pm
Forum: Beginners Help
Topic: Camera won't rotate [solved]
Replies: 4
Views: 627

thanx for reply.

I thought that normal camera's dont have setTarget, but i've found that my pointer was an IsceneNode, not CameraNode ... doh

still I wonder why i cant rotate it with setRotation..