Woden?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Woden?

HilaireFernandes
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



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

abergel
Hi Hilaire,

We will come back to you.

Cheers,
Alexandre


> On Jul 18, 2015, at 5:54 PM, Hilaire <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Woden?

Clément Béra
In reply to this post by HilaireFernandes
Hello,

You can try to reload ConfigurationOfOSWindow or try to get the latest ConfigurationOfOSWindow then load the bleeding edge, that might be it.

Else for the #doSemanticAnalysisIn: you can try to flush the ASTCache (I think it's "ASTCache rest")

Have fun

2015-07-18 17:54 GMT+02:00 Hilaire <[hidden email]>:
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




Reply | Threaded
Open this post in threaded view
|

Re: Woden?

HilaireFernandes
In reply to this post by HilaireFernandes
As complement:

I am using Ubuntu 14.04 with 3D support.
I change the used VM for the one from Moose,

3.9-7 #1 Thu May 15 18:29:30 CEST 2014 gcc 4.6.3 [Production ITHB VM]

NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 May 15 2014

NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 May 15 2014

https://github.com/pharo-project/pharo-vm.git Commit: ed4a4f59208968a21d82fd2406f75c2c4de558b2 Date: 2014-05-15 18:23:04 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #14826

Linux pharo-linux 3.2.0-31-generic-pae #50-Ubuntu SMP Fri Sep 7 16:39:45 UTC 2012 i686 i686 i386 GNU/Linux


I have this error at the VM level (attached screenshot)
It looks I miss some kind of window support.


Thanks

Hilaire


Le 18/07/2015 23:54, Hilaire a écrit :

> 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


Capture.png (215K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Woden?

HilaireFernandes
In reply to this post by Clément Béra
Le 19/07/2015 00:31, Clément Bera a écrit :
> Hello,
>
> You can try to reload ConfigurationOfOSWindow or try to get the latest
> ConfigurationOfOSWindow then load the bleeding edge, that might be it.
>
>
It is already the ConfigurationOfOSWindow bleeding version installed

--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

Ronie Salgado
In reply to this post by abergel
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.

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 <[hidden email]>:
Hi Hilaire,

We will come back to you.

Cheers,
Alexandre


> On Jul 18, 2015, at 5:54 PM, Hilaire <[hidden email]> 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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






sample.wmjson (765K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Woden?

HilaireFernandes
Le 19/07/2015 00:51, Ronie Salgado a écrit :
> Only try to use the WDFPSSimpleExample until 11 (e.g:
> WDFPSSimpleExample6 new open) . The examples from WDFPSSimpleExample12
> onward were made by
It produces the same error with example before 11

Thanks

Hilaire

--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

MerwanOuddane
In reply to this post by Ronie Salgado


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 <[hidden email]>:
Hi Hilaire,

We will come back to you.

Cheers,
Alexandre


> On Jul 18, 2015, at 5:54 PM, Hilaire <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Woden?

HilaireFernandes
Le 19/07/2015 01:55, Merwan Ouddane a écrit :
>> 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.

Did you look at the screenshoot I sent about the VM error? But all
examples does not work.

MNU WDScreenQuadVertex>>nbUnit32AtOffset:

Hilaire

--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

stepharo
In reply to this post by MerwanOuddane
merwane

could you also publish the files you used?
I think that this would be good to have a resource so that people can fully
redo all the exercises.

Stef


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 <[hidden email]>:
Hi Hilaire,

We will come back to you.

Cheers,
Alexandre


> On Jul 18, 2015, at 5:54 PM, Hilaire <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Woden?

MerwanOuddane
On dim., 2015-07-19 at 23:45 +0200, stepharo wrote:
> merwane
>
> could you also publish the files you used?

I stated to do a separated example package, because the importer is not
directly into woden.

The files that we used would make the package to heavy...

> I think that this would be good to have a resource so that people can
> fully
> redo all the exercises.
>
> Stef
>
>
> > > 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
> > > <[hidden email]>:
> > >         Hi Hilaire,
> > >        
> > >         We will come back to you.
> > >        
> > >         Cheers,
> > >         Alexandre
> > >        
> > >        
> > >         > On Jul 18, 2015, at 5:54 PM, Hilaire <[hidden email]>
> > >         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 | Threaded
Open this post in threaded view
|

Re: Woden?

HilaireFernandes
In reply to this post by stepharo
Le 20/07/2015 05:45, stepharo a écrit :
> merwane
>
> could you also publish the files you used?
> I think that this would be good to have a resource so that people can
> fully
> redo all the exercises.

I understand Woden is still at early stage of development, so not much
documented, that's ok.
But my problem seems related to something else than missing resources,
and I don't know what's wrong.

I have an error at the VM level, even using the latest pharo vm.
See screenshot of error at:
http://permalink.gmane.org/gmane.comp.lang.smalltalk.pharo.user/20773

Thanks

Hilaire

--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

MerwanOuddane
On lun., 2015-07-20 at 18:41 +0800, Hilaire wrote:

> Le 20/07/2015 05:45, stepharo a écrit :
> > merwane
> >
> > could you also publish the files you used?
> > I think that this would be good to have a resource so that people can
> > fully
> > redo all the exercises.
>
> I understand Woden is still at early stage of development, so not much
> documented, that's ok.
> But my problem seems related to something else than missing resources,
> and I don't know what's wrong.
>
> I have an error at the VM level, even using the latest pharo vm.
> See screenshot of error at:
> http://permalink.gmane.org/gmane.comp.lang.smalltalk.pharo.user/20773
>

Weird...
Seems like you don't have the Nativeboost trait "TNBMemoryAccessors"

> Thanks
>
> Hilaire
>



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

Ronie Salgado
Hi Hilaire,

I am not able to reproduce your problem. Can you try testing with the following image and VM?: http://ronie.cl/Woden/woden-a01-linux.zip

Greetings,
Ronie

2015-07-20 8:00 GMT-03:00 Merwan Ouddane <[hidden email]>:
On lun., 2015-07-20 at 18:41 +0800, Hilaire wrote:
> Le 20/07/2015 05:45, stepharo a écrit :
> > merwane
> >
> > could you also publish the files you used?
> > I think that this would be good to have a resource so that people can
> > fully
> > redo all the exercises.
>
> I understand Woden is still at early stage of development, so not much
> documented, that's ok.
> But my problem seems related to something else than missing resources,
> and I don't know what's wrong.
>
> I have an error at the VM level, even using the latest pharo vm.
> See screenshot of error at:
> http://permalink.gmane.org/gmane.comp.lang.smalltalk.pharo.user/20773
>

Weird...
Seems like you don't have the Nativeboost trait "TNBMemoryAccessors"

> Thanks
>
> Hilaire
>




Reply | Threaded
Open this post in threaded view
|

Re: Woden?

HilaireFernandes
Le 20/07/2015 21:01, Ronie Salgado a écrit :
> I am not able to reproduce your problem. Can you try testing with the
> following image and VM?: http://ronie.cl/Woden/woden-a01-linux.zip

Ronie,

Ok, your image works out of the box, with the shipped VM or latest VM
download from pharo.org.
I see your image is Pharo4.0. I was using 3.0, probably because I see
some #3.0 for opengl.
May I suggest you add a note on SmalltalkHub about needed Pharo version
(I just added one in DrGeo page;)
I will try to install in a fresh 4.0, just to be sure.

Thanks

Hilaire

--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu



Reply | Threaded
Open this post in threaded view
|

Re: Woden?

Ronie Salgado
May I suggest you add a note on SmalltalkHub about needed Pharo version
(I just added one in DrGeo page;)
Done.


2015-07-20 10:53 GMT-03:00 Hilaire <[hidden email]>:
Le 20/07/2015 21:01, Ronie Salgado a écrit :
> I am not able to reproduce your problem. Can you try testing with the
> following image and VM?: http://ronie.cl/Woden/woden-a01-linux.zip

Ronie,

Ok, your image works out of the box, with the shipped VM or latest VM
download from pharo.org.
I see your image is Pharo4.0. I was using 3.0, probably because I see
some #3.0 for opengl.
May I suggest you add a note on SmalltalkHub about needed Pharo version
(I just added one in DrGeo page;)
I will try to install in a fresh 4.0, just to be sure.

Thanks

Hilaire

--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu