[realXtend] Re: Blog post: How to publish content to realXtend Tundra
On Jun 21, 12:49 pm, Haylton Bomfim haylt...@gmail.com wrote: Guys sorry but the topic of Avatar was failad for me. I do every steps but the avatar don't appears in my scene. My dropbox path ishttp://dl.dropbox.com/u/32975643/tundra-assets/cube/ If someone can help me thank so much. Cheers, Haylton Well, as it is said in the blog: We will be needing the files: avatarapplication.js, simpleavatar.js, crosshair.js, default_avatar.xml, firstpersonmouseicon.png. Copy these files again in to your web path, im using Dropbox location Public/tundra-assets/cube again Open the avatarapplication.js with a text editor. Again replace “local://” string with your base path where you copied the assets, for me its “http://dl.dropbox.com/u/3589544/tundra-assets/” remember the trailing “/”. Note that this should touch lines 1 that is the dependency reference declaration that Tundra will detect and download and line 133 that dynamically during run time adds the simple avatar script for all the clients. Do the same thing for crosshair.js and simpleavatar.js You don’t need to do this for the default_avatar.xml as assets referenced in it are shipped with Tundra and will be found automatically. Open a viewer, connect to your live Tundra world (or localhost does not matter) where you have the cube terrain. No we need to create a entity that has the avatarapplication.js in a EC_Script component. Once inworld Shift+S to get the scene struct, you can also open it via the menus View - Scene Right click on the scene view - New Entity. Select synchronized (the default) and hit OK. Optional: Right click on the new entity, it should be right up top now in the Scene view with no name. - Rename. There is a bug that you wont see what you are writing, but just write “avatar-app” and hit enter. It should update. Double click the newly created entity, this should open a Entity Editor window. Right click - Add new component. Name: avatar-app (again optional but nice). Component: search the list for “Script” and select it. Click OK. Expand the Script component in the Entity Editor view. Check “Run on load” to be true. Write “Type” to be “js“. Write/paste “Script ref” to be the web asset of you avatar application. For me its http://dl.dropbox.com/u/3589544/tundra-assets/avatarapplication.js -- In other words, you have to have avatarapplication.js as entity in your .txml file, and you need to have the files avatarapplication.js, simpleavatar.js, crosshair.js, default_avatar.xml, firstpersonmouseicon.png at the end of the web asset path, and indicate avatarapplication.js in the txml. I use only local scenes, so I have them in data/assets and I have local://... as path in txml, but of course you can't access the scene properly from the internet then. So if you want to your scenes to be accessible to internet users, you have your assets in the end of the web asset path as instructed in the blog, and local://file.ending, if you use the scene only locally. And the files need to be there, whereever the path may be. You can edit the file location live in Tundra in Scene tab. Hope I did not confuse matters further;-) Ilikia -- http://groups.google.com/group/realxtend http://www.realxtend.org
[realXtend] Re: Blog post: How to publish content to realXtend Tundra
This is very useful post - thanks Jonne. Could you explain the format of the terrain heightmap in the physics.txml example? -- http://groups.google.com/group/realxtend http://www.realxtend.org
Re: [realXtend] Re: Blog post: How to publish content to realXtend Tundra
Thanks Toni for the great hint I tried it and the texture looks good in the game mode, but no change in tundra, in the meantime i stumbled over the ogremeshy button which shows me the same result like I see in tundra - the object with only the specular map. Maybe there is some tinkering needed with the ogre material or texture settings - but so far I didn't had any success Cheers Pedro On Sat, May 28, 2011 at 9:44 PM, Toni Alatalo t...@playsign.net wrote: On May 28, 2011, at 11:39 AM, ilikia wrote: I build my .blend files incorrectly? If I render my models in Blender, all textures are there. Not everything that works in the Blender non-realtime still image / movie rendering works in realtime / game engine rendering. By far. Better test is to see if your materials work in the Blender game engine, press 'p' in a 3d view or select 'start game' from menu. For example, for the Blender renderer you can put procedural textures etc that generate the image without using image files, and that doesn't work out of the box for the realtime world. Also the movie renderer can do different kinds of texture coordinate mappings, whereas for game engine usage you usually need to have UV coordinates for the mesh for texture images to show. One idea is that we'd make some sort of a simplified realtime dedicated UI to Blender, so all the options that are there for movie making wouldn't confuse people who target realtime engines. This could be e.g. a part of the blender realxtend integration worked on in b2rex and blender2ogre by Pablo and Brett. Is feasible with Blender 2.5 with the rewritten UI engine that allows easy customizing in Python. ~Toni On May 22, 4:09 am, Jonne Nauha jo...@adminotech.com wrote: Just wrote a long blog post how to publish content to Tundra. Should be a easy to follow tutorial for people looking to run Tundra servers and putting their own content up. What I cover in the blog post: - Installing tundra, blender, blender2ogre exporter and others needed for export. - How to export a simple scene in blender - How to automatically with Tundra or manually by hand publishing the assets for live server usage. - How to add avatar application with web refs to your server and a simple terrain to walk on. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r. .. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r.. .Comments are welcome to the blog replies, so we can make the tutorial better if there are parts that confuse you or something is incorrect. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r... Best regards, Jonne Nauha Adminotech developer -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org
[realXtend] Re: Blog post: How to publish content to realXtend Tundra
i have try but when i click cube.txml it's not showing on tundra window... On 23 mai, 18:25, MasterJ djmat...@hotmail.com wrote: haa thank you very much !!! i just need to sort otu my blender it's bugging again without reason :P then i can test that On 22 mai, 03:09, Jonne Nauha jo...@adminotech.com wrote: Just wrote a long blog post how to publish content to Tundra. Should be a easy to follow tutorial for people looking to run Tundra servers and putting their own content up. What I cover in the blog post: - Installing tundra, blender, blender2ogre exporter and others needed for export. - How to export a simple scene in blender - How to automatically with Tundra or manually by hand publishing the assets for live server usage. - How to add avatar application with web refs to your server and a simple terrain to walk on. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r... http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r...Comments are welcome to the blog replies, so we can make the tutorial better if there are parts that confuse you or something is incorrect. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r... Best regards, Jonne Nauha Adminotech developer -- http://groups.google.com/group/realxtend http://www.realxtend.org
Re: [realXtend] Re: Blog post: How to publish content to realXtend Tundra
*Boris:* I put the stable link there because it said stable I didnt know what the nevest was. Well I did know it had some animation fixes, but for my simple demo exporting simple meshes the stable would work well. But I will do a note there for people :) Thanks. *MasterJ: *So tundra does not start or starts but you dont see the cube? Note that you need to move back with camera as you are inside the cube in the start. Best regards, Jonne Nauha Adminotech developer On Tue, May 24, 2011 at 7:31 PM, MasterJ djmat...@hotmail.com wrote: i have try but when i click cube.txml it's not showing on tundra window... On 23 mai, 18:25, MasterJ djmat...@hotmail.com wrote: haa thank you very much !!! i just need to sort otu my blender it's bugging again without reason :P then i can test that On 22 mai, 03:09, Jonne Nauha jo...@adminotech.com wrote: Just wrote a long blog post how to publish content to Tundra. Should be a easy to follow tutorial for people looking to run Tundra servers and putting their own content up. What I cover in the blog post: - Installing tundra, blender, blender2ogre exporter and others needed for export. - How to export a simple scene in blender - How to automatically with Tundra or manually by hand publishing the assets for live server usage. - How to add avatar application with web refs to your server and a simple terrain to walk on. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r. .. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r.. .Comments are welcome to the blog replies, so we can make the tutorial better if there are parts that confuse you or something is incorrect. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r... Best regards, Jonne Nauha Adminotech developer -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org
Re: [realXtend] Re: Blog post: How to publish content to realXtend Tundra
Material export was improved quite recently. The big Scene.material will be splitted to individual name.material files, and these are then referenced correctly in the .txml for each mesh. I have used solid colors as is. For texturing things I tried something but I think i did something wrong as the texture was moving when I move my camera on the surface. I dont know what I did wrong but modifying hardware culling and some other lines in the .material I got them to show correctly. Maybe I was missing uv mappings or does blender do them automatically? *Boris:* I think it would be great if your write a continue blog post from mine. How to export more complex scenes and how to texture objects correctly. I for one would really much like this kind of newbie guide into blender use. Would be happy to learn step by step how to apply textures properly :) Best regards, Jonne Nauha Adminotech developer On Tue, May 24, 2011 at 8:39 PM, MasterJ djmat...@hotmail.com wrote: Right it was me i was inside the cube and dind't move enough far sorry and here i uste the last version just the new one after *stable* well thank you now i can put some colors on it and see how it's work for export .material On 24 mai, 19:31, Jonne Nauha jo...@adminotech.com wrote: *Boris:* I put the stable link there because it said stable I didnt know what the nevest was. Well I did know it had some animation fixes, but for my simple demo exporting simple meshes the stable would work well. But I will do a note there for people :) Thanks. *MasterJ: *So tundra does not start or starts but you dont see the cube? Note that you need to move back with camera as you are inside the cube in the start. Best regards, Jonne Nauha Adminotech developer On Tue, May 24, 2011 at 7:31 PM, MasterJ djmat...@hotmail.com wrote: i have try but when i click cube.txml it's not showing on tundra window... On 23 mai, 18:25, MasterJ djmat...@hotmail.com wrote: haa thank you very much !!! i just need to sort otu my blender it's bugging again without reason :P then i can test that On 22 mai, 03:09, Jonne Nauha jo...@adminotech.com wrote: Just wrote a long blog post how to publish content to Tundra. Should be a easy to follow tutorial for people looking to run Tundra servers and putting their own content up. What I cover in the blog post: - Installing tundra, blender, blender2ogre exporter and others needed for export. - How to export a simple scene in blender - How to automatically with Tundra or manually by hand publishing the assets for live server usage. - How to add avatar application with web refs to your server and a simple terrain to walk on. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r. .. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r.. .Comments are welcome to the blog replies, so we can make the tutorial better if there are parts that confuse you or something is incorrect. http://realxtend.wordpress.com/2011/05/21/how-to-publish-content-to-r.. . Best regards, Jonne Nauha Adminotech developer -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org