this functions are real ****
i do my debug for ways maps with draw3dline
and what i see ? bugs with fps...
for example load to irrlicht a lot of objects
set to all objects wireframe mode
after that load irrlicht with directx 9.0 and NVPerfHUD
screens from my project
with draw3dlines :
DP calls = 12771
with out them :
DP calls = 273 (it's normal)
in most games dp calls ~1000
[not a bug] Irr render - draw3dline and others ...
Right, where is the bug !?!?!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I don't really see any 3D lines in either of your screenshots...
If you call draw3DLine to draw a single line, Irrlicht will ask the driver to draw that one line. If you want to draw more than one line with a single call, then you need to manage your own vertex and index buffers [you can use an SMeshBuffer for this] and call driver->drawVertexPrimitiveList() with EPT_LINE_STRIP or EPT_LINES.
The downside is that this method only works with the D3D and OGL drivers.
Travis
If you call draw3DLine to draw a single line, Irrlicht will ask the driver to draw that one line. If you want to draw more than one line with a single call, then you need to manage your own vertex and index buffers [you can use an SMeshBuffer for this] and call driver->drawVertexPrimitiveList() with EPT_LINE_STRIP or EPT_LINES.
The downside is that this method only works with the D3D and OGL drivers.
Travis
But still, where is the bug, for this thread is supposed to be in the bugs forum ???
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java