<commit_before>#ifndef __SkeletalAnimation_H__
#define __SkeletalAnimation_H__

#include "SdkSample.h"

using namespace Ogre;
using namespace OgreBites;

class _OgreSampleClassExport Sample_SkeletalAnimation : public SdkSample
{
public:

	Sample_SkeletalAnimation() : NUM_MODELS(6), ANIM_CHOP(8)
	{
		mInfo["Title"] = "Skeletal Animation";
		mInfo["Description"] = "A demo of the skeletal animation feature, including spline animation.";
		mInfo["Thumbnail"] = "thumb_skelanim.png";
		mInfo["Category"] = "Animation";
	}


#ifdef USE_RTSHADER_SYSTEM
#ifdef RTSHADER_SYSTEM_BUILD_EXT_SHADERS
	/*-----------------------------------------------------------------------------
	| Initialize the RT Shader system and add hardware skinning
	-----------------------------------------------------------------------------*/
	virtual bool initializeRTShaderSystem(Ogre::SceneManager* sceneMgr)
	{
		bool retVal = SdkSample::initializeRTShaderSystem(sceneMgr);
		if (retVal = true)
		{
			Ogre::RTShader::RenderState* schemRenderState = mShaderGenerator->getRenderState(Ogre::RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME);
			Ogre::RTShader::SubRenderState* subRenderState = mShaderGenerator->createSubRenderState(Ogre::RTShader::HardwareSkinning::Type);
			Ogre::RTShader::HardwareSkinning* hardwareSkinning = static_cast<Ogre::RTShader::HardwareSkinning*>(subRenderState);
			hardwareSkinning->setHardwareSkinningParam(24,2);
			schemRenderState->addTemplateSubRenderState(subRenderState);

			mMaterialMgrListener->setCreateOverProgrammable(true);
		}
		return retVal;
	}
#endif
#endif

    bool frameRenderingQueued(const FrameEvent& evt)<commit_msg>Skeletal Animation demo: Removed RTSS hardware skinning code - Mattan will fix it and re-sumbit in a later date.<commit_after>#ifndef __SkeletalAnimation_H__
#define __SkeletalAnimation_H__

#include "SdkSample.h"

using namespace Ogre;
using namespace OgreBites;

class _OgreSampleClassExport Sample_SkeletalAnimation : public SdkSample
{
public:

	Sample_SkeletalAnimation() : NUM_MODELS(6), ANIM_CHOP(8)
	{
		mInfo["Title"] = "Skeletal Animation";
		mInfo["Description"] = "A demo of the skeletal animation feature, including spline animation.";
		mInfo["Thumbnail"] = "thumb_skelanim.png";
		mInfo["Category"] = "Animation";
	}

    bool frameRenderingQueued(const FrameEvent& evt)
{'fraction_non_alphanumeric': 0.16144267926148562, 'fraction_numerical': 0.0030055817947617003, 'mean_word_length': 4.5608591885441525, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1884196', 'n_tokens_mistral': 753, 'n_tokens_neox': 694, 'n_words': 141}