graphics-data/shader-shark.xml
author František Kučera <franta-hg@frantovo.cz>
Mon, 25 Dec 2023 14:08:19 +0100
branchv_0
changeset 137 6aeed29d3a6e
permissions -rw-r--r--
graphics.globalcode.info - new website; ShaderShark description

<stránka
	xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro">
	
	<nadpis>ShaderShark</nadpis>
	<perex>X11 application for prototyping OpenGL shaders (GLSL)</perex>
	<pořadí>20</pořadí>

	<text xmlns="http://www.w3.org/1999/xhtml">
		<p>
			ShaderShark is an OpenGL/X11 application
			consisting of a single window
			that shows simple 3D scene of a textured rectangle
			with applied vertex and fragment shaders (GLSL).
		</p>

		<p>Features:</p>

		<ul>
			<li>load textures in various formats (PNG, JPEG etc.)</li>
			<li>rotations and movement in the 3D space</li>
			<li>fully controllable using keyboard</li>
			<li>automatically reloads textures and shaders</li>
			<li>configurable background color</li>
			<li>can be embedded in another X11 window</li>
		</ul>
		
		<p>
			There are no buttons, no text editors, just a 3D scene.
			The user is expected to use his own favourite text editor to edit the shaders
			and just save the file – the save operation (inotify/CLOSE_WRITE)
			from the external editor triggers reload of the shader or texture
			in ShaderShark.
		</p>
		
		<p>Roadmap and ideas:</p>

		<ul>
			<li>modular design and API to allow <a href="https://relational-pipes.globalcode.info/v_0/principles.xhtml#optional_complexity">optional complexity</a></li>
			<li>abstract layer for loading textures from various sources (not only image formats but also e.g. camera or other X11 window)</li>
			<li>optional continuous mode (render the scene not only when shaders/textures change, but continually like games do and provide time variable to the shaders)</li>
			<li>multiple rectangles (to show multiple texture/shader combinations at once)</li>
			<li>other objects in the 3D scene (floor, background, lights etc.)</li>
			<li>3D sound</li>
			<li>stereoscopic mode</li>
			<li>batch mode (apply fragment shader as a filter to images)</li>
			<li>other input methods and devices (like <a href="https://mouse.globalcode.info/v_0/spacenav-demo.xhtml">3D mouse</a>)</li>
			<li>render text files using bitmap fonts</li>
			<li>visualize binary files</li>
			<li>…</li>
		</ul>
		
		<p>
			This tool was created for our internal purposes and is published
			<i>as is</i> without any guarantees.
			In the future, it might become a <i>product</i> (however still free software, of course)
			with regular releases, but we are not there yet.
		</p>

	</text>

</stránka>