Skip to content

Commit

Permalink
try all examples for gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo committed Dec 14, 2023
1 parent c5c882b commit 4208030
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 28 deletions.
190 changes: 165 additions & 25 deletions scripts/ci/emscripten/examples_to_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,171 @@
# List of examples to build - add emscripten compatible examples to this list
# NOTE: make sure there is no trailing slash!!!
folders=(
#3d
"examples/3d/pointCloudExample"
"examples/3d/3DPrimitivesExample"
"examples/3d/ofxAssimpBoneControlExample"
# "examples/3d/ofxAssimpAdvancedExample" #broken currently
"examples/3d/ofNodeExample"
"examples/3d/multiTexture3dExample"
"examples/3d/modelNoiseExample"
"examples/3d/pathsToMeshesExample"
"examples/3d/quaternionLatLongExample"
#gl
"examples/gl/shadowsExample"
"examples/gl/materialPBRExample"
"examples/gl/materialPBRAdvancedExample"
"examples/gl/transformFeedbackAnimatedExample"
"examples/gl/pointLightsExample"
"examples/gl/vboMeshDrawInstancedExample"
#math
"examples/math/noise1dOctaveExample"
"examples/math/particlesExample"
"examples/math/periodicSignalsExample"
"examples/math/trigonometryExample"
"examples/math/trigonometricMotionExample"

# Add more paths as needed
##3d
# "examples/3d/pointCloudExample"
# "examples/3d/3DPrimitivesExample"
# "examples/3d/ofxAssimpBoneControlExample"
## "examples/3d/ofxAssimpAdvancedExample" #broken currently
# "examples/3d/ofNodeExample"
# "examples/3d/multiTexture3dExample"
# "examples/3d/modelNoiseExample"
# "examples/3d/pathsToMeshesExample"
# "examples/3d/quaternionLatLongExample"
##gl
# "examples/gl/shadowsExample"
# "examples/gl/materialPBRExample"
# "examples/gl/materialPBRAdvancedExample"
# "examples/gl/transformFeedbackAnimatedExample"
# "examples/gl/pointLightsExample"
# "examples/gl/vboMeshDrawInstancedExample"
##math
# "examples/math/noise1dOctaveExample"
# "examples/math/particlesExample"
# "examples/math/periodicSignalsExample"
# "examples/math/trigonometryExample"
# "examples/math/trigonometricMotionExample"
#
# # Add more paths as needed
"examples/3d/3DPrimitivesExample/"
"examples/3d/advanced3dExample/"
"examples/3d/assimp3DModelLoaderExample/"
"examples/3d/cameraLensOffsetExample/"
"examples/3d/cameraParentingExample/"
"examples/3d/cameraRibbonExample/"
"examples/3d/easyCamExample/"
"examples/3d/meshFromCameraExample/"
"examples/3d/modelNoiseExample/"
"examples/3d/normalsExample/"
"examples/3d/ofBoxExample/"
"examples/3d/ofNodeExample/"
"examples/3d/ofxAssimpAdvancedExample/"
"examples/3d/ofxAssimpBoneControlExample/"
"examples/3d/ofxAssimpExample/"
"examples/3d/orientationExample/"
"examples/3d/pathsToMeshesExample/"
"examples/3d/pointCloudExample/"
"examples/3d/pointPickerExample/"
"examples/3d/quaternionArcballExample/"
"examples/3d/quaternionLatLongExample/"
"examples/communication/oscChatSystemExample/"
"examples/communication/oscOptionalExample/"
"examples/communication/oscReceiveExample/"
"examples/communication/oscSenderExample/"
"examples/computer_vision/opencvExample/"
"examples/computer_vision/opencvHaarFinderExample/"
"examples/computer_vision/opencvImageClassification/"
"examples/computer_vision/opencvOpticalFlowExample/"
"examples/computer_vision/opencvPeopleDetection/"
"examples/events/advancedEventsExample/"
"examples/events/allEventsExample/"
"examples/events/customEventExample/"
"examples/events/simpleEventsExample/"
"examples/events/simpleTimerEventExample/"
"examples/gl/areaLightExample/"
"examples/gl/billboardExample/"
"examples/gl/billboardRotationExample/"
"examples/gl/computeShaderParticlesExample/"
"examples/gl/computeShaderTextureExample/"
"examples/gl/fboHighResOutputExample/"
"examples/gl/fboTrailsExample/"
"examples/gl/geometryShaderExample/"
"examples/gl/glInfoExample/"
"examples/gl/gpuParticleSystemExample/"
"examples/gl/materialPBR/"
"examples/gl/materialPBRAdvanced/"
"examples/gl/multiLightExample/"
"examples/gl/multiTexture3dExample/"
"examples/gl/multiTextureShaderExample/"
"examples/gl/pixelBufferExample/"
"examples/gl/pointLightsExample/"
"examples/gl/pointsAsTexturesExample/"
"examples/gl/shaderExample/"
"examples/gl/shadowsExample/"
"examples/gl/slowFastRenderingExample/"
"examples/gl/textureBufferInstancedExample/"
"examples/gl/textureExample/"
"examples/gl/textureScreengrabExample/"
"examples/gl/threadedPixelBufferExample/"
"examples/gl/transformFeedbackAnimatedExample/"
"examples/gl/transformFeedbackExample/"
"examples/gl/vboExample/"
"examples/gl/vboMeshDrawInstancedExample/"
"examples/gl/viewportExample/"
"examples/graphics/blendingExample/"
"examples/graphics/colorExample/"
"examples/graphics/colorsExtendedExample/"
"examples/graphics/floatingPointImageExample/"
"examples/graphics/fontShapesExample/"
"examples/graphics/fontsExample/"
"examples/graphics/graphicsExample/"
"examples/graphics/imageSubsectionExample/"
"examples/graphics/lutFilterExample/"
"examples/graphics/polygonExample/"
"examples/graphics/polylineBlobsExample/"
"examples/graphics/rectangleAlignmentAndScalingExample/"
"examples/graphics/simpleColorKeyExample/"
"examples/graphics/vectorGraphicsExample/"
"examples/gui/guiFromParametersExample/"
"examples/gui/oscParametersReceiverExample/"
"examples/gui/oscParametersSenderExample/"
"examples/gui/parameterEdgeCasesExample/"
"examples/gui/parameterGroupExample/"
"examples/input_output/clipboardExample/"
"examples/input_output/dirListExample/"
"examples/input_output/dragDropExample/"
"examples/input_output/fileBufferLoadingCSVExample/"
"examples/input_output/fileOpenSaveDialogExample/"
"examples/input_output/imageCompressionExample/"
"examples/input_output/imageLoaderExample/"
"examples/input_output/imageLoaderWebExample/"
"examples/input_output/imageSaverExample/"
"examples/input_output/imageSequenceExample/"
"examples/input_output/jsonExample/"
"examples/input_output/loadTextFileExample/"
"examples/input_output/pdfExample/"
"examples/input_output/pugiXmlExample/"
"examples/input_output/svgExample/"
"examples/input_output/systemSpeakExample/"
"examples/input_output/xmlExample/"
"examples/input_output/xmlSettingsExample/"
"examples/math/noise1dExample/"
"examples/math/noise1dOctaveExample/"
"examples/math/noiseField2dExample/"
"examples/math/particlesExample/"
"examples/math/periodicSignalsExample/"
"examples/math/randomExample/"
"examples/math/trigonometricMotionExample/"
"examples/math/trigonometryExample/"
"examples/math/vectorMathExample/"
"examples/shader/01_simpleColorQuad/"
"examples/shader/02_simpleVertexDisplacement/"
"examples/shader/03_simpleShaderInteraction/"
"examples/shader/04_simpleTexturing/"
"examples/shader/05_alphaMasking/"
"examples/shader/06_multiTexture/"
"examples/shader/07_fboAlphaMask/"
"examples/shader/08_displacementMap/"
"examples/shader/09_gaussianBlurFilter/"
"examples/sound/audioInputExample/"
"examples/sound/audioOutputExample/"
"examples/sound/soundBufferExample/"
"examples/sound/soundPlayerExample/"
"examples/sound/soundPlayerFFTExample/"
"examples/strings/conversionExample/"
"examples/strings/ofLogExample/"
"examples/strings/regularExpressionExample/"
"examples/strings/sortingExample/"
"examples/threads/threadChannelExample/"
"examples/threads/threadExample/"
"examples/threads/threadedImageLoaderExample/"
"examples/video/asciiVideoExample/"
"examples/video/slitscanRadialClockExample/"
"examples/video/videoGrabberExample/"
"examples/video/videoPlayerExample/"
"examples/windowing/multiWindowExample/"
"examples/windowing/multiWindowOneAppExample/"
"examples/windowing/noWindowExample/"
"examples/windowing/windowExample/"
)

cur_root=$(pwd);
Expand Down
6 changes: 3 additions & 3 deletions scripts/ci/emscripten/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
gap: 10px;
}

.exampleName{
Expand All @@ -33,7 +33,7 @@

.gallery div {
background-color: #ccc;
width: 400px;
width: 380px;
height: 200px;
padding: 15px;
padding-bottom:30px;
Expand Down

0 comments on commit 4208030

Please sign in to comment.