I'll be back soon as we have just moved to another country across the Atlantic. I found a friend who can help me to rebuild new assets and there may be an opportunity to work with another project that also works on Arx.
I'll let you know as soon as possible. I love you.
samedi 6 août 2011
vendredi 27 mai 2011
As was expected, here's a video showing the material system of "rebirth engine" built in Arx Fatalis. The material is very simple (just diffuse). The decor is managed as a static object with about 70 different materials. I applied on every texture a B-Spline pixel filtering" for each mipmap. In addition, I enabled the anisotropy for minification. The result is rather encouraging.
Here an example of the rebirth engine shader system:
#include "../public/declare_effect.h"
BEGIN_DECLARE_SHADER
BEGIN_SHADER( DX8_Flat, true )
DECLARE_SHADER_PARAM( DIFFUSE, "TEXTURE", "0" )
DECLARE_SHADER_PARAM( NORMAL, "TEXTURE", "1" )
END_SHADER( DX8_Flat )
STATIC_SHADER( DX8_Flat )
SHADER.Commit_RenderState( RS_FILLMODE, FILL_SOLID );
const std::string& sDiffuseValue = GET_SHADER_VALUE("DIFFUSE");
ITexture_* pTexture = ASSET_MANAGER.Get_TextureByName( sDiffuseValue );
if( pTexture )
{
SHADER.BindTexture( 0, *pTexture );
}
SHADER.Commit_TextureStageState( 0, TSS_COLOROP, TOP_SELECTARG1, 0 );
SHADER.Commit_TextureStageState( 0, TSS_COLORARG1, TA_TEXTURE, 0 );
SHADER.Commit_TextureStageState( 0, TSS_ALPHAOP, TOP_DISABLE, 0 );
DYNAMIC_SHADER( DX8_Flat )
END_DECLARE_SHADER
Here a new video:
Here an example of the rebirth engine shader system:
#include "../public/declare_effect.h"
BEGIN_DECLARE_SHADER
BEGIN_SHADER( DX8_Flat, true )
DECLARE_SHADER_PARAM( DIFFUSE, "TEXTURE", "0" )
DECLARE_SHADER_PARAM( NORMAL, "TEXTURE", "1" )
END_SHADER( DX8_Flat )
STATIC_SHADER( DX8_Flat )
SHADER.Commit_RenderState( RS_FILLMODE, FILL_SOLID );
const std::string& sDiffuseValue = GET_SHADER_VALUE("DIFFUSE");
ITexture_* pTexture = ASSET_MANAGER.Get_TextureByName( sDiffuseValue );
if( pTexture )
{
SHADER.BindTexture( 0, *pTexture );
}
SHADER.Commit_TextureStageState( 0, TSS_COLOROP, TOP_SELECTARG1, 0 );
SHADER.Commit_TextureStageState( 0, TSS_COLORARG1, TA_TEXTURE, 0 );
SHADER.Commit_TextureStageState( 0, TSS_ALPHAOP, TOP_DISABLE, 0 );
DYNAMIC_SHADER( DX8_Flat )
END_DECLARE_SHADER
Here a new video:
mardi 24 mai 2011
Material and Texture integration part #1
Sorry for not writing sooner. I'm currently finishing a prototype with Unity (a 2.5d platformer) and I am preparing a big move. I have almost completed the integration of simple materials in Arx Fatalis (like wireframe and diffuse material). I took the opportunity to review the material system in the "rebirth engine": I added macros to quickly make new shader and I improved the transfer of materials parameters of the game to the shader system. Hopefully I can post a video or at least screen-shots very quickly.
vendredi 22 avril 2011
jeudi 14 avril 2011
Rebirth engine integration part one
The integration of rebirth engine is almost finished. Briefly, the first iteration was to override all the function of Direct X to have a null renderer and reconnect one by one all the functions. For now the screen is black because I have to update the rebirth engine to include better management of dynamic vertex buffer. I have decided to do as the source engine like a begin mesh, a series of add vertex or push vertex and finally a end mesh. It's pretty simple and game code is relatively easy to understand and use. I'll send a few pieces of code to explain it all..
mercredi 13 avril 2011
So let us begin.
The primary function of this blog is to update Arx Fatalis with technical improvements such as rendering, physics, etc.. I worked on this game and I'd like to share with you the progress of this project. I love this game and the technical issues associated with this port are very exciting. I hope you can soon play with this improved version.
Inscription à :
Articles (Atom)