<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://falsam.com/sbbjs/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://falsam.com/sbbjs/wiki/feed.php">
        <title>Babylon.sbi for SpiderBasic - playground</title>
        <description></description>
        <link>http://falsam.com/sbbjs/wiki/</link>
        <image rdf:resource="http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-04-17T08:37:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:basicscene&amp;rev=1678891795&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:collision&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:importscene&amp;rev=1678891795&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:light&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:material&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:meshclone&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:music&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:musicspacial&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:particle&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:picking&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:shadow&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:skybox&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:template&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:terrain&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:tube&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:tuberadiusfunction&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:vrcamera&amp;rev=1678891796&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:water&amp;rev=1678891796&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?media=logo.png">
        <title>Babylon.sbi for SpiderBasic</title>
        <link>http://falsam.com/sbbjs/wiki/</link>
        <url>http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:basicscene&amp;rev=1678891795&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>basicscene</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:basicscene&amp;rev=1678891795&amp;do=diff</link>
        <description>01-BasicScene.sb



Demo


;Babylon.sbi - Basic Scene

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Camera, Light, Plane, Sphere, Cylinder, Cube, Torus

Declare LoadGame()
Declare RenderGame()

UseModule BJS 

InitEngine(@LoadGame())

Procedure LoadGame()    
  If CreateScene()
    ;Camera &amp; Light
    Camera  = CreateCamera(&quot;camera&quot;, 0, 5, 7, #BJS_ArcRotate)
    Light   = CreateLight(&quot;light&quot;, 0, 10, 0)
    
    ;Objects (Plane, Sphere, ....)
    Plane   = CreateGround(&quot;plane&quot;, 10, 1…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:collision&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>collision</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:collision&amp;rev=1678891796&amp;do=diff</link>
        <description>05-Collision.sb

Voir


;Babylon.sbi - Collision

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global n, Camera, Light, Ground, Sphere0, Sphere1, Sphere2, Sphere3

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()    
  If CreateScene()
    
    CreateCamera(&quot;camera&quot;, 0, 20, 30, #BJS_ArcRotate)
    Light = CreateLight(&quot;light&quot;, 5, 10, 0, 1, #BJS_Point)
    
    Sphere0 = CreateSphere(&quot;Sphere&quot;, 1)
    MoveMesh(Sphere0, 0, 30, 0)
    
    Sp…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:importscene&amp;rev=1678891795&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>importscene</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:importscene&amp;rev=1678891795&amp;do=diff</link>
        <description>06-ImportScene.sb



Voir


;Babylon.js for SpiderBasic : Import Scene 

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Scene, Camera, Light, Ground, GrassMat

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure OnLoad(Name.s, Mesh)
  If Name = &quot;Dude&quot;
    
    ScaleMesh(Mesh, 0.1, 0.1, 0.1, #PB_Absolute)
    MoveMesh(Mesh, 0, 0.2, 0)
    RenderLoop(@RenderGame()) 
  EndIf
EndProcedure

Procedure LoadGame()    
  Scene = CreateScene()
  
  If Scen…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:light&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>light</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:light&amp;rev=1678891796&amp;do=diff</link>
        <description>04-Light.sb

Voir


;Babylon.sbi - Light

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;
UseModule BJS

Global Scene, Camera, Light0, Light1, Light2, Ligh3, Mesh, Texture, Material

Declare LoadGame()
Declare RenderGame()

InitEngine(@LoadGame())

Procedure LoadGame()    
  Scene = CreateScene()
  If Scene
    Camera = CreateCamera(&quot;camera&quot;, 0, 10, 20, #BJS_ArcRotate)
    
    ;Lights
    CreateLight(&quot;General&quot;, 0, 20, 0, 0.2, #BJS_Hemispheric)
        
    Light0 = CreateLight(&quot;Red Light&quot;, -1…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:material&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>material</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:material&amp;rev=1678891796&amp;do=diff</link>
        <description>02-Material.sb

Voir


;Babylon.sbi - Material

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Camera, Light, Plane, Sphere, MatPlane, MatSphere

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()    
  If CreateScene()
    
    ;Camera &amp; Light
    Camera  = CreateCamera(&quot;camera&quot;, 0, 5, 7, #BJS_ArcRotate)
    Light   = CreateLight(&quot;light&quot;, 0, 10, 0, 1, #BJS_Hemispheric)
        
    ;Object
    Plane   = CreateGround(&quot;plane&quot;, 10, 10)
…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:meshclone&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>meshclone</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:meshclone&amp;rev=1678891796&amp;do=diff</link>
        <description>Cloner un mesh


EnableExplicit
 
IncludeFile &quot;babylon/babylon.sbi&quot;
 
Global Scene, Box0, Box1, Texture, Material
 
Declare LoadGame()
Declare RenderGame()

UseModule BJS
InitEngine(@LoadGame())
 
Procedure LoadGame()    
  Scene = CreateScene()
  If Scene
    
    CreateCamera(&quot;camera&quot;, 0, 2, 10, #BJS_ArcRotate)
    
    CreateLight(&quot;Ambience&quot;, 0, 200, 0)
    
    ;Material
    Texture = LoadTexture(&quot;data/textures/crate.png&quot;)
    Material  = CreateMaterial(&quot;crate&quot;)
    SetMaterialTexture(Materi…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:music&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>music</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:music&amp;rev=1678891796&amp;do=diff</link>
        <description>14-Music.sb

Voir


;Babylon.sbi - Music

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;
UseModule BJS

Global Scene, Camera, Light, Pop, Ground, GroundTex, GroundMat, Mesh
 
Declare LoadGame()
Declare RenderGame()

InitEngine(@LoadGame())

Procedure LoadGame()    
  Scene = CreateScene()
  If Scene
    
    ;Load Music
    MusicLoad(&quot;Loop&quot;, &quot;data/sounds/loop.mp3&quot;, #True, #True)
    Pop = MusicLoad(&quot;pop&quot;, &quot;data/sounds/pop.wav&quot;)
    
    ;Camera
    Camera = CreateCamera(&quot;camera&quot;, 0, 40, 20, #…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:musicspacial&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>musicspacial</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:musicspacial&amp;rev=1678891796&amp;do=diff</link>
        <description>14-MusicSpacial.sb

Voir


;Babylon.sbi - Music Spatial

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;
UseModule BJS

Global Scene, Camera, Light, Sound1, Sound2, Ground, GroundTex, GroundMat, Pole1, Pole2
 
Declare LoadGame()
Declare RenderGame()

InitEngine(@LoadGame())

Procedure LoadGame()    
  Scene = CreateScene()
  If Scene
    
    ;Load Music
    MusicLoad(&quot;Loop&quot;, &quot;data/sounds/loop.mp3&quot;, #True, #True)
    Sound1 = MusicLoad(&quot;Sound1&quot;, &quot;data/sounds/calm.wav&quot;, #True, #True)
    Sound2…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:particle&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>particle</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:particle&amp;rev=1678891796&amp;do=diff</link>
        <description>13-Particle.sb

Voir


;Babylon.sbi - Particle System

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Scene, Camera, Box, Emitter, Material

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()    
  Scene = CreateScene()
  If Scene
    CreateCamera(&quot;camera&quot;, 0, 10, 30, #BJS_ArcRotate)
    CreateLight(&quot;light&quot;, 0, 10, 20)
    
    ;The particle system will be attached to a mesh
    Box = CreateBox(&quot;box&quot;, 2, 2, 2)
    
    ;Create a parti…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:picking&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>picking</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:picking&amp;rev=1678891796&amp;do=diff</link>
        <description>12-picking.sb

Voir


;Babylon.sbi - Picking

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()
  Protected Mesh
  
  If CreateScene()
    CreateCamera(&quot;camera&quot;, 5, 5, 10, #BJS_ArcRotate)
    
    CreateLight(&quot;Light&quot;, 0, 10, 0, 0.8, #BJS_Hemispheric)
    
    CreateGround(&quot;Sweet Ground&quot;, 10, 10)
    Mesh = CreateBox(&quot;My Box&quot;, 1, 1, 1)
    MoveMesh(Mesh, 0, 1, 0)
    
    Mesh = CreateSphere(&quot;Sp…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:shadow&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>shadow</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:shadow&amp;rev=1678891796&amp;do=diff</link>
        <description>03-Shadow.sb

Voir


;Babylon.sbi - Shadows

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Camera, Light0, Light1, Plane, Sphere, MatPlane, MatSphere, ShadowGenerator

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()    
  If CreateScene()
    
    ;Camera &amp; Light
    Camera  = CreateCamera(&quot;camera&quot;, 0, 5, 7, #BJS_ArcRotate)
    Light0  = CreateLight(&quot;light&quot;, 5, 10, 0, 1, #BJS_Point)
    Light1  = CreateLight(&quot;light&quot;, 0, 10, 0, 0.5…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:skybox&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>skybox</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:skybox&amp;rev=1678891796&amp;do=diff</link>
        <description>08-SkyBox.sb

Voir


;Babylon.sbi - Skybox

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;
Enumeration
  #mf
  #mfRender
EndEnumeration
Global Camera, Light0, Light1, Sky, Ground, TexGround, MatGround, Torus0, Torus1, ShadowGenerator

Declare LoadGame()
Declare RenderGame()

UseModule BJS
OpenWindow(#mf, 0, 0, 0, 0 ,&quot;&quot;, #PB_Window_Background)
CanvasGadget(#mfRender, 0, 0, WindowWidth(#mf), WindowHeight(#mf), #PB_Canvas_Transparent)

InitEngine(@LoadGame(), #mfRender)

Procedure LoadGame()   
…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:template&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>template</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:template&amp;rev=1678891796&amp;do=diff</link>
        <description>00-Template.sb


;Babylon.sbi - Template minimum
 
EnableExplicit
 
IncludeFile &quot;babylon/babylon.sbi&quot;
 
Global Scene, Camera
 
Declare LoadGame()
Declare RenderGame()

UseModule BJS
InitEngine(@LoadGame())
 
Procedure LoadGame()    
  Scene = CreateScene()
  If Scene
    Camera = CreateCamera(&quot;camera&quot;, 0, 10, 10, #BJS_Free)
 
    RenderLoop(@RenderGame())
  EndIf
EndProcedure
 
Procedure RenderGame()
  RenderWorld() 
EndProcedure</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:terrain&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>terrain</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:terrain&amp;rev=1678891796&amp;do=diff</link>
        <description>10-Terrain.sb

La représentation du relief d&#039;un terrain passe par une carte des altitudes, plus communément appelée par son terme anglo-saxon, heightmap. Les zones les plus claires (blanches) correspondent aux hautes altitudes, tandis que les zones les plus sombres (</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:tube&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tube</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:tube&amp;rev=1678891796&amp;do=diff</link>
        <description>01-Tube.sb


;Babylon.sbi - Tube

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;
UseModule BJS

Enumeration
  #mf
  #mfRender
EndEnumeration

Global Scene, Camera, Tube, TubeMat, Light, 

;A tube consists of an array of 3D vectors. Example with 5 vectors
Dim TubeVectors.NewVector(4)

Declare LoadGame()
Declare RenderGame()


;Window &amp; Render
OpenWindow(#mf, 0, 0, 900, 600, &quot;CreateTube()&quot;, #PB_Window_ScreenCentered)
CanvasGadget(#mfRender, 0, 0, 900, 600, #PB_Canvas_Transparent)

;Init Babylon…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:tuberadiusfunction&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tuberadiusfunction</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:tuberadiusfunction&amp;rev=1678891796&amp;do=diff</link>
        <description>01-Tube Radius Function.sb


;Babylon.sbi - Tube

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;
UseModule BJS

Enumeration
  #mf
  #mfRender
EndEnumeration

Global Scene, Camera, Tube, TubeMat, Light, 

;A tube consists of an array of 3D vectors. Example with 5 vectors
Dim TubeVectors.NewVector(4)

Declare   LoadGame()
Declare.f Radius(Position, Distance.f)
Declare   RenderGame()

;Window &amp; Render
OpenWindow(#mf, 0, 0, 900, 600, &quot;CreateTube()&quot;, #PB_Window_ScreenCentered)
CanvasGadget(#mfRend…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:vrcamera&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vrcamera</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:vrcamera&amp;rev=1678891796&amp;do=diff</link>
        <description>18-VR Camera.sb

Voir Avec un mobile ou un casque virtuel.


;Babylon.sbi - VR Camera (Experimental)

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Scene, Camera, Light, RedMat, RedBox, BlueMat, BlueBox

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()    
  Scene = CreateScene()
  
  If Scene
    
    ;This creates and positions a device orientation camera  (0, 0, 0)
    Camera = CreateCamera(&quot;VR Cam&quot;, 0, 0, 0, #BJS_VR)
    
    ;…</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:water&amp;rev=1678891796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>water</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:water&amp;rev=1678891796&amp;do=diff</link>
        <description>09-Water.sb

Voir


;Babylon.sbi - Water

EnableExplicit

IncludeFile &quot;babylon/babylon.sbi&quot;

Global Camera, Light, Sky, Ground, GroundTex, GroundMat, Water

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()  
  If CreateScene()
    
    ;Camera &amp; Light
    Camera = CreateCamera(&quot;camera&quot;, 0, 20, 80, #BJS_Free)
    CameraBodySize(Camera, 1, 10, 1)
    
    Light = CreateLight(&quot;Light&quot;, 0, 100, 100, 0.8, #BJS_Hemispheric)
        
    ;SkyBox
    S…</description>
    </item>
</rdf:RDF>
