Search found 23 matches

by lor
Thu Oct 06, 2005 10:20 am
Forum: Beginners Help
Topic: [rendering] only a part of the scene
Replies: 6
Views: 550

ok, so I think it's a bad solution. Another problem with using viewport is that it deforms the scene -> it tries to put the whole view from the camera into the viewport. And what I need is to put the same scene that is being seen in the view rectangle but simply without ereaseing everything else...
by lor
Wed Oct 05, 2005 7:43 pm
Forum: Beginners Help
Topic: [rendering] only a part of the scene
Replies: 6
Views: 550

Ok, I did this using viewports, but there is such a problem: (...) draw menu (...) set viewport (...) while(device->run) draw what's neccessarly (...) On problem, is that my menu disappears, and I need it to be seem. Another problem is that I can't move my cursor over my menu ;/ Anyway, the viewport...
by lor
Wed Oct 05, 2005 4:09 pm
Forum: Beginners Help
Topic: [rendering] only a part of the scene
Replies: 6
Views: 550

And how to use viewports in irrlicht ?? And tell me, whether they aren't too slow ?? :roll:
by lor
Wed Oct 05, 2005 12:49 pm
Forum: Beginners Help
Topic: [rendering] only a part of the scene
Replies: 6
Views: 550

[rendering] only a part of the scene

Hi there. I've got a serious problem becouse of speed of my program. I want to draw my scene only in some rectangle. I mean: I've got a 800x600 window, there is a 2-d graphical menu in rect (0,600,600,800), there are special 2d in the outsides of the left rect (for example (0,0,600,9)). Now I want t...
by lor
Wed Sep 28, 2005 12:39 pm
Forum: Beginners Help
Topic: Problem with animating camera and node at the same time
Replies: 3
Views: 219

Doesn't work. :roll: the camera desn't move the same direction as node and the camera target doesn't move at all. So the camera view starts to rotate and this is what I'm trying not to get.... Any other ideas ??
by lor
Tue Sep 27, 2005 6:30 pm
Forum: Beginners Help
Topic: Problem with animating camera and node at the same time
Replies: 3
Views: 219

Problem with animating camera and node at the same time

firstly, the code: ISceneNodeAnimator* przejdz = smgr->createFlyStraightAnimator(akt_poz, idz_do, odleglosc*10,0); rydzyk->addAnimator(przejdz); przejdz->drop(); camera->setTarget(vector3df(rydzyk->getAbsolutePosition().X,0,rydzyk->getAbsolutePosition().Z-90)); camera->setPosition(vector3df(rydzyk->...
by lor
Sat Sep 24, 2005 3:09 pm
Forum: Beginners Help
Topic: !! Problem with getting position
Replies: 2
Views: 245

Thank you for your answer but I think you didn't understand my intensions. I know that my camera is in 3d space and my screen is a 2d plane. I simply want to move my cammera in 2 planes and in 2 directions in each one. I mean, that if I click in some place at the screen, for example in (450,350) and...
by lor
Fri Sep 23, 2005 3:11 pm
Forum: Beginners Help
Topic: !! Problem with getting position
Replies: 2
Views: 245

!! Problem with getting position

I want to place the camera in some place each time when i click. I mean, I want camera to move to the correct place. For example i click in A=(500,200) (my app's window is 800x600). I want the camera to move to that place, where I clicked. I wrote something like this: if(event.MouseInput.Event==EMIE...
by lor
Thu Sep 22, 2005 4:23 pm
Forum: Beginners Help
Topic: [events receiver] I think quite a simple problem O_o
Replies: 1
Views: 170

[events receiver] I think quite a simple problem O_o

I've got such a code: class events_receiver : public IEventReceiver { public: virtual bool OnEvent(SEvent event) { if(event.EventType == EET_MOUSE_INPUT_EVENT) { if(event.MouseInput.Event==EMIE_LMOUSE_PRESSED_DOWN) { printf("l_button\n"); } if(event.MouseInput.Event==EMIE_RMOUSE_PRESSED_DO...
by lor
Wed Sep 14, 2005 8:31 pm
Forum: Beginners Help
Topic: [Mesh] How to hide invisible polies ??
Replies: 6
Views: 262

Thanks for answers. It helped me a bit. I've got another question similar, so I'll not make a new thread: How to make my program (game) work faster if it uses irrlicht. On my athl. 2400+ it runs perfectly but on my duron 800 it jumps heavily. There aren't many polies and so on but the game seems to ...
by lor
Wed Sep 14, 2005 6:06 pm
Forum: Beginners Help
Topic: [Mesh] How to hide invisible polies ??
Replies: 6
Views: 262

[Mesh] How to hide invisible polies ??

How can I hide invisible poligons, so that the program runs faster ?? I'm not asking about the algorithm of searching invisible polies, but for example if I already know that I can't see some poly, how to hide it, what function to use to select, hide and unhide concrete polies if I have a complete m...
by lor
Fri Sep 09, 2005 4:30 pm
Forum: Beginners Help
Topic: Another problem - no map collision
Replies: 2
Views: 206

hmm no answers, so I guess you don't know the reason :roll: I wonder if it is possible that the trouble couses mesh ?? I modeled it in 3ds max and exported. Is it possible that it doesn't work correctly ??
by lor
Fri Sep 09, 2005 12:28 pm
Forum: Beginners Help
Topic: [IAnimatedSceneNode] problem with 3DS format.
Replies: 4
Views: 242

So I simply have to make bones for my model ?? But as far as I'm concerned I have to use the timeline to animate model with bones either. I don't know any other way. Will it work ?? Model attached to bone-reactors animated in timeline ??
by lor
Thu Sep 08, 2005 5:50 pm
Forum: Beginners Help
Topic: Another problem - no map collision
Replies: 2
Views: 206

Another problem - no map collision

firstly, the code: bool gotmap_bot = scene_mgr->getSceneCollisionManager()->getCollisionPoint(wektor_patrzenia,map_selector_bot, mapcollision, dummy); i do the same with gotmodel_bot and modelcollision mapdistance = my_node->getPosition().getDistanceFromSQ(mapcollision); and also I do the same with ...
by lor
Thu Sep 08, 2005 5:03 pm
Forum: Beginners Help
Topic: [IAnimatedSceneNode] problem with 3DS format.
Replies: 4
Views: 242

[IAnimatedSceneNode] problem with 3DS format.

When I use the md2 format there is no problem with animation of my bot, but when I try to use my own model - in 3ds i have some problem. It simply doesn't move. I did it this way - I modeled it in 3dsmax and then using auto timeline animated it by editing mesh. How to import such model to my program...