O, thanks. This is very good tips - 'Convert to Local'. It really what I need!
> Yes, but you need to give a bit longer version of --storage. It goes > something like this *--storage > name=ViksWebStorage;src=http://someserver.com/webdav/;type=HttpAssetStorage;trusted;default;* > This should give you the desired effect so yes, whenever you have a > relative asset ref (mesh, script, material, whatever) as "myfish.mesh" > without local:// or http:// it will go to the default storage (marked with > default; in the --storage param) it will try to fetch it > fromhttp://someserver.com/webdav/myfish.mesh. And you should only need to set > this --storage of course on the server and it will replicate the storage to > clients. About --storage - I don't get it. When I start server i load .txml from some folder, where all the assets resides. ./Tundra --server --file /var/www/web/myserver/ mytxml.txml. And this will be default storage for server. If additionally i specify *--storage name=ViksWebStorage;src=http:// someserver.com/webdav/;type=HttpAssetStorage;trusted;default;* for this server it will start download for my server from http://someserver.com/webdav/ ? I think this need to be done only on client side. Client can be started like: * Tundra --connect http://someserver.com/webdav;2345; udp;vik;vik --storage name=ViksWebStorage;src=http://someserver.com/ webdav/;type=HttpAssetStorage;trusted;default;* I tried to set dropbox folder as storage, but i can't get it work without specify storage on client. If I specify on client side this public dropbox storage it go well... As for user authentication, I simply used MySQLDb with Python on the server. > One thing JS does very well is HTTP requests, so if you have a backend > where you can query "is this guys password correct" you simply do something > like 'var transfer = > asset.RequestAsset("http://someserver.com/auth?username=<username>&password=<pwd>");' > Make that > transfer not cache and once completes read the HTTP response body in JS. I have not thought about asset.RequestAsset. In place, with JS I used QNetworkAccessManager * var netmanager= new QNetworkAccessManager(null); netmanager.get( new QNetworkRequest(new QUrl(urldb+"/ getUsersInfo.php")) * May be your solution with RequestAsset will be better... > Hope I can get account too so I can check you fishworld :) Sorry, but it's too early for fishing. Fish should grow, as I just started to deep into realXtend :) Vik. -- http://groups.google.com/group/realxtend http://www.realxtend.org
