Error in object_viewer_d.exe

Added by packpro about 8 years ago

To run "object_viewer_d.exe" with direct3d, i modifed "object_viewer.cfg"
----------------------------------------
// "opengl" (default) or "direct3d"
driver = "direct3d";
----------------------------------------
and then, error running.

what is wrong?

error_1.png (305.1 kB)


Replies (6)

RE: Error in object_viewer_d.exe - Added by Priato about 8 years ago

It's not a solution, but you can compile it in "release" mode instead of "debug"

RE: Error in object_viewer_d.exe - Added by packpro about 8 years ago

I compiled it in "release" mode instead of "debug".
and then, error running.

----------------------------------------
// "opengl" (default) or "direct3d"
driver = "direct3d";
----------------------------------------

what is wrong?

obj_r.png (19.3 kB)

RE: Error in object_viewer_d.exe - Added by Priato about 8 years ago

Do you have MFC? (you must pay for...). There is some MFC dependencies on NEL tools, so I didn't compile it.
Don't try to compile it if you don't have MFC, but download the precompiled tools.

If you have MFC, Maybe your direct3d dll is out of date (in objectviewer directory). If you have compiled Ryzom core you can update your dll with the new compiled.

RE: Error in object_viewer_d.exe - Added by kervala about 8 years ago

And what happens with OpenGL driver ?

OpenGL driver is more up-to-date than Direct3D one because nvidia users are using it on Windows and it's also used under Linux and Mac OS.

RE: Error in object_viewer_d.exe - Added by kervala about 8 years ago

I suspect some floats from void CDriverD3D::updateProjectionMatrix () are set to 0.0f and you got division by zero exceptions.

RE: Error in object_viewer_d.exe - Added by packpro about 8 years ago

i downloaded "nel_tools_win_x86-0.7.0.7z".
i installed "Microsoft DirectX SDK (August 2009)".
My OS is "Windows 7 32bit".

---------------- in "object_viewer.cfg" ---------------------
// "opengl" (default) or "direct3d"
driver = "direct3d";
-------------------------------------------------------------
I ran "D:\ryzom_tools\nel_tools_win_x86-0.7.0\object_viewer_r.exe".
And then, object_viewer_r.exe crashed.

---------------- in "object_viewer.cfg" ---------------------
// "opengl" (default) or "direct3d"
driver = "opengl";
-------------------------------------------------------------
And then object_viewer_r.exe run normally.

thank u for reply.

(1-6/6)