Search found 13 matches

by RVM
Mon May 07, 2012 12:23 pm
Forum: Beginners Help
Topic: [Solved]3Dline are visible only under certain angle
Replies: 7
Views: 619

Re: 3Dline are visible only under certain angle

Well, you seem to have misunderstood both the API docs and our suggestions. You have to call setMaterial and setTransformation directly before the draw3DLine call. In each render cycle.

Sorry but I didn't know that I must call setMaterial and setTransformation every time before draww3dline in ...
by RVM
Mon May 07, 2012 8:56 am
Forum: Beginners Help
Topic: [Solved]3Dline are visible only under certain angle
Replies: 7
Views: 619

Re: 3Dline are visible only under certain angle

Hi,

@smso : I have test with your code but don't resolve this problem.

@hybrid : I have set zbuffer to false, and now, the line go black when I am near.

I have search about my orientation problem and why I have 2 line.
I think it's because I have rotate all world mesh by -90,180,0. And now the Y ...
by RVM
Sun May 06, 2012 11:54 pm
Forum: Beginners Help
Topic: [Solved]3Dline are visible only under certain angle
Replies: 7
Views: 619

Re: 3Dline are visible only under certain angle

I have set the transformation matrix as in the doc :

Code: Select all

VideoDriver->setTransform(irr::video::ETS_WORLD, irr::core::IdentityMatrix);
But don't help.. (http://youtu.be/2D5VSOqHgo0)
I have some orientation error too, the ray start at vector3df(10,10,10) and end at start + vector3df(0,-100,0).

RVM
by RVM
Sun May 06, 2012 2:11 pm
Forum: Beginners Help
Topic: [Solved]3Dline are visible only under certain angle
Replies: 7
Views: 619

[Solved]3Dline are visible only under certain angle

Hello,

I draw a 3D line with this code in a 3D environment with a skybox, some 3D mesh and a FPSCamera :

VideoDriver->draw3DLine(irr::core::vector3df(0,50,0),irr::core::vector3df(0,-500,0));


Before I do :

irr::video::SMaterial m;
m.Lighting = false;
VideoDriver->setMaterial(m);


But I ...
by RVM
Fri May 04, 2012 5:06 pm
Forum: Code Snippets
Topic: TextArea GUI Element [v1.0]
Replies: 37
Views: 106698

Re: TextArea GUI Element [v1.0]

Do you have Line.h and Line.cpp in your project?
Yes
Did you change anything in in the TextArea.h or .cpp ?
No
Can you build the example in the download? (main.cpp)
Yes and it run...
But you must change this line :
TextArea* chatBox = new TextArea(Environment);
to :
TextArea* chatBox = new ...
by RVM
Fri May 04, 2012 1:54 pm
Forum: Beginners Help
Topic: Tutorial 15 : Error at getSceneNodeFromType
Replies: 2
Views: 375

Re: Tutorial 15 : Error at getSceneNodeFromType

Hi,

The declaration of getSceneNodesFromType is the following one :

virtual void getSceneNodesFromType(ESCENE_NODE_TYPE type,
core::array<scene::ISceneNode*>& outNodes,
ISceneNode* start=0) = 0;


I use MinGW with gcc version 4.6.2 under Windows 7 64b.

But I have found how to correct this ...
by RVM
Fri May 04, 2012 1:49 pm
Forum: Code Snippets
Topic: TextArea GUI Element [v1.0]
Replies: 37
Views: 106698

Re: TextArea GUI Element [v1.0]

Hello,

I have some error when I compile my project with this code (Irr v1.7.3):

Text_Zone = new TextArea(GuiEnv,GuiEnv->getRootGUIElement());
Text_Zone->setDimension(irr::core::rect<irr::s32>(5,deskres.Height-65, 105,deskres.Height));
Text_Zone->setMaxLines(6);
Text_Zone->setAlignment(TextArea ...
by RVM
Wed May 02, 2012 12:40 pm
Forum: Beginners Help
Topic: Tutorial 15 : Error at getSceneNodeFromType
Replies: 2
Views: 375

Tutorial 15 : Error at getSceneNodeFromType

Hello,

I work with the tutorial 15 and I encounter a problem with the function getSceneNodeFromType :


core::array<scene::ISceneNode *> nodes;
smgr->getSceneNodesFromType(scene::ESNT_ANY, nodes);


Get this error :

..\SDK\irrlicht-1.7.3\include\ISceneManager.h|1053|note: no known conversion ...
by RVM
Thu Apr 05, 2012 8:55 am
Forum: Beginners Help
Topic: Eventreceiver block animator OnEvent
Replies: 3
Views: 355

Re: Eventreceiver block animator OnEvent

CuteAlien wrote:Sounds like you might return "true" in your eventreceiver. That marks events are finished and the camera animator will no longer receive them. So by default return false unless you want to ensure an event is not passed any further.
It was my case, thank you.

RVM
by RVM
Thu Apr 05, 2012 7:44 am
Forum: Beginners Help
Topic: Eventreceiver block animator OnEvent
Replies: 3
Views: 355

Eventreceiver block animator OnEvent

Hello,

I have a problem with the eventreceiver :
My program have a MainEventreceiver for general use (GUI, some GameState ) and a camera animator.
When I create my device with EventReceiver (or set), the OnEvent at my animator don't run..

Can someone enlighten me ?
RVM
by RVM
Tue Apr 05, 2011 4:47 pm
Forum: Everything 2d/3d Graphics
Topic: arb assembly tutorials?
Replies: 19
Views: 11430

Try to search on google with this : "ext:pdf intext:OpenGL ARB assembly"

I have found this :
http://oss.sgi.com/projects/ogl-sample/registry/ARB/GLSLangSpec.Full.1.10.59.pdf
http://www.renderguild.com/gpuguide.pdf
http://www.ceng.metu.edu.tr/courses/ceng477/2006/documents/GDC03 ...
by RVM
Mon Apr 04, 2011 4:47 pm
Forum: Game Programming
Topic: Script evaluation
Replies: 44
Views: 15243

Here you can find a Game Scripting Languages Comparaison who talk about AngelScript, GameMonkey, Lua, Pawn, Squirrel and TinyScheme.

Edit : You can see at http://pastie.org/1721408 too
by RVM
Mon Mar 28, 2011 3:35 pm
Forum: Project Announcements
Topic: TrollBrad [Free][RPG+RTS][WIP][TECHDEMO]
Replies: 35
Views: 15281

That is funny ^^
Test on a GTX 460 OC, I7 870 (2.9Ghz), Win 7 Pro 64b, 8 go ram => between 83 and 90 fps

But the troops become invisible when passing through or side