Home
last modified time | relevance | path

Searched refs:nw (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/NW4C-2.0.3/demos/gfx/ParticleUpdaterDemo/sources/
DParticleUpdaterDemo.cpp50 nw::demo::DemoAllocator s_DeviceAllocator;
51 nw::demo::DemoAllocator s_ParticleAllocator;
67 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
70 nw::demo::SceneSystem* s_SceneSystem = NULL;
71 nw::demo::RenderSystem* s_RenderSystem = NULL;
72 nw::gfx::ParticleContext* s_ParticleContext = NULL;
74 nw::demo::GraphicsDrawing s_GraphicsDrawing;
78 nw::demo::ResourceArray s_Resources;
82 nw::gfx::SceneNode* s_SceneRoot = NULL;
84 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ParticleChangeVtxDemo/sources/
DParticleChangeVtxDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
53 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
56 nw::demo::SceneSystem* s_SceneSystem = NULL;
57 nw::demo::RenderSystem* s_RenderSystem = NULL;
58 nw::gfx::ParticleContext* s_ParticleContext = NULL;
60 nw::demo::GraphicsDrawing s_GraphicsDrawing;
64 nw::demo::ResourceArray s_Resources;
68 nw::gfx::SceneNode* s_SceneRoot = NULL;
70 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ParticleMissileDemo/sources/
DParticleMissileDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
46 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
49 nw::demo::SceneSystem* s_SceneSystem = NULL;
50 nw::demo::RenderSystem* s_RenderSystem = NULL;
51 nw::gfx::ParticleContext* s_ParticleContext = NULL;
53 nw::demo::GraphicsDrawing s_GraphicsDrawing;
59 nw::gfx::SceneNode* s_SceneRoot = NULL;
61 nw::gfx::Camera* s_BaseCamera = NULL;
62 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp47 class IsShadowCasterModelFunctor : public nw::gfx::ISceneUpdater::IsVisibleModelFunctor
50 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
52 return nw::ut::CheckFlag(model->GetUserParameter<u32>(), SHADOW_CASTER); in IsVisible()
59 class StartShadowRenderCommand : public nw::gfx::RenderCommand
65 nw::demo::CommandListSwapper* commandListSwapper, in StartShadowRenderCommand()
66 nw::gfx::IRenderTarget* renderTarget, in StartShadowRenderCommand()
68 nw::gfx::Material* shadowMaterial) in StartShadowRenderCommand()
78 virtual void Invoke(nw::gfx::RenderContext* renderContext) in Invoke()
85 … renderContext->ClearBuffer(GL_COLOR_BUFFER_BIT, nw::ut::FloatColor(1.0f, 1.0f, 1.0f, 1.0f), 1.0f); in Invoke()
90 nw::gfx::Camera* shadowCamera = renderContext->GetActiveCamera(); in Invoke()
[all …]
/NW4C-2.0.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp47 class IsShadowCasterModelFunctor : public nw::gfx::ISceneUpdater::IsVisibleModelFunctor
50 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
52 return nw::ut::CheckFlag(model->GetUserParameter<u32>(), SHADOW_CASTER); in IsVisible()
59 class StartShadowRenderCommand : public nw::gfx::RenderCommand
65 nw::demo::CommandListSwapper* commandListSwapper, in StartShadowRenderCommand()
66 nw::gfx::IRenderTarget* renderTarget, in StartShadowRenderCommand()
68 nw::gfx::Material* shadowMaterial) in StartShadowRenderCommand()
78 virtual void Invoke(nw::gfx::RenderContext* renderContext) in Invoke()
85 … renderContext->ClearBuffer(GL_COLOR_BUFFER_BIT, nw::ut::FloatColor(1.0f, 1.0f, 1.0f, 1.0f), 1.0f); in Invoke()
90 nw::gfx::Camera* shadowCamera = renderContext->GetActiveCamera(); in Invoke()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleDemo/sources/
DParticleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
53 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
56 nw::demo::SceneSystem* s_SceneSystem = NULL;
57 nw::demo::RenderSystem* s_RenderSystem = NULL;
58 nw::gfx::ParticleContext* s_ParticleContext = NULL;
60 nw::demo::GraphicsDrawing s_GraphicsDrawing;
64 nw::demo::ResourceArray s_Resources;
72 nw::gfx::SceneNode* s_SceneRoot = NULL;
74 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/AnimationBlendDemo/sources/
DAnimationBlendDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
66 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
69 nw::demo::SceneSystem* s_SceneSystem = NULL;
70 nw::demo::RenderSystem* s_RenderSystem = NULL;
72 nw::demo::GraphicsDrawing s_GraphicsDrawing;
76 nw::demo::ResourceArray s_Resources;
81 nw::gfx::SceneNode* s_SceneRoot = NULL;
82 nw::gfx::SceneNode* s_ModelRoot = NULL;
84 nw::gfx::Camera* s_BaseCamera = NULL;
85 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/AnimationChangeDemo/sources/
DAnimationChangeDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
60 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
63 nw::demo::SceneSystem* s_SceneSystem = NULL;
64 nw::demo::RenderSystem* s_RenderSystem = NULL;
66 nw::demo::GraphicsDrawing s_GraphicsDrawing;
70 nw::demo::ResourceArray s_Resources;
75 nw::gfx::SceneNode* s_SceneRoot = NULL;
76 nw::gfx::SceneNode* s_ModelRoot = NULL;
78 nw::gfx::Camera* s_BaseCamera = NULL;
79 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/SceneTreeDemo/sources/
DSceneTreeDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
50 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
53 nw::demo::SceneSystem* s_SceneSystem = NULL;
54 nw::demo::RenderSystem* s_RenderSystem = NULL;
56 static nw::demo::GraphicsDrawing s_GraphicsDrawing;
59 nw::demo::ResourceArray s_Resources;
63 nw::gfx::TransformNode* s_SceneRoot = NULL;
64 nw::gfx::TransformNode* s_ModelRoot = NULL;
65 nw::gfx::TransformNode* s_CameraRoot = NULL;
66 nw::gfx::TransformNode* s_LightRoot = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/AnimationDemo/sources/
DAnimationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
56 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
59 nw::demo::SceneSystem* s_SceneSystem = NULL;
60 nw::demo::RenderSystem* s_RenderSystem = NULL;
62 nw::demo::GraphicsDrawing s_GraphicsDrawing;
66 nw::demo::ResourceArray s_Resources;
71 nw::gfx::SceneNode* s_SceneRoot = NULL;
72 nw::gfx::SceneNode* s_ModelRoot = NULL;
74 nw::gfx::Camera* s_BaseCamera = NULL;
75 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/MultiAnimationDemo/sources/
DMultiAnimationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
64 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
67 nw::demo::SceneSystem* s_SceneSystem = NULL;
68 nw::demo::RenderSystem* s_RenderSystem = NULL;
70 nw::demo::GraphicsDrawing s_GraphicsDrawing;
74 nw::demo::ResourceArray s_Resources;
75 nw::demo::ResourceSet* s_LutResource;
79 nw::gfx::SceneNode* s_SceneRoot = NULL;
81 nw::gfx::Camera* s_BaseCamera = NULL;
82 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/PartialAnimationDemo/sources/
DPartialAnimationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
60 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
63 nw::demo::SceneSystem* s_SceneSystem = NULL;
64 nw::demo::RenderSystem* s_RenderSystem = NULL;
66 nw::demo::GraphicsDrawing s_GraphicsDrawing;
70 nw::demo::ResourceArray s_Resources;
75 nw::gfx::SceneNode* s_SceneRoot = NULL;
76 nw::gfx::SceneNode* s_ModelRoot = NULL;
78 nw::gfx::Camera* s_BaseCamera = NULL;
79 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp47 class IsMaterialDefaultModelFunctor : public nw::gfx::ISceneUpdater::IsVisibleModelFunctor
50 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
52 return nw::ut::CheckFlag(model->GetUserParameter<u32>(), MATERIAL_DEFAULT); in IsVisible()
57 class IsMaterialChangeModelFunctor : public nw::gfx::ISceneUpdater::IsVisibleModelFunctor
60 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
62 return nw::ut::CheckFlag(model->GetUserParameter<u32>(), MATERIAL_CHANGE); in IsVisible()
70 class StartMaterialChangeRenderCommand : public nw::gfx::RenderCommand
75 StartMaterialChangeRenderCommand(nw::gfx::Material* changeMaterial) in StartMaterialChangeRenderCommand()
80 virtual void Invoke(nw::gfx::RenderContext* renderContext) in Invoke()
87 renderContext->SetRenderMode(nw::gfx::RenderContext::RENDERMODE_IGNORE_MATERIAL); in Invoke()
[all …]
/NW4C-2.0.3/demos/gfx/UserRenderNodeDemo/sources/
DUserRenderNodeDemo.cpp42 nw::demo::DemoAllocator s_DeviceAllocator;
60 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
63 nw::demo::SceneSystem* s_SceneSystem = NULL;
64 nw::demo::RenderSystem* s_RenderSystem = NULL;
66 static nw::demo::GraphicsDrawing s_GraphicsDrawing;
70 nw::demo::ResourceArray s_Resources;
75 nw::gfx::SceneNode* s_SceneRoot = NULL;
77 nw::gfx::Camera* s_BaseCamera = NULL;
78 nw::gfx::Camera* s_LeftCamera = NULL;
79 nw::gfx::Camera* s_RightCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ParticleCtrlEmissionDemo/sources/
DParticleCtrlEmissionDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
39 nw::demo::DemoAllocator s_ParticleAllocator;
48 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
51 nw::demo::SceneSystem* s_SceneSystem = NULL;
52 nw::demo::RenderSystem* s_RenderSystem = NULL;
53 nw::gfx::ParticleContext* s_ParticleContext = NULL;
55 nw::demo::GraphicsDrawing s_GraphicsDrawing;
59 nw::demo::ResourceArray s_Resources;
63 nw::gfx::SceneNode* s_SceneRoot = NULL;
65 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/SimpleDemo/sources/
DSimpleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
52 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
55 nw::demo::SceneSystem* s_SceneSystem = NULL;
56 nw::demo::RenderSystem* s_RenderSystem = NULL;
58 nw::demo::GraphicsDrawing s_GraphicsDrawing;
62 nw::demo::ResourceArray s_Resources;
67 nw::gfx::SceneNode* s_SceneRoot = NULL;
68 nw::gfx::Camera* s_Camera = NULL;
75 typedef nw::ut::FixedSizeArray<nw::gfx::SceneEnvironmentSetting*, ENVIRONMENT_SETTINGS_COUNT> Scene…
88 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
[all …]
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_Utility.cpp27 namespace nw { namespace
30 const nw::math::VEC3 Utility::CAMERA_POSITION = nw::math::VEC3(7.0f, 3.5f, -5.0f);
31 const nw::math::VEC3 Utility::TARGET_POSITION = nw::math::VEC3(0.0f, 0.0f, 0.0f);
35 const nw::math::VEC2 Utility::PROJECTION_CENTER = nw::math::VEC2(0.0f, 0.0f);
46 nw::demo::GraphicsDrawing& graphicsDrawing in InitializeGraphicsDrawing()
68 resourceSet.buffer = nw::demo::Utility::LoadFile(allocator, resourcePath, resourceAlignment); in LoadResources()
75 resourceSet.resource = nw::gfx::ResGraphicsFile(&(resourceSet.buffer.front())); in LoadResources()
85 nw::gfx::Camera*
88 const nw::math::VEC3& cameraPosition, in CreateCamera()
89 const nw::math::VEC3& targetPosition, in CreateCamera()
[all …]
/NW4C-2.0.3/demos/gfx/ConstraintDemo/sources/
DConstraintDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
39 nw::demo::DemoAllocator s_ParticleAllocator;
56 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
59 nw::demo::SceneSystem* s_SceneSystem = NULL;
60 nw::demo::RenderSystem* s_RenderSystem = NULL;
61 nw::gfx::ParticleContext* s_ParticleContext = NULL;
63 nw::demo::GraphicsDrawing s_GraphicsDrawing;
67 nw::demo::ResourceArray s_Resources;
72 nw::gfx::SceneNode* s_SceneRoot = NULL;
74 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ResourceDemo/sources/
DResourceDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
40 nw::demo::ResourceSet* s_ShaderResource;
41 nw::demo::ResourceArray s_LutResources;
42 nw::demo::ResourceArray s_Resources;
49 nw::math::VEC3 position) in ResourceData()
57 const nw::math::VEC3 position;
77 ResourceData(NW_DEMO_FILE_PATH(L"Phong.bcmdl"), DemoLutSet, nw::math::VEC3(0.0f, 0.0f, 0.0f)),
78 ResourceData(NW_DEMO_FILE_PATH(L"Blinn.bcmdl"), DemoLutSet, nw::math::VEC3(2.5f, 0.0f, 0.0f)),
79 …ResourceData(NW_DEMO_FILE_PATH(L"VertexLight.bcmdl"), DemoLutSet, nw::math::VEC3(5.0f, 0.0f, 0.0f)…
80 …ResourceData(NW_DEMO_FILE_PATH(L"CarPaint.bcmdl"), MaterialSampleLutSet, nw::math::VEC3(7.5f, 0.0f…
[all …]
/NW4C-2.0.3/demos/gfx/ParticleDropFrameDemo/sources/
DParticleDropFrameDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
53 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
56 nw::demo::SceneSystem* s_SceneSystem = NULL;
57 nw::demo::RenderSystem* s_RenderSystem = NULL;
58 nw::gfx::ParticleContext* s_ParticleContext = NULL;
60 nw::demo::GraphicsDrawing s_GraphicsDrawing;
64 nw::demo::ResourceArray s_Resources;
72 nw::gfx::SceneNode* s_SceneRoot = NULL;
74 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ParticleRecycleDemo/sources/
DParticleRecycleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
46 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
49 nw::demo::SceneSystem* s_SceneSystem = NULL;
50 nw::demo::RenderSystem* s_RenderSystem = NULL;
51 nw::gfx::ParticleContext* s_ParticleContext = NULL;
53 nw::demo::GraphicsDrawing s_GraphicsDrawing;
57 nw::demo::ResourceArray s_Resources;
61 nw::gfx::SceneNode* s_SceneRoot = NULL;
63 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/MultiInstanceDemo/sources/
DMultiInstanceDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator;
59 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
62 nw::demo::SceneSystem* s_SceneSystem = NULL;
63 nw::demo::RenderSystem* s_RenderSystem = NULL;
65 nw::demo::GraphicsDrawing s_GraphicsDrawing;
69 nw::demo::ResourceArray s_Resources;
74 nw::gfx::SceneNode* s_SceneRoot = NULL;
75 nw::gfx::SceneNode* s_ModelRoot = NULL;
77 nw::gfx::Camera* s_BaseCamera = NULL;
78 nw::gfx::Camera* s_LeftCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/ParticleChokeDemo/sources/
DParticleChokeDemo.cpp39 nw::demo::DemoAllocator s_DeviceAllocator;
40 nw::demo::DemoAllocator s_ParticleAllocator;
56 typedef nw::ut::FixedSizeArray<nw::gfx::IRenderTarget*, RENDER_TARGET_COUNT> RenderTargetArray;
59 nw::demo::SceneSystem* s_SceneSystem = NULL;
60 nw::demo::RenderSystem* s_RenderSystem = NULL;
61 nw::gfx::ParticleContext* s_ParticleContext = NULL;
63 nw::demo::GraphicsDrawing s_GraphicsDrawing;
67 nw::demo::ResourceArray s_Resources;
71 nw::gfx::SceneNode* s_SceneRoot = NULL;
73 nw::gfx::Camera* s_BaseCamera = NULL;
[all …]
/NW4C-2.0.3/demos/gfx/LowLayerAnimationDemo/sources/
DLowLayerAnimationDemo.cpp41 nw::demo::DemoAllocator s_DeviceAllocator;
43 nw::demo::GraphicsMemoryAllocator s_GraphicsMemoryAllocator;
59 nw::gfx::IRenderTarget* s_RenderTarget = NULL;
61 nw::gfx::RenderContext* s_RenderContext = NULL;
62 nw::gfx::MeshRenderer* s_MeshRenderer = NULL;
63 nw::demo::DisplayBufferSwapper* s_UpperSwapper = NULL;
64 nw::demo::DisplayBufferSwapper* s_ExtensionSwapper = NULL;
68 nw::demo::CommandListSwapper* s_CommandListSwapper = NULL;
75 nw::ut::MoveArray<u8> buffer;
76 nw::gfx::ResGraphicsFile resource;
[all …]
/NW4C-2.0.3/demos/Nw4cDemo/sources/
DGfxCtrl.cpp37nw::os::IAllocator* allocator, nw::os::IAllocator* deviceAllocator, GfxCtrl::GfxVramType vramType … in LoadResources()
41 …resourceSet->buffer = nw::demo::Utility::LoadFile( deviceAllocator , resourcePath, RESOURCE_ALIGNM… in LoadResources()
46 resourceSet->resource = nw::gfx::ResGraphicsFile(&(resourceSet->buffer.front())); in LoadResources()
51 …resourceSet->resource.ForeachTexture(nw::gfx::TextureLocationFlagSetter(vramType | GL_NO_COPY_FCRA… in LoadResources()
52 …resourceSet->resource.ForeachIndexStream(nw::gfx::IndexStreamLocationFlagSetter(vramType | GL_NO_C… in LoadResources()
53 …resourceSet->resource.ForeachVertexStream(nw::gfx::VertexStreamLocationFlagSetter(vramType | GL_NO… in LoadResources()
57 nw::gfx::Result result = resourceSet->resource.Setup(allocator); in LoadResources()
88 m_SceneRoot = nw::gfx::TransformNode::DynamicBuilder() in GfxCtrl()
97 m_ParticleContext = nw::gfx::ParticleContext::Builder() in GfxCtrl()
102 m_ParticleSceneUpdater = nw::gfx::ParticleSceneUpdater::Builder() in GfxCtrl()
[all …]

12345678910>>...31