Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Jonne Nauha
I did some more work for python https://github.com/realXtend/naali/commit/b2a25515c384e53bd5c6382bec541711edd2948c New tundra.py that you import and use the core APIs: https://github.com/realXtend/naali/blob/tundra2/bin/pyplugins/tundra.py New apitests.py that you can run using Tundra.exe --python

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Jonne Nauha
That would be helpful if you can give concrete use cases. But I recon youll do mighty well if we just expose all the SDK APIs and the full chain of scene -> entity -> component -> attribute. The problem with the old python module is that there are all kinds of special getters and setter and own mag

[realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread ilikia
Thanks again, I'll look at it next week. Might even try to think about what kinds of methods the new tundra.py module would need. On Jul 22, 9:25 pm, Jonne Nauha wrote: > Alright Ilikia I committed my > stuffhttps://github.com/realXtend/naali/commit/f2bd3a2ade72223a4262c80af7e... > >

[realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread ilikia
Wow guys, you really had a brainstorm this afternoon. Probably interesting things to come. Ali: I had already commented out all the code in the files you mentioned, they did not cause errors. The big problems occurred with PythonScriptModule and PythonScriptInstance, because they refer a lot to st

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Jonne Nauha
Alright Ilikia I committed my stuff https://github.com/realXtend/naali/commit/f2bd3a2ade72223a4262c80af7e04f2c8db13348 Please do read the commit msg and understand i did not test this yet. You may do that if you ch

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Jonne Nauha
Actually we have discussed this with Jukka from Ludo (and with Toni for many years moving sources to /src). What was discussed with Jukka before he left for summer holidays was the SDK vs. app level split being more strict. I have only done initial steps to do this separations. And I acknowledge th

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Ali Kämäräinen
The new math classes are not currently exposed to Python. The math classes are not QObjects, nor will be afaik. The QScriptBindings bindings generator (found in JavascriptModule) can be probably extended to generate Python bindings too. Whether they will be done using the decorator technique or not

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Jonne Nauha
How are the new math lib classes exposed to py? I did see that there were generated converter functions spesificly for the QScriptEngine. Are they QObjects? I mean if not we still need to make Qt based Decorators like that to feed them into PythonQt. At least i think so. I am under the impression t

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Ali Kämäräinen
ilikia, Festivals - a great opportunity to miss bands... But to the business: you can delete Vector3dfDecorator.h&cpp, QuaternionDecorator.h&cpp and TransformDecorator.h&cpp + all references to those files. That should help a bit at least. Grey skies, Ali Kämäräinen -- http://groups.google.com

Re: [realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread Jonne Nauha
Hi Ilikia, Sorry that I havent been more vocal here on the mailing list since getting back to work on monday. I have done some big efforts for the Tundra2 codebase since then. We are now working in the realXtend naali repo under tundra2 branch. I have made things build again like cave module. Pyth

[realXtend] Re: LudoCraft's Tundra 2.0-preview installer and code is out!

2011-07-22 Thread ilikia
Hi again Ali, hope you had a nice festival weekend a week ago. Sielun Veljet... would have been nice to see them again after all these years. OK, I managed to make CAVE functionality work in Tundra 2.0, thanks a lot for the instructions. I've fiddled with the remake of the PythonScriptModule now a