mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
OpenGl_ShaderManager::pointSpriteAlphaSrc() now does not return alpha from Red channel for RGBA marker texture in Core profile. OpenGl_ShaderManager::prepareStdProgramFlat() - restored code for drawing points without texture. Built-in GLSL programs now flip .y in shaders instead of relying on GL_POINT_SPRITE_COORD_ORIGIN unavailable on OpenGL ES. Added sample markers.tcl (moved from test cases). Sample now includes marker_kr.png for testing marker orientation.
9 lines
243 B
Plaintext
9 lines
243 B
Plaintext
puts "========"
|
|
puts "OCC24131 Markers using GLSL programs in Compatible Profile"
|
|
puts "========"
|
|
|
|
pload VISUALIZATION
|
|
vcaps -compatibleProfile -sprites 1 -ffp 0
|
|
source $env(CSF_OCCTSamplesPath)/tcl/markers.tcl
|
|
vdump $imagedir/${casename}.png
|