Comments (49)
Hey there,
You have to run both Whip and Aperture. Whip is the actual Asset server and Aperture helps speed up texture and mesh rendering. My team has aperture running on our machines running regions and Whip on our machine running the grid services for our Halcyon test grid.
According to Halcyon.ini the Map Server URI should be: MapImageServerURI="http://xxx.xxx.xxx.xxx:9000/" (Replace the x with your domain url or IP).
In reality, all you should need to do for it to work correctly is leave all the defaults in the configuration files except add the DB connection strings and change the IP addresses to your domain url or IP address.
Other then that you should be good to go with textures for regions showing up properly in all viewers.
from halcyon.
I have the Defaults set but the map textures only show up properly in firestorm and i am in gridmode so i am not sure the 9000 port is valid in that case
from halcyon.
It would appear to be as it shows up in all viewers for me. However, in grid mode, you also have to make the necessary changes in a couple of xml configuration files as well. You can always email me directly and I can pass you a copy of the xml files if you don't have them.
I can also be reached on Second Galaxy (My team's main grid), and on Secondlife. (Fred2008 Levasseur InSL).
from halcyon.
i have the xml files and grid is running files i am just not sure about UserServer_Config.xml there it says to map_server_uri which by default is empty and defaults to secondlife
from halcyon.
Add the "http://xxx.xxx.xxx.xxx:9000/" there (change the xxx.xxx.xxx.xxx to your domain url or IP address) should sort that out.
FOrgot to mention the obvious, make sure you reboot your grid and region servers after doing the edit to ensure everything updates properly.
from halcyon.
from halcyon.
What viewer are you using?
from halcyon.
Inworldz3 Singularity and Firestorm
from halcyon.
Okay, The InWorldz viewer I am seeing the same thing so that is likely an issue with their specific viewer.
For Firestorm (For OpenSim) you should see something similar to this:
from halcyon.
Yes like is said before firestorm is fine
from halcyon.
Yeah, I think its just they need to update their specific viewer (potentially). For the most part, Firestorm is widely used by many people (on most grids) from what I am aware of at the moment.
from halcyon.
yes but it is still a issue as the same viewer works fine on the inworldz grid, i think they need an update on the wiki on how to set this up
from halcyon.
The info is there on the wiki on the configuration page (though it could be written better). But your configs are correct now if Firestorm is seeing it correctly so in this case it is likely an issue with their specific viewer.
from halcyon.
yes but for example on inworldz the mapserver uri returns http://places.inworldz.com/map2.php/ in their own viewer, i think inworldz is not picking that up correctly
from halcyon.
Yes but the Halcyon architecture does not have everything that InWorldz does. In fact they haven't updated the viewer since they open sourced Halcyon (would need to check their last commit). However their viewer is based on an older version of the Alchemy Viewer. So you could take the latest Alchemy viewer and that probably will work.
from halcyon.
Alchemy has the same issue, just tested
from halcyon.
Okay then rest assured your configs are correct. Its likely a bug with how the info is being received by the viewer itself.
from halcyon.
You could open the viewer logs and see why it isn't downloading the tiles instead of throwing up your arms and saying two out of three viewers are broken.
from halcyon.
from halcyon.
from halcyon.
this explains a lot i will try it now
from halcyon.
yay it works perfectly thanks a lot this helped
from halcyon.
now only the gettexture for now i solved it by hardcoding the uuid instead of uuid.random but i dont think this is a suitable solution.
from halcyon.
from halcyon.
yes i am fetching it from there and convert it to jpeg but it uses a random uuid for the GetTexture and GetMesh it doesnt seem to have a GetTexture/?texture_id= http handler
from halcyon.
from halcyon.
well this is what i am doing to display profile pictures on my website:
from halcyon.
$uuid = escapeshellcmd(mysql_escape_string($_GET["uuid"]));
$s = 256 | 0;
$geom = $s."x".$s;
$size = escapeshellarg($geom);
$url = "http://domain.com:8000/CAPS/HTT/5f8e7183-97eb-42eb-a0db-2fa668268b63/?texture_id=$uuid";
if (!file_exists("./tmp/$uuid-$geom.png"))
{
copy ($url, "./tmp/$uuid.j2k");
exec ("j2k_to_image -i ./tmp/$uuid.j2k -o ./tmp/$uuid.tga");
exec ("convert -scale $size ./tmp/$uuid.tga ./tmp/$uuid-$geom.png");
unlink ("./tmp/$uuid.j2k");
unlink ("./tmp/$uuid.tga");
}
if (!file_exists("./tmp/$uuid-$geom.png"))
{
exit;
}
header("Content-type: image/png");
$fd = fopen("./tmp/$uuid-$geom.png", "r");
fpassthru($fd);
fclose($fd);
from halcyon.
from halcyon.
i am using php so i probably wont come around to writing my own texture handler using chattel as it seems
from halcyon.
from halcyon.
for now i solved it by modifying halcyon to use one global aperture with a fixed CAP for gettexture (no bugs seen so far)
from halcyon.
from halcyon.
yes i am considering to add a httphandler cap to aperture
from halcyon.
but the global aperture i will probably keep , considering the machine running it is fast enough lol
from halcyon.
from halcyon.
do you have an example to create a cap?
from halcyon.
from halcyon.
from halcyon.
ok i am creating a cap with php now render the image and remove the cap again with php i hope that is the right way to do it.
from halcyon.
function GUID()
{
if (function_exists('com_create_guid') === true)
{
return trim(com_create_guid(), '{}');
}
return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
}
$guid = GUID();
$response = file_get_contents('http://MYDOMAIN:8000/CAPS/HTT/ADDCAP/MYTOKEN/'.$guid.'/50000');
$uuid = escapeshellcmd(mysql_escape_string($_GET["uuid"]));
$s = 256 | 0;
$geom = $s."x".$s;
$size = escapeshellarg($geom);
$url = "http://MYDOMAIN:8000/CAPS/HTT/$guid/?texture_id=$uuid";
if (!file_exists("./tmp/$uuid-$geom.png"))
{
copy ($url, "./tmp/$uuid.j2k");
exec ("j2k_to_image -i ./tmp/$uuid.j2k -o ./tmp/$uuid.tga");
exec ("convert -scale $size ./tmp/$uuid.tga ./tmp/$uuid-$geom.png");
unlink ("./tmp/$uuid.j2k");
unlink ("./tmp/$uuid.tga");
}
if (!file_exists("./tmp/$uuid-$geom.png"))
{
exit;
}
header("Content-type: image/png");
$fd = fopen("./tmp/$uuid-$geom.png", "r");
fpassthru($fd);
fclose($fd);
unlink("./tmp/$uuid-$geom.png");
$lol = file_get_contents('http://MYDOMAIN:8000/CAPS/HTT/REMCAP/MYTOKEN/'.$guid.'/');
from halcyon.
from halcyon.
yes i changed my domain and my token so nobody can access my aperture lol
from halcyon.
On a sidenote: Leaving the bw from the Addcap away causes Aperture to crash
from halcyon.
from halcyon.
from halcyon.
from halcyon.
from halcyon.
@kf6kjg thanks for the idea about keeping the cap open, i now have a bit of balancing in that cycles through 6 aperture servers and writes the cap it openened to the database and a cronjob closes the cap after 2 hours so i am sorted, you can close this issue :)
from halcyon.
Related Issues (20)
- Scripts, and possibly notecards, are being saved with CRLF line endings HOT 2
- llParcelMediaQuery() for PARCEL_MEDIA_COMMAND_DESC returns wrong data HOT 2
- Error on Scripts in GridMode HOT 18
- No Message Transfer Module Found HOT 10
- New LSL Function: iwCheckProfileFlag HOT 7
- Mesh issue HOT 11
- Next issue with scripts. CHANGED_REGION_START HOT 1
- Restart Question HOT 17
- Halcyon.sample.ini causes NullReferenceException crash related to AvatarCurrency HOT 5
- Defining gridmode = false in Halcyon.ini seems to treat it as true HOT 5
- Character escapes, eg. "\r", fail compile HOT 3
- Scripts embed carriage returns into multiline strings only on Windows HOT 2
- Loading Oar file, terrain settings are not saved to regionsettings table. HOT 4
- please updat master branch, gettin 1000+ errors.. HOT 3
- Last picture saved and when the background turns black HOT 2
- OpenSimulator Inventory Archives HOT 1
- Prim Vanishing Act! Prim attribute problem. HOT 7
- PhysX needs an update - currently doesn't work on Linux! HOT 6
- Ubuntu Linux install package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halcyon.