Home
last modified time | relevance | path

Searched refs:SetUniform3f (Results 1 – 25 of 52) sorted by relevance

123

/dports/math/vtk8/VTK-8.2.0/Rendering/OpenGL2/
H A DvtkOpenGLSkybox.cxx95 program->SetUniform3f("cameraPos", this->LastCameraPosition); in UpdateUniforms()
103 program->SetUniform3f("floorRight", this->FloorRight); in UpdateUniforms()
106 program->SetUniform3f("floorFront", front); in UpdateUniforms()
H A DvtkShaderProgram.h189 bool SetUniform3f(const char *name, const float v[3]);
190 bool SetUniform3f(const char *name, const double v[3]);
H A DvtkOpenGLRenderer.cxx997 program->SetUniform3f((lcolor + count).c_str(), lightColor); in UpdateLightingUniforms()
1025 program->SetUniform3f((ldir + count).c_str(), lightDirection); in UpdateLightingUniforms()
1053 program->SetUniform3f((latten + count).c_str(), lightAttenuation); in UpdateLightingUniforms()
1055 program->SetUniform3f((lpos + count).c_str(), lightPosition); in UpdateLightingUniforms()
/dports/math/vtk9/VTK-9.1.0/Rendering/OpenGL2/
H A DvtkOpenGLSkybox.cxx97 program->SetUniform3f("cameraPos", this->LastCameraPosition); in UpdateUniforms()
105 program->SetUniform3f("floorRight", this->FloorRight); in UpdateUniforms()
108 program->SetUniform3f("floorFront", front); in UpdateUniforms()
H A DvtkPBRIrradianceTexture.cxx209 quadHelper.Program->SetUniform3f("shift", shift[i]); in Load()
210 quadHelper.Program->SetUniform3f("contribX", contribX[i]); in Load()
211 quadHelper.Program->SetUniform3f("contribY", contribY[i]); in Load()
H A DvtkOpenGLUniforms.h90 void SetUniform3f(const char* name, const float v[3]) override;
111 void SetUniform3f(const char* name, const double v[3]) override;
H A DvtkShaderProgram.h187 bool SetUniform3f(const char* name, const float v[3]);
188 bool SetUniform3f(const char* name, const double v[3]);
H A DvtkOpenGLRenderer.cxx1034 program->SetUniform3f((lcolor + count).c_str(), lightColor); in UpdateLightingUniforms()
1062 program->SetUniform3f((ldir + count).c_str(), lightDirection); in UpdateLightingUniforms()
1090 program->SetUniform3f((latten + count).c_str(), lightAttenuation); in UpdateLightingUniforms()
1092 program->SetUniform3f((lpos + count).c_str(), lightPosition); in UpdateLightingUniforms()
H A DvtkCompositePolyDataMapper2.cxx97 prog->SetUniform3f("mapperIndex", this->CurrentSelector->GetPropColorValue()); in SetShaderValues()
135 prog->SetUniform3f("ambientColorUniform", fnancolor); in SetShaderValues()
136 prog->SetUniform3f("diffuseColorUniform", fnancolor); in SetShaderValues()
145 prog->SetUniform3f("ambientColorUniform", selectionColor); in SetShaderValues()
146 prog->SetUniform3f("diffuseColorUniform", selectionColor); in SetShaderValues()
157 prog->SetUniform3f("ambientColorUniform", ambientColor); in SetShaderValues()
158 prog->SetUniform3f("diffuseColorUniform", diffuseColor); in SetShaderValues()
/dports/games/spring/spring_98.0/rts/Rendering/Env/
H A DAdvTreeGenerator.cpp320 treeShader->SetUniform3f(0, 1.0f, 0.0f, 0.0f); in CreateFarTex()
321 treeShader->SetUniform3f(1, 0.0f, 1.0f, 0.0f); in CreateFarTex()
322 treeShader->SetUniform3f(2, 0.0f, 0.0f, 0.0f); in CreateFarTex()
326 treeShader->SetUniform3f(13, 1.0f, 0.0f, 0.0f); // camera side-dir in CreateFarTex()
327 treeShader->SetUniform3f( 9, 0.0f, 1.0f, 0.0f); // camera up-dir in CreateFarTex()
328 treeShader->SetUniform3f(10, 0.0f, 0.0f, 0.0f); // tree position-offset in CreateFarTex()
344 treeShader->SetUniform3f(((globalRendering->haveGLSL)? 0: 13), 1.0f, 0.0f, 0.0f); in CreateFarTex()
345 treeShader->SetUniform3f(((globalRendering->haveGLSL)? 1: 9), 0.0f, 1.0f, 0.0f); in CreateFarTex()
359 treeShader->SetUniform3f(((globalRendering->haveGLSL)? 0: 13), 0.0f, 0.0f, 1.0f); in CreateFarTex()
375 treeShader->SetUniform3f(((globalRendering->haveGLSL)? 0: 13), 0.0f, 0.0f, 1.0f); in CreateFarTex()
[all …]
H A DAdvTreeDrawer.cpp537 treeShader->SetUniform3f(13, camera->right.x, camera->right.y, camera->right.z); in Draw()
538 treeShader->SetUniform3f( 9, camera->up.x, camera->up.y, camera->up.z ); in Draw()
588 … treeShader->SetUniform3f(((globalRendering->haveGLSL)? 2: 10), ts->pos.x, ts->pos.y, ts->pos.z); in Draw()
594 … treeShader->SetUniform3f(((globalRendering->haveGLSL)? 2: 10), ts->pos.x, ts->pos.y, ts->pos.z); in Draw()
616 treeShader->SetUniform3f(((globalRendering->haveGLSL)? 2: 10), 0.0f, 0.0f, 0.0f); in Draw()
966 po->SetUniform3f((globalRendering->haveGLSL? 3: 10), ts->pos.x, ts->pos.y, ts->pos.z); in DrawShadowPass()
972 po->SetUniform3f((globalRendering->haveGLSL? 3: 10), ts->pos.x, ts->pos.y, ts->pos.z); in DrawShadowPass()
990 po->SetUniform3f((globalRendering->haveGLSL? 3: 10), 0.0f, 0.0f, 0.0f); in DrawShadowPass()
/dports/math/vtk8/VTK-8.2.0/Rendering/VolumeOpenGL2/
H A DvtkOpenGLUniforms.h81 void SetUniform3f(const char *name, const float v[3]);
82 void SetUniform3f(const char *name, const double v[3]);
/dports/math/vtk6/VTK-6.2.0/Rendering/OpenGL/
H A DvtkShaderProgram2.h313 void SetUniform3f(const char *name, float *val) in SetUniform3f() function
314 { this->SetUniform3f(this->GetUniformLocation(name), val); } in SetUniform3f()
333 void SetUniform3f(int loc, float *val);
/dports/math/vtk9/VTK-9.1.0/Rendering/OpenGL2/Testing/Cxx/
H A DTestUserShader2.cxx58 cellBO->Program->SetUniform3f("diffuseColorUniform", diffuseColor); in Execute()
78 program->SetUniform3f("diffuseColorUniform", diffuseColor); in Execute()
/dports/math/vtk8/VTK-8.2.0/Rendering/OpenGL2/Testing/Cxx/
H A DTestUserShader2.cxx60 cellBO->Program->SetUniform3f("diffuseColorUniform", diffuseColor); in Execute()
80 program->SetUniform3f("diffuseColorUniform", diffuseColor); in Execute()
/dports/games/spring/spring_98.0/rts/Rendering/Shaders/
H A DShader.h145 …virtual void SetUniform(UniformState* uState, float v0, float v1, float v2) { SetUniform3f(uState-… in SetUniform()
170 virtual void SetUniform3f(int idx, float v0, float v1, float v2) = 0;
238 void SetUniform3f(int idx, float v0, float v1, float v2) {} in SetUniform3f() function
269 void SetUniform3f(int idx, float v0, float v1, float v2);
328 void SetUniform3f(int idx, float v0, float v1, float v2);
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/
H A DvtkUniforms.h98 virtual void SetUniform3f(const char* name, const float v[3]) = 0;
119 virtual void SetUniform3f(const char* name, const double v[3]) = 0;
/dports/math/vtk6/VTK-6.2.0/Rendering/OpenGL2/
H A DvtkOpenGLPolyDataMapper.cxx827 cellBO.Program->SetUniform3f("mapperIndex", tmp); in SetMapperShaderParameters()
831 cellBO.Program->SetUniform3f("mapperIndex", selector->GetPropColorValue()); in SetMapperShaderParameters()
839 cellBO.Program->SetUniform3f("mapperIndex", color); in SetMapperShaderParameters()
1047 program->SetUniform3f("ambientColorUniform", ambientColor); in SetPropertyShaderParameters()
1048 program->SetUniform3f("diffuseColorUniform", diffuseColor); in SetPropertyShaderParameters()
1054 program->SetUniform3f("specularColorUniform", specularColor); in SetPropertyShaderParameters()
1082 program->SetUniform3f("ambientColorUniformBF", ambientColor); in SetPropertyShaderParameters()
1083 program->SetUniform3f("diffuseColorUniformBF", diffuseColor); in SetPropertyShaderParameters()
1089 program->SetUniform3f("specularColorUniformBF", specularColor); in SetPropertyShaderParameters()
H A DvtkOpenGLGlyph3DHelper.cxx346 program->SetUniform3f("mapperIndex", selector->GetPropColorValue()); in GlyphRender()
432 cellBO.Program->SetUniform3f("mapperIndex", selector->GetPropColorValue()); in SetMapperShaderParameters()
H A DvtkShaderProgram.h159 bool SetUniform3f(const char *name, const float v[3]);
/dports/math/vtk8/VTK-8.2.0/Imaging/OpenGL2/
H A DvtkOpenGLImageGradient.cxx79 program->SetUniform3f("spacing", sp); in InitializeShaderUniforms()
/dports/math/vtk9/VTK-9.1.0/Imaging/OpenGL2/
H A DvtkOpenGLImageGradient.cxx79 program->SetUniform3f("spacing", sp); in InitializeShaderUniforms()
/dports/math/vtk9/VTK-9.1.0/Rendering/OpenGL2/Testing/Python/
H A DTestUserShader2.py36 program.SetUniform3f("diffuseColorUniform", diffuseColor)
/dports/math/vtk8/VTK-8.2.0/Rendering/OpenGL2/Testing/Python/
H A DTestUserShader2.py36 program.SetUniform3f("diffuseColorUniform", diffuseColor)
/dports/math/vtk9/VTK-9.1.0/Rendering/VR/
H A DvtkVRRay.cxx145 this->RayHelper.Program->SetUniform3f("color", this->Color); in Render()

123