Search found 10 matches

by WhyMe
Mon Apr 29, 2013 2:03 pm
Forum: Beginners Help
Topic: New Text Position
Replies: 3
Views: 423

Re: New Text Position

Ow You have right.
I needed to change cam coordinates, and now, camera and sc pointer is moving.
Even the change position of sc pointer when creating isn't affect for the moving.
I think, I need to understand better 3D system.

Thank You.
by WhyMe
Sat Apr 27, 2013 10:27 am
Forum: Beginners Help
Topic: New Text Position
Replies: 3
Views: 423

New Text Position

Hello, I tried to move text in 2d scene mode, but it don't want change it own position.
Also I have a qustion - to show only text, for my code, I used ITextSceneNode - it is good idea ?

Code:

#include <irrlicht.h>
#include <ctime>
#include <cstdlib>

using namespace irr;

#define WIDTH ...
by WhyMe
Sun Feb 17, 2013 9:45 pm
Forum: Beginners Help
Topic: Shaders Demo explanation of low level shader language
Replies: 0
Views: 601

Shaders Demo explanation of low level shader language

Hello.
I study shader tutorial, and i can't understand how to manage with registers, when I want to use Assembler language.

In the example:


//Shader Tutorial
if (UseHighLevelShaders)
services->setVertexShaderConstant("mInvWorld", invWorld.pointer(), 16);
else
services->setVertexShaderConstant ...
by WhyMe
Thu Feb 14, 2013 6:35 pm
Forum: Beginners Help
Topic: Collision demo - set collision to characters
Replies: 3
Views: 762

Re: Collision demo - set collision to characters

Sorry, the english is not my native speak language, so it is very hard to say something.

About physics, ok, after learn how Irrlicht works, I will try maybe Newton, because I seen some tutorials.

About collision. I am little confused, why I should node pointed to camera, not to character, and why ...
by WhyMe
Thu Feb 14, 2013 12:09 pm
Forum: Beginners Help
Topic: Collision demo - set collision to characters
Replies: 3
Views: 762

Re: Collision demo - set collision to characters

At least I made it, but I would like to know more.

I added collision to two characters, like that:
selector = smgr->createOctreeTriangleSelector(node->getMesh(), node, 128);

core::aabbox3d<f32> box = node->getBoundingBox();
core::vector3df radius = box.getExtent();

if(selector)
{
node ...
by WhyMe
Tue Feb 12, 2013 10:16 pm
Forum: Beginners Help
Topic: Collision demo - set collision to characters
Replies: 3
Views: 762

Collision demo - set collision to characters

Hello.
I readed the collision demo, and tried set collision to other characters which was added.
At the beginning I try to faerie character, but she is going down by gravitation. I think, i just forget something. :(

This is a fragment code modified by me:
// Add an MD2 node, which uses vertex ...
by WhyMe
Mon Feb 11, 2013 6:36 pm
Forum: Beginners Help
Topic: [SOLVED] Creating IGUIEnvironment object, what abut id ??
Replies: 2
Views: 484

Re: Creating IGUIEnvironment object, what abut id ??

Well, ok I understand how it was made.
So, the ID can be all digits in integer range (except 0).

Thank you for respond.
by WhyMe
Sun Feb 10, 2013 7:09 pm
Forum: Beginners Help
Topic: [SOLVED] Creating IGUIEnvironment object, what abut id ??
Replies: 2
Views: 484

[SOLVED] Creating IGUIEnvironment object, what abut id ??

Hello.
I have not idea how and where to find explaint abut "id" number in function, like addbutton(...).
The default number of id is -1. Why ??
What is happen, when I set id = -1,0, > 1 or < -1 ??

I have hope, I wrote it clearly.
Regards.
by WhyMe
Sat Jan 26, 2013 6:56 pm
Forum: Beginners Help
Topic: Font Draw - Sydney Tutorial
Replies: 3
Views: 732

Re: Font Draw - Sydney Tutorial

I moved this line to the loop, but it didn't work ...

#include <../../../../Qt/Qt5/X64/include/QtCore//QCoreApplication>
#include <../../../../Qt/Qt5/X64/include/Irrlicht/irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io ...
by WhyMe
Sat Jan 26, 2013 6:13 pm
Forum: Beginners Help
Topic: Font Draw - Sydney Tutorial
Replies: 3
Views: 732

Font Draw - Sydney Tutorial

Hello.

I'm new on this forum and with programming with using graphics engines. So, i want to say hello to everyone, and please forgive me my english.

Ok.

I modify HelloWorld tutorial with drawing an extern fonts, but, even if they are loaded, they aren't displayed. I trying with built in fonts ...