<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ioannis Toumpalidis on Medium]]></title>
        <description><![CDATA[Stories by Ioannis Toumpalidis on Medium]]></description>
        <link>https://medium.com/@johntoumpalidis?source=rss-5ff69ddc2ea5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*d6jla7tjrfv661WO.</url>
            <title>Stories by Ioannis Toumpalidis on Medium</title>
            <link>https://medium.com/@johntoumpalidis?source=rss-5ff69ddc2ea5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:51:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@johntoumpalidis/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ut pictura poesis ? Crystalline silicon atoms hallucinating poems of Nikos Kavvadias.]]></title>
            <link>https://medium.com/@johntoumpalidis/ut-pictura-poesis-crystalline-silicon-atoms-hallucinating-poems-of-nikos-kavvadias-b36c684b38fb?source=rss-5ff69ddc2ea5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b36c684b38fb</guid>
            <category><![CDATA[art]]></category>
            <category><![CDATA[generative-art]]></category>
            <category><![CDATA[midjourney]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[poem]]></category>
            <dc:creator><![CDATA[Ioannis Toumpalidis]]></dc:creator>
            <pubDate>Wed, 31 Aug 2022 15:24:29 GMT</pubDate>
            <atom:updated>2022-08-31T15:25:04.661Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ut pictura poesis ? Crystalline silicon atoms hallucinating poems of Nikos Kavvadias.</h3><p><em>A system powered by a couple of billion trained parameters that tokenize words and phrases as input can result in an image that is both coherent and pleasant to our perception. As of August of 2022 this system can be containerised and accessed from an API. With the use of a chatbot any one can access the system directly from their mobile phone. This is just the beginning of an intense software automation era, driven by large scale networks made from mathematical functions and numbers, operating in the edge of the allowable technological limits..</em></p><p>Place colored lines in the right angle and you have a painting.</p><p>Place words in the right order and you have a poem.</p><p>Writing and painting are fundamentals of the realm of aesthetics, called art. These two worlds, same but different, are being formed in a distance from each other across two axes of our physical reality. Poetry flourish as an art of time while painting encapsulates the three dimensions as the art of space [<a href="https://www.jstor.org/stable/2928540">0</a>]</p><blockquote><strong>Την μεν ζωγραφίαν ποίησιν σιωπώσαν, την δε ποίησιν ζωγραφίαν λαλούσαν.<br></strong>Poetry is a speaking picture, painting a silent poetry.<br>Simeonides of Keos (c. 556–468 BC) [<a href="https://www.gnomikologikon.gr/authquotes.php?auth=1004">1</a>]</blockquote><p>Systems now can be used as vessels, bridging the space-time continuum of the art realm in the blink of an eye, allowing for the exploration of new lands.</p><p>I shipped out with a vessel like that, my ship was called <a href="https://www.midjourney.com/home/">Midjourney</a>, my duty was of a wireless operator. It is the operator’s job to transmit the information as is, without interfering and only tweaking the radio’s oscilators reducing the electromagnetic noise of the icoming signal. In my shift, I was passing information broadcasted from beyond our ship to the crew within. But today was different, today I was passing well crafted lines of written words by a man of the past to a machine of the future.</p><p>The man who wrote those words was a fearless sea wanderer, an adventurer who saw and dreamed of shores out of ordinary reach. A wireless operator himself but a captain of narration, his name was Nikos Kavvadias, this is the collection of the messages I transmitted.</p><p>03:49 Begining of the transmission</p><p><a href="http://www.erevos.com/kavvadias/kavvadias-en.htm#Stavros"><strong>SOUTHERN CROSS</strong></a></p><blockquote><strong>In the nor-wester the waves boiled;<br>we were both bent over the map.<br>You turned and told me how in March<br>you’d be in other latitudes.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vNvnihTuzP8aEI9__z-6uA.png" /><figcaption>In_the_nor-wester_the_waves_boiled (transmitted)</figcaption></figure><blockquote><strong>A Chinese tatoo drawn on your chest;<br>however you burn it, it won’t come off.<br>They said that you had loved her once<br>in a sudden fit of blackest fever.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*812GRnvMChP1MG3vVwaiRQ.png" /><figcaption>They_said_that_you_had_loved_her_once_in_a_sudden_fit_of_blackest_fever (transmitted)</figcaption></figure><blockquote><strong>Keeping watch by a barren cape<br>and the Southern Cross behind the braces.<br>You’re holding coral worry-beads<br>and chewing bitter coffee beans.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OipCWyvehDxFJ0B5mEk70A.png" /><figcaption>A_sailor_during_a_night_watch_on_a_cargo_ship_holding_a_rosarry_made_of_coral (transmitted)</figcaption></figure><blockquote><strong>I took a line on Alpha Centaurus<br>with the azimuth compass one night at sea.<br>You told me in a deathly voice:<br>“Beware of the stars of Southern skies”.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TCQgFrb0I4IQv3z9zFKrbg.png" /><figcaption>I_took_a_line_on_Alpha_Centaurus_with_the_azimuth_compass_one_night_at_sea.You_told_me_in_a_deathly_voice:Beware_of_the_stars_of_Southern_skies (transmitted)</figcaption></figure><blockquote><strong>Another time from that same sky<br>you took lessosn for three whole months<br>with the captain’s mulatto girl<br>in how to navigate at night.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kd8PIo_KnNXyUJQM_c1VwA.png" /><figcaption>Another_time_from_that_same_sky_you_took_lessons_for_three_whole_months_with_the_captain’s_mulatto_girl_in_how_to_navigate_at_night (transmitted)</figcaption></figure><blockquote><strong>In some shopin Nosy Be<br>you bought the knife — two shillings it cost -<br>right on the equator, exactly at noon;<br>it glittered like a lighthouse beam.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xeAUpWXQsjOC9krMSzQRMw.png" /><figcaption>An_old_cheap_knife_traded_in_the_port_market_while_sailors_disembarg_from_a_cargo_ship (transmitted)</figcaption></figure><blockquote><strong>Down on the shores of Africa<br>for some years now you’ve been asleep.<br>You don’t remember the lighthouse now<br>or the delicious Sunday sweet.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NmtpM-bXiqLZaOahiyjo8A.png" /><figcaption>Down_on_the_shores_of_Africa_for_some_years_now_you’ve_been asleep._You_don’t_remember_the lighthouse_now_or_the_delicious_Sunday_sweet (transmitted)</figcaption></figure><p>05:42 end of the transmition</p><p>The translation from the greek poem made by Gail Holst Warhaft, from “The Collected Poems of Nikos Kavadias”, published by Adolf M. Hakkert, Amsterdam, 1987. can be accessed here <a href="http://www.erevos.com/kavvadias/kavvadias-en.htm#Stavros">http://www.erevos.com/kavvadias/kavvadias-en.htm#Stavros</a> ,</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b36c684b38fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VR Diaries 0001: The Shadow of Shaders]]></title>
            <link>https://medium.com/@johntoumpalidis/vr-diaries-0001-the-shadow-of-shaders-bf5a60a7c37c?source=rss-5ff69ddc2ea5------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf5a60a7c37c</guid>
            <category><![CDATA[shaders]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[spatial-analysis]]></category>
            <category><![CDATA[vr]]></category>
            <dc:creator><![CDATA[Ioannis Toumpalidis]]></dc:creator>
            <pubDate>Thu, 19 Oct 2017 11:19:38 GMT</pubDate>
            <atom:updated>2017-10-25T21:16:11.138Z</atom:updated>
            <content:encoded><![CDATA[<h4>A gentle summary to what i have learned during the last few weeks for rendering, GPGPU and the demoscene.</h4><p>Conceptualizing Unity as my VR Middle Earth, I have spent the last three weeks in Mordor aka Shader-land.</p><blockquote>A <strong><em>shader</em> </strong>is a program designed to be run on a renderer as part of the rendering operation. Regardless of the kind of rendering system in use, shaders can only be executed at certain points in that rendering process… Shaders for OpenGL are run on the actual rendering hardware…. This can often free up valuable CPU time for other tasks, or simply<strong> perform operations</strong> that would be difficult if not <strong>impossible </strong>without the flexibility of executing arbitrary code. A downside of this is that they must <strong>live within certain limits</strong> that CPU code would not have to.</blockquote><blockquote><a href="http://opengl.datenwolf.net/gltut/html/Basics/Intro%20Graphics%20and%20Rendering.html#d0e708">OpenGL</a></blockquote><p>e.g BTW, please be aware.I am just an urban data explorer not a developer :) (<em>i will create a proper logo for this notification</em> )</p><h3><strong>Part 1: The fellowship of the rendered</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*OMuZnScoFG5u05mX7fzZFw.gif" /><figcaption>SHADER LAND</figcaption></figure><h4>/chapter{ There and back again}</h4><p>My vain ambitions, mistakenly led me to deal with Shaders. Exiled from the peaceful lands where scripting objects into the scene is all that you can do, Shaders are working buried deep down in your GPU. They are in charge of instructing your graphic processor to render specific packages of data.</p><p>At the moment the easiest way to program a Shader is using a weird language called HLSL( High-Level Shading Languagee). As you might already have imagined, this kind of sorcery is a bit hard to be found across the internet and only few manuscripts or tutorials are available for new apprentices.</p><p>Before I start walking in these unexplored lands, I had to study some basics first. The rendering pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*KEdAuKKHlY0sNcZ84J2rlA.png" /><figcaption>Rendering Pipeline (NTU)</figcaption></figure><p>For every shiny 3D object that lives on your screen, the graphic processor needs to deal with a process called rendering. For this procedure, geometry information is translated to screen coordinates in the form of a long 2D color array that stores each pixel’s color value.</p><p>Taking for example a cube, the GPU requires the coordinates for the 8 vertexes and the triangles which will form each surface of the cube. The declaration of each Triangle follows the rule of the righ thumb controlling the direction that the rendered surface will face.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*wVd2t_DRAOnmdUdnw2IfLw.jpeg" /><figcaption>Declaration of the triangles for the front facing surface of the cube. The triangle strip will be for this purpose ABCD. ( Source of the Image and helpful material by <a href="http://www.theappguruz.com/author/dhavalrathod">Dhaval Rathod</a>)</figcaption></figure><p>Another necessary property is the UVs, an array of 2D coordinates that controls the way that the texture will be applied or wrapped around the object.</p><p>Of course your fancy GTA VIIII scene doesn’t rely only on these simple steps and a lot of optimization is needed in order to produce the final composition. Additional actions are implemented in order for the GPU to compute the level of detail for each object according to the distance from the camera, the reflections, the shadows, the lighting, the transparency and the texture of more complex materials. And if you actually want to know more about the GTA, Doom and DeusEx rendering pipeline you might find interesting <a href="http://www.adriancourreges.com/projects/"><em>Adrian <br>Courrèges blog</em></a><em>.</em></p><p>Interesting enough Shaders can not be used only for visualizing meshes but also for controlling their animation. That was the reason that Shaders were a major hit in the early days of computer graphics giving life to the demo scene. It was possible to create music videos by hard coding the mesh animations into executable files that were limited to a floppy disk size, equivalent to 50kb.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*fKgHiEqZKxQqHQpGdMykvg.gif" /></figure><h4>\chapter{ Footsteps in the dark}</h4><p>By unlocking the power of the GPU, it is possible to compute complex calculations in less time. Combining fragment, pixel and compute Shaders these calculations might target from image recognition to data analysis problems.</p><p>While the use of Shaders might improve significantly your processing time, they were not designed for general uses (general purposes on graphic processing units- GPGPU is an entire domain of study) and the information which they can handle, is limited to a specific type and size of data structures.</p><p>A way to achieve a mesh movement using Shader is to remap the key frames of a vertex animation into a vector4 color array (RGB for the position and Alpha for the time). Then the animation can be produced by interpolating the values from one key frame to the next one for each mesh. The final result..millions of points can be rendered in real time while the frame rate remains high.</p><blockquote>We use a texture to store the animation data because the amount of data required for all animation frames is too large to fit into constant memory.</blockquote><blockquote><a href="https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch02.html">GPU Gems</a></blockquote><p><em>So back to Minas Tirith for research.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*CXC8wPfLI9FDCn8l27Hxfw.jpeg" /><figcaption>What looking for Shaders’ Tutorials is it like.</figcaption></figure><p>Reading the old scrolls , i was unravelling a story of hidden power . A great introduction made by Patricio Gonzalez Vivo and Jen Lowe was a website called <a href="https://thebookofshaders.com/">The Book of Shaders</a>. Furthermore with the help of a YouTube series tutorials made by <a href="https://www.youtube.com/watch?v=0H1FVOphmIo">World of Zero</a> I was able to create my first animated point cloud shader.</p><h4>/chapter {Finally we are moving}</h4><p>Keeping in mind that my main goal was to visualize urban data, using Shaders I remembered that I have already used a similar tool with a library called <a href="https://uber.github.io/deck.gl/#/">Deck.gl</a>. This handy library, developed by UBER, is able to wrap geo located data from JSON files directly to your shader. In this way, more than 900k Uber trips are able to be visualized directly on your screen in real time (for Deck.gl visit thsi tutorial in <a href="https://nghiatran.me/"><strong>Noah’s Mad Lab</strong></a><strong> </strong>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*n0MGevaQrCMFr4WYeZtNiw.jpeg" /><figcaption>Uber’s Deck.gl</figcaption></figure><p>Following some advises from <a href="https://www.youtube.com/watch?v=rXqKu9uC0f4&amp;t=617s">Yi Fei Boon</a> and <a href="https://www.youtube.com/watch?v=1ZPcXcCBFIs">Jonah Norberg</a> I produced a quick prototype using Processing (code available here). In the figure below you can see the animation in action. The texture has a width equal to the number of the individual agents while the height represents the animation frames. A simple query updates the position of the agents reading the texture row by row in a FrameCount%height rate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*do8s4vGmwvuKi_PEkADVvw.gif" /><figcaption>Reading position from texture . Unity (left) Fast prototyping in Processing (left)</figcaption></figure><p>I am leaving you with the encoding trips_to_texture image that I have used to create my vertex .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*BjXvW9PbVRNTgXoDe-_PFA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Nl8cWGtWi0FPTxu1asev5g.gif" /><figcaption>After two weeks of dealing with Shaders.</figcaption></figure><p>/section{YES BUT WHY ?}</p><p><em>Urban stuff coming..</em></p><blockquote>With the latest increase of the available urban data, it is important for us to explore new(or old ) tool sets that can produce more efficient visualisations. Our ultimate goal is to make possible for any user to interact or to observe millions of discrete ;) spatial units in a real time.</blockquote><p>and always stay #.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf5a60a7c37c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VR Diary 0000]]></title>
            <link>https://medium.com/@johntoumpalidis/vr-diary-0000-e504acbd30d2?source=rss-5ff69ddc2ea5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e504acbd30d2</guid>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[unity]]></category>
            <dc:creator><![CDATA[Ioannis Toumpalidis]]></dc:creator>
            <pubDate>Mon, 18 Sep 2017 12:39:09 GMT</pubDate>
            <atom:updated>2017-10-25T21:14:51.178Z</atom:updated>
            <content:encoded><![CDATA[<h4>The &lt;Helllo VR World&gt;</h4><p>17 days after my first &lt;Hello World&gt; as a RA in CASA, I decided to start documenting my knowledge journey across the uncharted, for me, VR waters. A living diary of my weekly explorations, developed applications, tests and failures! In this process I will try to highlight all the materials which were found across the internet and they helped me to tackle some problems.</p><p>BTW, please be aware.I am just an urban data explorer :)</p><p><strong>\Chapter {The kingdom of Unity }</strong></p><p>It wasn’t my first time turning to Unity, for building a project.</p><p>Last time I left frustrated by C#, failing to co-op with its abnormal requests.. Why should anybody cast a JSON into classes in order to parse it? (see on the shout out for the answer xD)</p><p>During the last term of my master I was only able to develop this. A simple marker based AR application using the Vuforia plugin. The application parsed data from OSM, and visualized (almost correct ) buildings across a given area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*S9ej7PWXnDkd4X6iV-_0qg.jpeg" /></figure><ul><li>Very useful tutorial about scripting meshes from <a href="https://www.youtube.com/channel/UCC0_trsvWYyqjZ3njunfU4Q">Aaron Hibberd</a>.</li></ul><p>If you are interested about a holistic solution for maps visualization in Unity. Check <a href="https://www.mapbox.com/unity/">mapbox SDK</a> has some really cool examples xD. Aw they also published an <a href="https://blog.mapbox.com/how-i-built-an-augmented-reality-app-with-the-mapbox-unity-sdk-and-arkit-187d925b827">AR example</a> in their blog recently.</p><p>e.g Sometimes though, I really want to understand how a library works by replicate it by myself.</p><p><strong><em>\subsection { The aw jeez moment }</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*lalTnEHAw2D1z7rf.jpg" /></figure><p>Virtual Reality is what everybody awaited and now its here.Although, headsets, controllers and trackers are still being developed a growing number of developers, 3D artists, architects and engineers are already providing high quality of imaginary experiences to the end user.</p><p>and how i am suppose to cover this knowledge gap and start developing!?</p><p>Aw jeez..</p><p><strong>\chapter { the VIVE reality in the Unity land}</strong></p><p>So it begins,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*3_i1WdHFe1YkDTpKBkyeig.gif" /></figure><p>with me setting my first VR scene. At that moment, only SteamVR was on my quiver.The asset enables the interaction between HTC VIVE (or Oculus) with Unity.</p><p>After a while and with some valuable help from my fellow colleagues, I started to experiment with the controller’s input and some basic detect collision scripts in order for me to have some interactions with the virtual objects.</p><p>A <a href="https://www.raywenderlich.com/149239/htc-vive-tutorial-unity">tutorial </a>(Eric Van de Kerckhove,2016) and the toolkit of <a href="https://vrtoolkit.readme.io/">VRTK</a> were in charge of walking me through. It was really an exciting experience understanding the way that someone can interact with the digital space through their physical movements.</p><p>My final piece of work for this week’s adventure was.. a catch n fetch - droid edition game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*JEfzPbwYwoHBND9A7sOGsQ.gif" /></figure><p>(notice these pillars?..actually it is a bar like visualization. Each column is a venue or a Point of Interest, and its height represents the number of the check-ins that users of Facebook did. Data are mined and visualized in real time in Unity through Facebook API GET request)</p><p>Friday’s Hint (or what I have started but not finished) for the upcoming week. <strong>Combine image recognition + mesh scripting! ^^:)</strong></p><p>Big shout out to :</p><p>Unity’s documentations ,tutorials &amp; conference talks that were all really helpful and accessible for free : adding the sound (<a href="https://www.youtube.com/watch?v=1BMJFgK68IU">here</a>), learn about <a href="https://www.youtube.com/watch?v=u5RTVMBWabg&amp;t=2118s">lighting</a>, learn some useful <a href="https://unity3d.com/learn/tutorials/projects/procedural-cave-generation-tutorial">coding tips</a> (really interesting tutorial, I definitely recommend it to anyone with procedural design interests), and creating “surveillance” cameras or mini maps using <a href="https://unity3d.com/learn/tutorials/topics/graphics/render-textures-and-ui?playlist=17102">rendering textures</a>.</p><p><a href="https://stackoverflow.com/questions/36239705/serialize-and-deserialize-json-and-json-array-in-unity">This </a>perfect post in stackoverflow about serialization and destabilization of JSON Arrays in Unity.</p><p>..and in case you are wondering, here is Unity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tz2d8ezKEsrbs-ScbvPgtQ.jpeg" /></figure><p>the <a href="https://www.youtube.com/watch?v=LCHovyA5RQI">illustrator did a magnificent job</a>!</p><p>Stay sharp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*elaMC6lFFoapUBtlNPc8lA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e504acbd30d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>