<?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</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-15T05:45:43+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=wiki:dokuwiki&amp;rev=1679476185&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=babylon&amp;rev=1678891757&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=functions:scene&amp;rev=1535545667&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=functions:engine&amp;rev=1519776393&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=functions:environment&amp;rev=1519338273&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=functions:gui2d&amp;rev=1518377346&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:meshclone&amp;rev=1517162106&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=playground:light&amp;rev=1516725645&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?id=functions:mesh&amp;rev=1516626811&amp;do=diff"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Aaddictionvideo.jpg&amp;ns=wiki&amp;rev=1516371379&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=garden.jpg&amp;ns=&amp;rev=1515631818&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Agarden.jpg&amp;ns=wiki&amp;rev=1515631424&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=logo.png.old&amp;ns=&amp;rev=1515441064&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Aheightmap.png&amp;ns=wiki&amp;rev=1494519045&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=eye.png&amp;ns=&amp;rev=1493570419&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=arc01.png&amp;ns=&amp;rev=1493566393&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=loadscene.jpg&amp;ns=&amp;rev=1493419237&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="http://falsam.com/sbbjs/wiki/doku.php?image=basicscene.jpg&amp;ns=&amp;rev=1493418895&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
            </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=wiki:dokuwiki&amp;rev=1679476185&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-22T09:09:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=wiki:dokuwiki&amp;rev=1679476185&amp;do=diff</link>
        <description>DokuWiki

wiki:dokuwiki DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn&#039;t require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator&#039;s favorite. Built in</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=babylon&amp;rev=1678891757&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-15T14:49:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>babylon - modification externe</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=babylon&amp;rev=1678891757&amp;do=diff</link>
        <description>babylon.sbi version 1.0 (09 Janvier 2017)

Version de SpiderBasic : 2.20

Version du framework babylon.js : 3.1 

Qu&#039;est ce que babylon.sbi ?

Babylon.sbi est un module codé avec le langageSpiderBasic permettant de disposer d&#039;un accès simplifié au framework javascript</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=functions:scene&amp;rev=1535545667&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-29T12:27:47+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>scene</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=functions:scene&amp;rev=1535545667&amp;do=diff</link>
        <description>Scene.sbi

Pour afficher quelque chose à l’écran il faudra créer une scène et lui attacher des objets, créer une caméra et un Renderer.

■ Result = CreateScene()

Crée une scène. 

■ Result = SceneWidth()

Retourne la largeur de la scène.</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=functions:engine&amp;rev=1519776393&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-02-28T00:06:33+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>engine</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=functions:engine&amp;rev=1519776393&amp;do=diff</link>
        <description>engine.sbi

■ SetEnginePath(EnginePath.s = “sbbjs”)

Definir le chemin du framework babylon.custom.js

■ InitEngine(CallBack, CanvasGadget = #PB_Ignore)

Initialiser l&#039;environnement 3D

	*  Callback c&#039;est le nom de la procédure à exécuter quand l&#039;environnement 3D est prét.</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=functions:environment&amp;rev=1519338273&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-02-22T22:24:33+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>environment - [Shadows] </title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=functions:environment&amp;rev=1519338273&amp;do=diff</link>
        <description>environment.sbi

■ AmbientColor(Color.i)

Change la couleur ambiante du monde 3D.

■ Result = SkyBox(Name.s, sky.s, Size.i = 200 )

Crée un cube à 6 faces texturées faces intérieur. 

Le paramètre Sky contient le nom du dossier et le nom générique des images sans l&#039;extension JPG ou PNG.</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=functions:gui2d&amp;rev=1518377346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-02-11T19:29:06+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>gui2d</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=functions:gui2d&amp;rev=1518377346&amp;do=diff</link>
        <description>gui.sbi

Ce module permet de créer des contrôles (texte, rectangle, image, bouton, etc ...) attachés a une texture dynamique fullscreen ou attachée à un mesh. 

Exemple ! GUI Demo

■ Result = CreateDynamicTexture(Mesh = #False)

Créer une texture dynamique transparente fullscreen ou associé à un mesh.</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?id=playground:meshclone&amp;rev=1517162106&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-28T17:55:06+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>meshclone - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:meshclone&amp;rev=1517162106&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:light&amp;rev=1516725645&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-23T16:40:45+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>light</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=playground:light&amp;rev=1516725645&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=functions:mesh&amp;rev=1516626811&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-22T13:13:31+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>mesh</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?id=functions:mesh&amp;rev=1516626811&amp;do=diff</link>
        <description>Mesh

	*  Chaque mesh est identifié par nom alphanumérique.
	*  Chaque mesh retourne un objet javascript.
	*  Chaque mesh est physic.   

■ Result = CreateSphere(Name.s, Size.f, Subdivs = 16)

Créer une sphère.

■ Result = CreateGround(Name.s, Width.f, Depth.f, Subdivs = 2)</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Aaddictionvideo.jpg&amp;ns=wiki&amp;rev=1516371379&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-19T14:16:19+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>addictionvideo.jpg - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Aaddictionvideo.jpg&amp;ns=wiki&amp;rev=1516371379&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=5e29b2&amp;amp;media=wiki:addictionvideo.jpg&quot; alt=&quot;addictionvideo.jpg&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=garden.jpg&amp;ns=&amp;rev=1515631818&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-11T00:50:18+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>garden.jpg - supprimée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=garden.jpg&amp;ns=&amp;rev=1515631818&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=0d0a0f&amp;amp;media=garden.jpg&quot; alt=&quot;garden.jpg&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Agarden.jpg&amp;ns=wiki&amp;rev=1515631424&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-11T00:43:44+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>garden.jpg - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Agarden.jpg&amp;ns=wiki&amp;rev=1515631424&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=fe7f25&amp;amp;media=wiki:garden.jpg&quot; alt=&quot;garden.jpg&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=logo.png.old&amp;ns=&amp;rev=1515441064&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-08T19:51:04+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>logo.png.old - supprimée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=logo.png.old&amp;ns=&amp;rev=1515441064&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/images/fileicons/svg/file.svg&quot; alt=&quot;logo.png.old&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Aheightmap.png&amp;ns=wiki&amp;rev=1494519045&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-11T16:10:45+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>heightmap.png - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=wiki%3Aheightmap.png&amp;ns=wiki&amp;rev=1494519045&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=570eb3&amp;amp;media=wiki:heightmap.png&quot; alt=&quot;heightmap.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=eye.png&amp;ns=&amp;rev=1493570419&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-30T16:40:19+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>eye.png - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=eye.png&amp;ns=&amp;rev=1493570419&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=808afd&amp;amp;media=eye.png&quot; alt=&quot;eye.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=arc01.png&amp;ns=&amp;rev=1493566393&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-30T15:33:13+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>arc01.png</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=arc01.png&amp;ns=&amp;rev=1493566393&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=52d3dc&amp;amp;media=arc01.png&quot; alt=&quot;arc01.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=loadscene.jpg&amp;ns=&amp;rev=1493419237&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-28T22:40:37+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>loadscene.jpg - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=loadscene.jpg&amp;ns=&amp;rev=1493419237&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=b9da63&amp;amp;media=loadscene.jpg&quot; alt=&quot;loadscene.jpg&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="http://falsam.com/sbbjs/wiki/doku.php?image=basicscene.jpg&amp;ns=&amp;rev=1493418895&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-28T22:34:55+00:00</dc:date>
        <dc:creator>falsam (falsam@undisclosed.example.com)</dc:creator>
        <title>basicscene.jpg - créée</title>
        <link>http://falsam.com/sbbjs/wiki/doku.php?image=basicscene.jpg&amp;ns=&amp;rev=1493418895&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;http://falsam.com/sbbjs/wiki/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=1eca3b&amp;amp;media=basicscene.jpg&quot; alt=&quot;basicscene.jpg&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
</rdf:RDF>
