Difference between revisions of "Isadora learning"

From Antoine Vienne | Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
 
</pre>
 
</pre>
  
=== Some ideas abut 3d ===
+
=== Some ideas about 3d ===
 
<pre>
 
<pre>
 
Rename 3d stage orientation to Camera
 
Rename 3d stage orientation to Camera
Line 32: Line 32:
 
Add a Perspective view with the industry standard shortcuts for navigation
 
Add a Perspective view with the industry standard shortcuts for navigation
  
 +
</pre>
 +
 +
=== Ideas ===
 +
<pre>
 +
- transform2d actor
 +
- rappel du dernier actor dans le menu déroulant
 +
</pre>
 +
 +
=== Bugs ===
 +
<pre>
 +
- Unable to change channel from a Listener actor (in a User actor) when set to 1. Need to create a new one.
 
</pre>
 
</pre>

Latest revision as of 22:53, 10 June 2020

Isadora GLSL experiment

Convert GLSL from Shadertoy

// Add in input

uniform vec3      iResolution;           // viewport resolution (in pixels)
uniform float     iTime;                 // shader playback time (in seconds)
uniform float     iTimeDelta;            // render time (in seconds)
uniform int       iFrame;                // shader playback frame
uniform float     iChannelTime[4];       // channel playback time (in seconds)
uniform vec3      iChannelResolution[4]; // channel resolution (in pixels)
uniform vec4      iMouse;                // mouse pixel coords. xy: current (if MLB down), zw: click
uniform sampler2D iChannel0;             // input channel. XX = 2D/Cube
uniform sampler2D iChannel1;             // input channel. XX = 2D/Cube
uniform sampler2D iChannel2;             // input channel. XX = 2D/Cube
uniform sampler2D iChannel3;             // input channel. XX = 2D/Cube
uniform vec4      iDate;                 // (year, month, day, time in seconds)
uniform float     iSampleRate;           // sound sample rate (i.e., 44100)

// Replace
void mainImage by void main

Some ideas about 3d

Rename 3d stage orientation to Camera

Add a transform3d actor
Add a MergeObjects actor
Add a 3D Texture actor, with camera projection
Add a Perspective view with the industry standard shortcuts for navigation

Ideas

- transform2d actor
- rappel du dernier actor dans le menu déroulant

Bugs

- Unable to change channel from a Listener actor (in a User actor) when set to 1. Need to create a new one.