Search found 25 matches

by MarcinS
Tue Jul 07, 2009 10:00 pm
Forum: Beginners Help
Topic: Irrlicht 1.5 , Vista , Do not read l/r alt and shift
Replies: 0
Views: 394

Irrlicht 1.5 , Vista , Do not read l/r alt and shift

I do not know how does it work on other systems but my code is very simple (here are some parts of it) void CMyCamera::Move() { f32 speed = 1.5f; if(_receiver.IsKeyDown(irr::KEY_RSHIFT)) { speed = 10.0f; } //....not needed parts of code } and the some receiver methods bool CMyEventReceiver::OnEvent(...
by MarcinS
Sun Jul 05, 2009 12:01 pm
Forum: Beginners Help
Topic: First tutorial
Replies: 5
Views: 370

probably it cant find the mesh model
by MarcinS
Sat Jul 04, 2009 3:01 pm
Forum: Beginners Help
Topic: MyFPS Camera (mouse rotation with right button)
Replies: 0
Views: 569

MyFPS Camera (mouse rotation with right button)

First i tried to do this by setting only the Y rotation but it sucks. It change target of cam in some strange way (for me :) ) so I change the method and now i am setting the target and it works ok.. Did any one tried with rotation on Y and it works good ? Here is my code of rotating with the change...
by MarcinS
Mon Mar 02, 2009 7:16 pm
Forum: Beginners Help
Topic: Integrating Newton 1.53 with Irrlicht
Replies: 5
Views: 514

probably the method was override in wrong way

check if in your code of class based on IReceiver there is "const irr::SEvent &" in header (and body) of OnEvent becouse there is probably irr::SEvent* or something else
by MarcinS
Sun Mar 01, 2009 9:15 pm
Forum: Beginners Help
Topic: Shadows on a cube?
Replies: 14
Views: 1038

thanks to dgrafix it works.. But i add also tmesh->setBoundingBox(temp->getBoundingBox()); becosue i have big problems with target = smgr->getSceneCollisionManager()->getSceneNodeFromScreenCoordinatesBB(core::position2di(receiver.MouseX(),receiver.MouseY())); It hardly ever was able to "see&quo...
by MarcinS
Sun Mar 01, 2009 2:31 pm
Forum: Beginners Help
Topic: Shadows on a cube?
Replies: 14
Views: 1038

Code: Select all

toAnimMeshSceneNode = b3d::B3dSmgr->addAnimatedMeshSceneNode(toAnimMesh,ValidateParent(parent)); 
what is the reason for setting parent in this case? (it is just for your use ? )
by MarcinS
Sun Mar 01, 2009 11:34 am
Forum: Beginners Help
Topic: Shadows on a cube?
Replies: 14
Views: 1038

Yeah a cube mesh would be better. In fact, making your whole level in a modelling program would give much faster results (draw the whole thing in one call instead of hundreds). If you need to use a tiled world then consider using my batching mesh which will give you a good performance boost. Well m...
by MarcinS
Sun Mar 01, 2009 9:19 am
Forum: Beginners Help
Topic: Shadows on a cube?
Replies: 14
Views: 1038

I did not create them in any modelling program :| (in fact i hardly ever use thoese programs )

They are just create by smgr->addCubeSceneNode();

So should i replace them with cube mesh ?
by MarcinS
Sat Feb 28, 2009 11:18 pm
Forum: Beginners Help
Topic: Shadows on a cube?
Replies: 14
Views: 1038

As i dont whant to create another topic ill post my problem here
I just create light and set materialflag light into true and got such an effect:

Image


Floor is made of cubes.

Is there some flag that i have to change or it is more complex problem ?
by MarcinS
Thu Feb 26, 2009 10:41 am
Forum: Beginners Help
Topic: problem with moveing (when it should not ) draw3DBox
Replies: 1
Views: 312

problem with moveing (when it should not ) draw3DBox

the idea of this little code is to make object moveing by clicikng on "floorcuebes". "node" is a character that will be moved. receiver is my own receiver I also want to draw 3Dbox that will show on wich cube i just pointed. Well my problem is that it draws the box aroud the &quo...
by MarcinS
Tue Feb 24, 2009 8:20 pm
Forum: Project Announcements
Topic: [Help Wanted] - Irrhack
Replies: 21
Views: 4378

I will check if it helps.

Oh and i am now codeing little aplication maby you will find it as a "Way in to 3D" that you ar looking for :)
by MarcinS
Tue Feb 24, 2009 7:03 pm
Forum: Project Announcements
Topic: KidsGoFarming
Replies: 31
Views: 6399

yeah :) nice idea. i hope you will finish and polish it ;]
by MarcinS
Tue Feb 24, 2009 6:58 pm
Forum: Off-topic
Topic: XYZ coordinates
Replies: 10
Views: 2583

Maby they use ite becouse for exmaple

for(i=10;i>0;i--) is faster then for(i=0;i<10;i++) (yes it is faster :) )

and such coordinates make it easier to use it. or i just mess something ;p
by MarcinS
Mon Feb 23, 2009 10:49 pm
Forum: Off-topic
Topic: XYZ coordinates
Replies: 10
Views: 2583

I see. Well i am not going to do transaltions becouse i dont need to :) but thanks for all answers :) (Now i can drink tea in peace ;] )

And did you ever thougt of that sphere made "systems" thera are very good for all hmm.. "screw like" moves
by MarcinS
Mon Feb 23, 2009 7:15 pm
Forum: Project Announcements
Topic: [Help Wanted] - Irrhack
Replies: 21
Views: 4378

all projects from irrlicht works but not yours so it cant be the directx problem (i use Windows Vista with directx 9.0c).