Search found 16 matches
- Fri Jul 06, 2012 12:37 pm
- Forum: Beginners Help
- Topic: How to fix fps?
- Replies: 25
- Views: 4308
Re: How to fix fps?
A time parameter for a sleep method is a minimal time, which CPU will be waiting, so the waiting time may be similar to a parameter value, but may be be higher too, thats why this function shouldn't be used for methods like this. That makes absolutely no sense what so ever. I hardly think a few nan...
- Fri Jul 06, 2012 10:19 am
- Forum: Beginners Help
- Topic: How to fix fps?
- Replies: 25
- Views: 4308
Re: How to fix fps?
Why exactly?
- Thu Jul 05, 2012 8:28 pm
- Forum: Beginners Help
- Topic: [SOLVED] Rotation of camera around its Z axis?
- Replies: 2
- Views: 1135
Re: Rotation of camera around its Z axis?
Once I knew what to search for I found this
http://irrlicht.sourceforge.net/forum/v ... 0&start=60
which worked like a charm. Thanks for the nudge dude.
http://irrlicht.sourceforge.net/forum/v ... 0&start=60
which worked like a charm. Thanks for the nudge dude.
- Thu Jul 05, 2012 8:27 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Free Flight (space flight) functions
- Replies: 64
- Views: 75043
Re: Free Flight (space flight) functions
I know this is an old thread and bumping it is a bit of a taboo but I just want to say thank you to the OP.
- Thu Jul 05, 2012 8:09 pm
- Forum: Beginners Help
- Topic: How to fix fps?
- Replies: 25
- Views: 4308
Re: How to fix fps?
this is how I do it #include "mmsystem.h" #pragma comment(lib, "winmm.lib") #define REQUIRED_FPS 60 ... ... ... DWORD startRender, renderTime; DWORD pause=1000/REQUIRED_FPS; while(device->run()) { startRender=timeGetTime(); driver->...
- Thu Jul 05, 2012 7:12 pm
- Forum: Beginners Help
- Topic: [SOLVED] Rotation of camera around its Z axis?
- Replies: 2
- Views: 1135
[SOLVED] Rotation of camera around its Z axis?
Hi everyone, This is a problem I've not been able to resolve myself as yet and am at the stage of asking for help. So if anyone can assist me I'd be very happy :) My project: A space flight game. The player is "sat" in a space vehicle. This vehicle is capable of rolling (z), pitching (x) a...
- Mon Dec 13, 2010 3:47 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Forum [code] tags
- Replies: 5
- Views: 1187
It is a simple enough mod to change a
Code: Select all
section to <textarea> however, it would probably be better to have a profile option that allows folding of the [code] sections to be turned on and off, so to anyone with folding turned on sees a "Display Code" link in place of the block.
- Sun Dec 12, 2010 2:29 pm
- Forum: Open Discussion and Dev Announcements
- Topic: About threads...
- Replies: 7
- Views: 1872
I'm really a newb to Irrlicht and to C++ (I switched from Java because of the lack of updated Java support). So if I happen to be talking mis-informed or naïve BS, I do apologise. It seems to me that using threads for any kind of scene event would be overkill. Any event would have to be dealt with b...
- Fri Dec 10, 2010 4:37 am
- Forum: Beginners Help
- Topic: GUI Not recieving mouse events
- Replies: 1
- Views: 269
- Fri Dec 10, 2010 3:01 am
- Forum: Beginners Help
- Topic: Mesh Quality. Is there any way to reduce it?
- Replies: 4
- Views: 484
Thanks for the replies guys, some useful info there. I analized the MeshBuffers of the Mesh totaling the IndexCount of each one which yielded a total of 24093. since i assume 3 indices represent a triangle, the mesh has 8031 triangles. I did further analysis of the mesh buffers and couldn't understa...
- Thu Dec 09, 2010 5:02 pm
- Forum: Beginners Help
- Topic: Mesh Quality. Is there any way to reduce it?
- Replies: 4
- Views: 484
Well, for what is actually happening (1 terrain and 1 vehicle object), 250 isn't really that good. I've seen demos of similar things that exceed 2000 on my system. Plus in the finished product there may have to be several vehicles to render in one scene. If rendering just 1 causes a reduction from 2...
- Thu Dec 09, 2010 3:26 pm
- Forum: Beginners Help
- Topic: Mesh Quality. Is there any way to reduce it?
- Replies: 4
- Views: 484
Mesh Quality. Is there any way to reduce it?
Hi everyone, I'm fairly new to working with Irrlicht, have already got a terrain up and running, camera, lights, models etc.. It's basically a vehicle driving around a terrain atm. I've been trying deperately to increase the FPS as it is very low (~250) and I feel it should be much higher than that ...
- Thu Dec 02, 2010 9:27 pm
- Forum: Jirr
- Topic: Access to IBoneSceneNode from IAnimatedMeshSceneNode
- Replies: 3
- Views: 5496
Have you tried constructing subclasses of these and passing the CPtr from the SWIGTYPE_p_IBoneSceneNode to the protected C wrapper constructer of the IBoneSceneNode? I have no idea if this will work but.. public IBoneSceneNode fromSWIG(SWIGTYPE_p_IBoneSceneNode st) { long cp=CPointer.get(st); return...
- Thu Dec 02, 2010 9:02 pm
- Forum: Jirr
- Topic: S3DVertex major problem.
- Replies: 0
- Views: 4135
S3DVertex major problem.
For some reason, S3DVertex never releases memory. Calling .delete() does nothing either, also casting to the correct type such as S3DVertex2TCoords causes a runtime error. It seems bugged, I was trying to write a terrain editor in Jirr and converted a few C++ examples to Java, the main core of which...
- Sun Nov 28, 2010 10:35 am
- Forum: Beginners Help
- Topic: 3D rotation problem, object spin AND plane rotation.
- Replies: 3
- Views: 1230
Hi, thanks for your reply. I will take a look at the flight mechanics like you suggest. I suspect aircraft will have the calculations I need. The frustrating part is that I know the pitch, roll and yaw I want the vehicle to be. At first I tried .setRotation(roll, yaw, pitch) but that only seems to w...