Search found 14 matches

by VeTaL
Thu Aug 11, 2011 11:02 pm
Forum: Beginners Help
Topic: u8 and u32
Replies: 4
Views: 258

Re: u8 and u32

Thanks for fast answer.
by VeTaL
Thu Aug 11, 2011 5:43 pm
Forum: Beginners Help
Topic: u8 and u32
Replies: 4
Views: 258

u8 and u32

Just wondering if its correct to compare u8 and u32

u8 uint8;
u32 uint32;

if (uint8 <= uint32) {}

and so on
by VeTaL
Fri Mar 11, 2011 10:25 pm
Forum: Advanced Help
Topic: Trouble with bounding box
Replies: 4
Views: 712

I also think that i missed something simple, but bboxes shows that everything is ok 0_0
by VeTaL
Fri Mar 11, 2011 6:48 pm
Forum: Advanced Help
Topic: Trouble with bounding box
Replies: 4
Views: 712

Thanks for taking a look :)
Tried your variant- still the same problem.

Anyway, debugger shows that radius is (40,25,40). :shock:

Edit: well... maybe i need to update ellipse every frame, or something like that?
by VeTaL
Fri Mar 11, 2011 4:10 pm
Forum: Advanced Help
Topic: Trouble with bounding box
Replies: 4
Views: 712

Trouble with bounding box

// Load mesh _mesh = _scene->getMesh("../Assets/Barrel.3ds"); _node = _scene->addMeshSceneNode(_mesh); _node->setMaterialFlag(EMF_LIGHTING, false); _node->setParent(_scene->getRootSceneNode()); pos.Y += 10; _node->setPosition(pos); // Add selector scene::ITriangleSelector* selector = _sce...
by VeTaL
Fri Mar 11, 2011 12:36 am
Forum: Beginners Help
Topic: Using ICollisionCallback and onCollision (newbie-question)
Replies: 3
Views: 1137

Works fine for me, thanks.
What about not allowing player to go through ninja?

EDIT: sry, didnt notice that it is one-year-old post :)
EDIT2: problem is solved
by VeTaL
Wed Mar 09, 2011 12:00 pm
Forum: Beginners Help
Topic: getTexture and addInOutFader
Replies: 4
Views: 563

Looking like this delay is caused by console output: when console is printing that some files are loaded, they are ready to use.

But, on the other hand, adding
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
to code didnt solve a problem.
by VeTaL
Wed Mar 09, 2011 9:38 am
Forum: Beginners Help
Topic: getTexture and addInOutFader
Replies: 4
Views: 563

I also think so... Can you please check the demo?
by VeTaL
Tue Mar 08, 2011 10:21 pm
Forum: Beginners Help
Topic: getTexture and addInOutFader
Replies: 4
Views: 563

getTexture and addInOutFader

How does texture (and, probably, model) loader works? I have next structure: image = getTexture() .... AddInOutFader FadeIn(1000) The problem is: texture loading takes some time (lets say, 0.25 sec). So, when engine starts render fading, i see picture, already faded on 25%. Looking like the process ...
by VeTaL
Sun Feb 27, 2011 10:08 pm
Forum: Bug reports
Topic: Object dump in 1.8.0 alpha
Replies: 4
Views: 873

Well, there is a lot of code... I'll try to reproduce this on simple application.

Just thought that its common bug/feature for new version.
by VeTaL
Sun Feb 27, 2011 9:54 pm
Forum: Bug reports
Topic: Object dump in 1.8.0 alpha
Replies: 4
Views: 873

Object dump in 1.8.0 alpha

I noticed that an object dump appeared in last alpha. It shows a lot of memory leaks even i engine's files: Data: <@ % X > 40 FE 25 04 58 E0 83 00 20 E1 83 00 B1 00 CD CD q:\Irrlight\irrlicht-1.7.2\include\irrMap.h(544) : {1239} client block at 0x0425FE40, subtype 0, 24 bytes long. Data: < % > 00 00...
by VeTaL
Fri Feb 25, 2011 4:04 pm
Forum: Code Snippets
Topic: Simple log writer
Replies: 4
Views: 2317

Read a little about GNU General Public License version 3: looking like i can modify it and nobody would arrest me for that. Just wanted to share my little improvement to this logger. Little snippet below allows to print messages in console and see them in runtime, not only in log. Find void CLogFile...
by VeTaL
Thu Feb 24, 2011 3:21 pm
Forum: Project Announcements
Topic: FunCollision v1.0 Source + Bin + Tutorials
Replies: 67
Views: 37451

Thanks for fast reply :)
by VeTaL
Wed Feb 23, 2011 11:59 pm
Forum: Project Announcements
Topic: FunCollision v1.0 Source + Bin + Tutorials
Replies: 67
Views: 37451

Hi, guys... Looking like the link is broken :?