Archived

This topic is now archived and is closed to further replies.

Peter Cunliffe

CHR's built from MD2's

Recommended Posts

I thought that MD2 chr''s could now use the D3D (TnL)pipeline but they still cause major slowdowns if they do. Is this correct or do they need to be treated differently? Thanks in advance for helping! Petrovski

Share this post


Link to post
Share on other sites
If you are using CHR''s in the high level engine make sure the script file (.LS) has the HARDWARETNL flag set in them.

Share this post


Link to post
Share on other sites
Already done that but when I viewed the CHR in proedit it was
slow also.
When I enabled VertexShaders in PROEDIT the speed came up to normal.
I enabled Vertexshaders in my terrain project and that cured it.

Is there any harm in always enabling vertexshaders in any project and what about pixelshaders?





Thanks in advance for helping!
Petrovski

Share this post


Link to post
Share on other sites
That''s not being slow, it''s just not interpolating the vertices when vertex shaders are disabled. You only end up seeing the key frames so the animation isn''t smooth.

You can safely enable vertex and pixel shaders all the time. I have this switch so you can safely edit them in PRO Edit before they are fully working. If there were any fatal errors in the shader code without the switch then you''d never be able to load the object again to edit it.

Share this post


Link to post
Share on other sites