On 18/07/2015 18:51, Ronie Salgado wrote:
Hi Hilaire,

Only try to use the WDFPSSimpleExample until 11 (e.g: WDFPSSimpleExample6 new open) . The examples from WDFPSSimpleExample12 onward were made by Jean-Baptiste and Merwan Ouddane, and they require some external files to work which I don't have.
Sorry I'll clean it during the week.

They also made the Wavefront .obj file importer which is where you (and me) are receiving a message not understood. It seems that they forgot to merge some commits. Since I don't have the data they use to test those examples, I can't give it a try to fix the problem.

Anyway, during this week I started making a custom JSON based format for Woden. Along with an exporter from Blender and an importer for Woden. I am pushing the exporter script into https://github.com/ronsaldo/Woden/blob/master/scripts/blender/operator_woden_jsonexporter.py .

You can try the importer in Woden using the attached file, and doing the following in a playground:

==============================

| scene camera node model pointLight |
scene := WDScene new.

"Add a light"
pointLight := WDPointLight new.
pointLight
attach: (WDEllipticalOrbit new center: (WDVector3 newX: 0.0 y: 0.0 z: 0.0)).
    scene addChild: pointLight.

camera := WDCamera new.
camera position: (WDVector3 z: 4.0).
scene addChild: camera.

node := WDSceneNode new.
scene addChild: node.
model := WDModelJson new fromFile: './sample.wmjson'.
node attach: model.

==============================

(WDSceneViewer scene: scene camera: camera) open; yourself

Beware that soon I will be making a massive commit that could temporarily break some stuff(new shader management system, skeletal animation). I will be changing the configuration script soon.

Best regards,
Ronie

2015-07-18 13:02 GMT-03:00 Alexandre Bergel <alexandre.ber...@me.com <mailto:alexandre.ber...@me.com>>:

    Hi Hilaire,

    We will come back to you.

    Cheers,
    Alexandre


    > On Jul 18, 2015, at 5:54 PM, Hilaire <hila...@drgeo.eu
    <mailto:hila...@drgeo.eu>> wrote:
    >
    > Hi,
    > I want to make a demo of woden.
    > But does not work, and I don't know why.
    >
    > Installed version from Smalltalkhub following instruction found
    there,
    > or download directly an image from jenkins, in both case I have
    error
    > when executing:
    >
    > WDFPSSimpleExample13 new open
    >
    > MNU: receiver #doSemanticAnalysisIn: is nil
    >
    > Thanks
    >
    > Hilaire
    >
    >
    > PS: the Woden classes are almost completely uncommented!
    >
    > --
    > Dr. Geo
    > http://drgeo.eu
    > http://google.com/+DrgeoEu
    >
    >
    >

    --
    _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
    Alexandre Bergel http://www.bergel.eu
    ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply via email to