Re: [CsMain] AI

2009-03-28 Thread Pablo Martin
Hi Henry Daniel wrote: Hi again, I was checking out the repository and the old GSoC projects related to CS, I found some projects interesting to me. I'm not sure if the pathfinding algorithm is already done, but if it's no I could do it. In addition to the pathfinding, I was thinking about

Re: [CsMain] blender2crystal - default mesh type

2009-02-11 Thread Pablo Martin
Tim Shannon wrote: The current blender2crystal documentation states that the default mesh type is thing, and lightmaps only apply to thing meshes (http://b2cs.delcorp.org/index.php/Object_Type_Reference#Mesh_Types) and not genmeshes. I'm assuming it's out of date right, and the default mesh

Re: [CsMain] Is my problem the environment variable?

2008-10-27 Thread Pablo Martin
Daniel Esser escribió: currently my CRYSTAL environment variable is set to .../crystal-sdk:.../crystal-sdk/lib/crystalspace-1.4:.../crystal-sdk/etc/crystalspace-1.4. I just wondered because you wrote CRYSTAL should point to only one directory. If I do so CS doesn't find any plugin or cfg

Re: [CsMain] Is my problem the environment variable?

2008-10-27 Thread Pablo Martin
Daniel Esser escribió: res wrote: On 27.10.2008 16:52, Pablo Martin wrote: B2cs will use just the first path component in CRYSTAL, which should be the path where data/shaders can be found. CS itself on the other hand looks into every dir in the var, scans for plugins, looks

Re: [CsMain] What is the proper way to do 2d?

2008-09-17 Thread Pablo Martin
Ill clarify about the cel patch (and i think the info is good to know for all cs users too). I didn't commit it yet, because the patch changes billboard-text drawing order in an incorrect way (explanation below). It is not a problem with no billboard overlap, but it is not 100% correct. The

Re: [CsMain] Time to ditch software renderer?

2008-09-17 Thread Pablo Martin
I considered it one of the great features of cs, but, given its not maintained any more, and far from the rendering glory of the old days, we can't do much, so it has to be ditched. Just for the record, i started using cs because of the software renderer, and it used to be faster than opengl

Re: [CsMain] Pure Python CS/CEL application

2008-08-25 Thread Pablo Martin
That seems to come from out of date swigpyruntime.h, which is a file generated by swig. Make sure it is generated, and the correct one is used (maybe by overwriting the frozen one). There's been some issue with the build system using the wrong one, so it can be that, otherwise, not sure. About

Re: [CsMain] Sprite 3D factory format

2008-08-13 Thread Pablo Martin
I think you cant do it in the factory, just in the object (as b2cs does), but i might be wrong. Pablo Amir Taaki escribió: Looking through documentation I can't see how describing geometry in factory files is done. Here's what I have, library textures texture name=laser_blue

Re: [CsMain] Sprite 3D factory format

2008-08-13 Thread Pablo Martin
, 2008 at 8:51 PM, Pablo Martin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think you cant do it in the factory, just in the object (as b2cs does), but i might be wrong. Pablo Amir Taaki escribió: Looking through documentation I can't see how describing

Re: [CsMain] Including the cegui python binding for the debian/ubuntu packages?

2007-12-19 Thread Pablo Martin
Hi, i believe the version in b2cs server has these, http://b2cs.delcorp.org/index.php/Debian_Packages it is very dated though (nothing for feisty or gutsy), new packages are in development and will hopefully soon (1-2 weeks) be ready. still, you can use the sources for the deb files to roll

Re: [CsMain] bindingsplit: errors on MSVC

2007-10-05 Thread Pablo Martin
Lukas Erlinghagen wrote: Pablo Martin schrieb: res wrote: On 04.10.2007 19:58, Pablo Martin wrote: 3.: pysimp can't load the cspace module. I changed cspython.cpp to add scripts/python/frozen to pythonpath in addition to scripts/python. However, I'm not sure whether

[CsMain] Required swig version for python bumped up to 1.3.28

2007-10-05 Thread Pablo Martin
Hi! In order to start using new optimization features in swig the required version was changed to 1.3.28 (only for python though). Note people with an older version will just use the pregenerated files (now done with 1.3.31), so i strongly believe it shouldnt be a problem to anyone. Please let

Re: [CsMain] bindingsplit: errors on MSVC

2007-10-04 Thread Pablo Martin
Hi Lukas Erlinghagen wrote: Hi! I just tried to build the split python modules on MSVC 2005, using CS trunk revision 27806. Unfortunately, there were some errors. 1.: The variable called PYTHONPATH in plugins\cscript\cspython\cspython.cpp, lines 101 ff, conflicts with a Win32-specific

[CsMain] Bindingsplit branch merged into trunk

2007-10-02 Thread Pablo Martin
Hi! I just merged bindingsplit branch into trunk. This means now the swig files are ready for building bindings in several modules instead of just one big module, which should help memory and linking problems for most users. Keep in mind atm only python is using the new approach to building the

[CsMain] Request for testing and peer review on the bindingsplit branch

2007-09-23 Thread Pablo Martin
Hi! I think many of you are aware of the bindingsplit branch, which rearranges the swig files so that it is possible to build bindings for different languages in several modules instead of just one big one. This is beneficial for the following reasons: - Solves problems in os's that cant link so

Re: [CsMain] Python tutorial problems under OSX

2007-07-11 Thread Pablo Martin
The problem could be the python tutorials are using software renderer (this should be changed), try adding -video=opengl to the command used to run them. About the glcg oddity its just a side effect of using software renderer. Greetings Pablo Diez B.Roggisch wrote: Hi all, I've

Re: [CsMain] MAC adress

2007-07-06 Thread Pablo Martin
Last year we installed software from that repo (well it was a different one but same packages basically), computers there had debian. I hope this year will be just as easy to setup as last. :) The procedure was: arrive there the day before, install on one machine, and have it magically deployed

Re: [CsMain] RTS Game Tutorial

2007-06-29 Thread Pablo Martin
Hi Richard Boehme wrote: On 6/27/07, Amir Taaki [EMAIL PROTECTED] wrote: Hi! Even better! We made an example! https://b2cs.delcorp.org/svn/cspop Thanks. I'll check that out later tonight. Is it in active development? What's the license on it (didn't see that info looking

Re: [CsMain] trying to find a solution for too big swig generated modules

2007-01-15 Thread Pablo Martin
Hi Eric Sunshine wrote: - It may not necessarily be true that breaking the bindings apart into smaller modules would improve build time (in fact, it might lengthen it). - Breaking the bindings apart into smaller modules, although not necessarily improving overall build time, might

[CsMain] trying to find a solution for too big swig generated modules

2007-01-13 Thread Pablo Martin
Hi! I think many people is aware that current swig bindings generation is creating way too big modules, that take loads of ram to build and in some systems arent even linkable due to too many symbols. The problem is already very visible from python and a lot of people is complaining (either that

[CsMain] wrapping cs get/set methods as language accessors with swig

2007-01-13 Thread Pablo Martin
Hi! I have been working on a solution to be able to access cspace get/set methods as language specific accessors (in my case python). Ie, i want to be able to do: movable.Position = somevector somevector = movable.Position instead of: movable.SetPosition(somevector) somevector =

Re: [CsMain] ffmpeg image loader

2007-01-12 Thread Pablo Martin
Hi res wrote: but i noticed the method of blitting from the texture handle is quite slower than changing the texture target (20 fps against 120 with a 256x256 video). Is this normal? Make sure the textures are uncompressed (nocompress class). Also try disabling mipmaps. Seems

[CsMain] ffmpeg image loader

2007-01-10 Thread Pablo Martin
Hi! I've been working on an ffmpeg image loader for crystalspace that allows to use videos as textures. First i'd like to ask if it would be good for crystalspace itself, or maybe better suited for CSExtra repository, so i can commit it. You can check its code at:

Re: [CsMain] ffmpeg image loader

2007-01-10 Thread Pablo Martin
res wrote: actually the same happened on first pure proctex implementation of the same concept, but i thought it was something i was doing wrong there (proctex implementation was more messy). Maybe somebody knows what might be wrong here? I have checked carefully with mng loader but i dont see

Re: [CsMain] ffmpeg image loader

2007-01-10 Thread Pablo Martin
res wrote: On 10.01.2007 17:04, Pablo Martin wrote: Another question that arises is it seems all loaders get tested against any given texture (until one works at least), so defining the handled mimetypes doesnt seem of much use here, maybe i'm also overlooking something here

[CsMain] pycscegui module added to svn

2006-09-19 Thread Pablo Martin
Hi! I want to comment i added today the pycscegui module to crystalspace. This is an additional python module that allows to use the cegui wrapper plugin in cs, plus makes the link between cegui and cs bindings so they can be used together. Note to build this you'll need the following: * cegui

[CsMain] iConsoleInput and autocompletion

2006-07-29 Thread Pablo Martin
people think? Would any of these be appropiate for the standard input console? I like the second option more (define a callback for user selectable completion key). Greetings! Pablo Martin - Take Surveys. Earn Cash

[CsMain] Create new folder for swig files?

2006-07-29 Thread Pablo Martin
Ho! I was thinking maybe we could move all swig .i files to a separate folder from include/ivaria. I propose include/bindings but maybe somebody has a better idea :-) Is there anybody against this? Greetings! Pablo - Take