Victor Giers 4 years ago
parent
commit
cb4875097c
7 changed files with 241 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. BIN
      environment.hdr
  3. 72
    0
      index.html
  4. 3
    0
      iris_puzzles.css
  5. 131
    0
      iris_puzzles.gltf
  6. 7
    0
      iris_puzzles.js
  7. 27
    0
      visual_logic.js

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
mangler.mp4

BIN
environment.hdr View File


+ 72
- 0
index.html View File

@@ -0,0 +1,72 @@
<!DOCTYPE html>
<!-- __V3D_PUZZLES__ - enable Puzzles button in the App Manager -->
<html lang="en">
<head>
<title>iris von gerkzeuk</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="date" content="2019-10-06">
<meta namne="author" content="Victor Giers">
<meta name='url' content='http://www.victorgiers.com/iris'>
<meta name="title" content="Iris von Gerkzeuk">
<meta name="description" content="The face of AI. Spoiler: It will never wake up.">
<meta name="keywords" content="glitch, glitch art, glitch artist collective, virtual human, virtueller mensch, artificial human, künstlicher menschm artificial life, künstliches leben, digital human, digitaler mensch, 3d character, 3d charakter, media, medien, design, gestaltung, art, kunst. character creation, charaktererstellung, game, spiel, video game, face, gesicht, fetish, fetisch, robot, schauspieler, avatar, android, artificial intelligence, künstliche intelligenz, ai, ki, musk, hoax">

<!--
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Verge3D Web Interactive">
<meta name="twitter:description" content="Interactive 3D Web application made with Verge3D. Immerse yourself in amazing graphics experience offered by state-of-the WebGL and HTML5 technologies.">
<meta name="twitter:image:src" content="https://cdn.soft8soft.com/images/player_socials.jpg">

<meta property="og:title" content="Verge3D Web Interactive">
<meta property="og:description" content="Interactive 3D Web application made with Verge3D. Immerse yourself in amazing graphics experience offered by state-of-the WebGL and HTML5 technologies.">
<meta property="og:image" content="https://cdn.soft8soft.com/images/player_socials.jpg">
<meta property="og:type" content="website">



<link rel="apple-touch-icon" sizes="180x180" href="media/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="media/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="media/favicon-16x16.png">
<link rel="manifest" href="media/manifest.json">
<link rel="mask-icon" href="media/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">

<meta http-equiv="origin-trial" content="Aop1aS3O0LG/MKmDbfhMRdlXGxB1ETrJJScdLSaYLDCMJI5iOLQ0uwhBObewdZKbpu00Y+9f7YC5tALasZ7BOg0AAABoeyJvcmlnaW4iOiJodHRwczovL3NvZnQ4c29mdC5jb206NDQzIiwiZmVhdHVyZSI6IldlYlhSRGV2aWNlTTY5IiwiZXhwaXJ5IjoxNTUxODMwMzk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0=">
-->

<script src="v3d.js"></script>
<script src="jquery.js"></script>
<script src="iris_puzzles.js"></script>

<link rel="stylesheet" type="text/css" href="iris_puzzles.css">
</head>

<body>

<script>
const constraints = {
video: true,
audio: true
};
navigator.mediaDevices.getUserMedia(constraints);
</script>

<div id="background">
<video autoplay muted loop id="video-bg">
<source src="mangler.mp4" type="video/mp4">
<source src="mangler.webm" type="video/webm">
</video>
</div>
<script>
document.getElementById('video-bg').addEventListener('loadedmetadata', function() {
let time = Math.floor(Math.random() * 1200);
console.log(time);
this.currentTime = time;
}, false);
</script>

<div id="container"></div>
</body>

</html>

+ 3
- 0
iris_puzzles.css View File

@@ -25,6 +25,7 @@ body {
z-index: -100;
}

<<<<<<< HEAD
#curtain{
position:absolute;
top:0px;
@@ -36,6 +37,8 @@ body {
height:100%;
}

=======
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
#video-bg{
position: absolute;
top: 0;

+ 131
- 0
iris_puzzles.gltf View File

@@ -1064,7 +1064,11 @@
"uri" : "human_female_specular.jpg"
},
{
<<<<<<< HEAD
"uri" : "env.jpg"
=======
"uri" : "environment.hdr"
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
}
],
"materials" : [
@@ -1669,12 +1673,17 @@
"nodeGraph" : {
"edges" : [
{
<<<<<<< HEAD
"fromNode" : 3,
=======
"fromNode" : 4,
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
"fromOutput" : 0,
"toInput" : 0,
"toNode" : 0
},
{
<<<<<<< HEAD
"fromNode" : 2,
"fromOutput" : 0,
"toInput" : 7,
@@ -1685,10 +1694,23 @@
"fromOutput" : 0,
"toInput" : 1,
"toNode" : 6
=======
"fromNode" : 3,
"fromOutput" : 0,
"toInput" : 7,
"toNode" : 1
},
{
"fromNode" : 5,
"fromOutput" : 0,
"toInput" : 1,
"toNode" : 7
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
},
{
"fromNode" : 7,
"fromOutput" : 0,
<<<<<<< HEAD
"toInput" : 0,
"toNode" : 1
},
@@ -1703,6 +1725,22 @@
"fromOutput" : 0,
"toInput" : 5,
"toNode" : 7
=======
"toInput" : 5,
"toNode" : 1
},
{
"fromNode" : 1,
"fromOutput" : 0,
"toInput" : 0,
"toNode" : 2
},
{
"fromNode" : 0,
"fromOutput" : 0,
"toInput" : 0,
"toNode" : 1
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
}
],
"nodes" : [
@@ -1725,6 +1763,77 @@
{
"inputs" : [
[
<<<<<<< HEAD
=======
0.800000011920929,
0.800000011920929,
0.800000011920929,
1.0
],
0.0,
[
1.0,
0.20000000298023224,
0.10000000149011612
],
[
0.800000011920929,
0.800000011920929,
0.800000011920929,
1.0
],
0.0,
0.00909090880304575,
0.0,
0.5,
0.0,
0.0,
0.0,
0.5,
0.0,
0.029999999329447746,
1.4500000476837158,
0.0,
0.0,
[
0.0,
0.0,
0.0,
1.0
],
1.0,
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"is_active_output" : false,
"name" : "Principled BSDF",
"outputs" : [
[
0,
0,
0,
0
]
],
"type" : "BSDF_PRINCIPLED"
},
{
"inputs" : [
[
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
0,
0,
0,
@@ -1848,6 +1957,7 @@
],
"type" : "MATH",
"useClamp" : false
<<<<<<< HEAD
},
{
"inputs" : [
@@ -1916,6 +2026,8 @@
]
],
"type" : "BSDF_PRINCIPLED"
=======
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
}
]
}
@@ -1935,6 +2047,15 @@
"toNode" : 1
},
{
<<<<<<< HEAD
=======
"fromNode" : 4,
"fromOutput" : 0,
"toInput" : 1,
"toNode" : 2
},
{
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
"fromNode" : 3,
"fromOutput" : 0,
"toInput" : 0,
@@ -1945,12 +2066,15 @@
"fromOutput" : 0,
"toInput" : 0,
"toNode" : 0
<<<<<<< HEAD
},
{
"fromNode" : 4,
"fromOutput" : 0,
"toInput" : 1,
"toNode" : 2
=======
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
}
],
"nodes" : [
@@ -2572,10 +2696,17 @@
{
"extensions" : {
"S8S_v3d_texture_data" : {
<<<<<<< HEAD
"colorSpace" : "srgb"
}
},
"name" : "env.jpg",
=======
"colorSpace" : "linear"
}
},
"name" : "environment.hdr",
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
"sampler" : 0,
"source" : 4
}

+ 7
- 0
iris_puzzles.js View File

@@ -43,17 +43,24 @@ function loadScene(sceneURL, initOptions) {
var ctxSettings = {};
if (initOptions.useBkgTransp) ctxSettings.alpha = true;
if (initOptions.preserveDrawBuf) ctxSettings.preserveDrawingBuffer = true;
<<<<<<< HEAD
/*
=======

>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
var preloader = initOptions.useCustomPreloader
? createCustomPreloader(initOptions.preloaderProgressCb,
initOptions.preloaderEndCb)
: new v3d.SimplePreloader({ container: 'container' });
<<<<<<< HEAD
*/
var preloader = new v3d.SimplePreloader({ container: 'container' });
//preloader.background.style.opacity = 0;
preloader.background.style.backgroundColor = 'black';
preloader.background.style.textColor = 'white';

=======
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af

var app = new v3d.App('container', ctxSettings, preloader);
if (initOptions.useBkgTransp) {

+ 27
- 0
visual_logic.js View File

@@ -1,6 +1,10 @@
/**
* Generated by Verge3D Puzzles v.2.12.5
<<<<<<< HEAD
* Mon Jun 10 2019 15:45:13 GMT+0200 (Mitteleuropäische Sommerzeit)
=======
* Mon Jun 10 2019 05:49:05 GMT+0200 (Mitteleuropäische Sommerzeit)
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
* Do not edit this file - your changes may get overridden when Puzzles are saved.
* Refer to https://www.soft8soft.com/docs/manual/en/introduction/Using-JavaScript.html
* for information on how to add your own JavaScript to Verge3D apps.
@@ -91,6 +95,7 @@ PL.execInitPuzzles = function() {
preloaderEndCb: function() {},
}
}
<<<<<<< HEAD
// utility functions envoked by the HTML puzzles
function getElements(ids, isParent) {
@@ -147,12 +152,16 @@ function setHTMLElemStyle(prop, value, ids, isParent) {


// initSettings puzzle
=======
// initSettings puzzle
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
_initGlob.output.initOptions.fadeAnnotations = true;
_initGlob.output.initOptions.useBkgTransp = true;
_initGlob.output.initOptions.preserveDrawBuf = false;
_initGlob.output.initOptions.useCompAssets = false;
_initGlob.output.initOptions.useFullscreen = false;

<<<<<<< HEAD

// initPreloader puzzle
_initGlob.output.initOptions.useCustomPreloader = true;
@@ -172,6 +181,8 @@ _initGlob.output.initOptions.preloaderEndCb = function() {
(function() {})();
};

=======
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af
return _initGlob.output;
}

@@ -195,7 +206,23 @@ function bloom(threshold, strength, radius) {



<<<<<<< HEAD
bloom(0.4, 0.15, 0.2);
=======
// callJSFunction puzzle
function getJSFunction(funcName) {
var jsFunc = appInstance.ExternalInterface[funcName];
if (typeof jsFunc == "function")
return jsFunc;
else
return function() {};
}



bloom(0.4, 0.25, 0.2);
getJSFunction('startVideo')();
>>>>>>> 83c2b9870597ee999f38d78b893a91a035ffe4af

} // end of PL.init function


Loading…
Cancel
Save