Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-26 Thread Ali Kämäräinen
FYI, the terrain documentation page is now up on the web
http://realxtend.org/doxygen/_terrain_heightmaps.html

Grey skies,
Ali Kämäräinen

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-26 Thread Vaibhav Vaidya
Hi Ali,

I have used an image file to create a terrain in the scene. I have also
created the RigidBody component as it was specified in the suggested link.
But my avatar falls from the terrain.
This is how my Terrain entity looks like in .txml file:

entity id=11 sync=1
  component type=EC_Name sync=1
   attribute value=Terrain name=name/
   attribute value= name=description/
  /component
  component type=EC_Terrain sync=1 name=Terrain
   attribute
value=-500.00,-20.00,0.00,0.00,0.00,0.00,10.00,10.00,10.00
name=Transform/
   attribute value=75 name=Grid Width/
   attribute value=75 name=Grid Height/
   attribute value=0.12995 name=Tex. U scale/
   attribute value=0.12995 name=Tex. V scale/
   attribute value=RexTerrainPCF.material name=Material/
   attribute value=terrain.tif name=Heightmap/
  /component
  component type=EC_RigidBody sync=1
   attribute value=0 name=Mass/
   attribute value=5 name=Shape type/
   attribute value=1.00 0.20 1.00 name=Size/
   attribute value= name=Collision mesh ref/
   attribute value=0.5 name=Friction/
   attribute value=0 name=Restitution/
   attribute value=0 name=Linear damping/
   attribute value=0 name=Angular damping/
   attribute value=1.00 1.00 1.00 name=Linear factor/
   attribute value=1.00 1.00 1.00 name=Angular factor/
   attribute value=false name=Kinematic/
   attribute value=false name=Phantom/
   attribute value=false name=Draw Debug/
   attribute value=0.00 0.00 0.00 name=Linear velocity/
   attribute value=0.00 0.00 0.00 name=Angular velocity/
   attribute value=-1 name=Collision Layer/
   attribute value=-1 name=Collision Mask/
  /component
 /entity

Am I missing any thing??
Please help..

On Mon, Mar 26, 2012 at 1:18 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 FYI, the terrain documentation page is now up on the web
 http://realxtend.org/doxygen/_terrain_heightmaps.html

 Grey skies,
 Ali Kämäräinen

  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org


-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-23 Thread Vaibhav Vaidya
@ Ali

I need some help with animations. I have a 3D model (.mesh, .skeleton,
.material files). I can see the 3D model in the scene but don't understand
how to play animation over it.

Thanks,
Vaibhav

On Mon, Mar 19, 2012 at 6:50 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Also, couple additional step could be added:
 * Add RigidBody component to the entity in order the enable physics (use
 HeightField as the type for the RigidBody)
 * Convert the heightmap to a .ntf file, so that physics are guaranteed to
 work on headless server too (https://github.com/realXtend/naali/issues/412
 )
  - Right-click Terrain component - Functions
  - Choose SaveToFile and give a filename (remember to give a full path)
 C:\MyFolder\MyTerrain.ntf
  - Use MyTerrain.ntf instead of Heightmap.png as the heightmap for the
 Terrain component

 Grey skies,
 Ali Kämäräinen

  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org


-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-23 Thread Jonne Nauha
Add AnimationController component once the mesh and skeleton are setup.
After that anim controller should auto detect the available animations. You
can then use scripting to play animations (eg.
ent.animationcontoller.PlayAnimation(walk, ...) etc. In the scene struct
windows expand your entity and right click the animation controller
component - hit Functions that give you ui to call PlayAnimation and
others from the ui, its pretty near for testing. There should be a a
function in the drop down list GetAvailableAnimations() or something,
that should print you what was found from the skeleton.

Best regards,
Jonne Nauha
Adminotech developer


On Fri, Mar 23, 2012 at 9:38 AM, Vaibhav Vaidya
vaibhav.vaidy...@gmail.comwrote:

 @ Ali

 I need some help with animations. I have a 3D model (.mesh, .skeleton,
 .material files). I can see the 3D model in the scene but don't understand
 how to play animation over it.

 Thanks,
 Vaibhav


 On Mon, Mar 19, 2012 at 6:50 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Also, couple additional step could be added:
 * Add RigidBody component to the entity in order the enable physics (use
 HeightField as the type for the RigidBody)
 * Convert the heightmap to a .ntf file, so that physics are guaranteed to
 work on headless server too (
 https://github.com/realXtend/naali/issues/412)
  - Right-click Terrain component - Functions
  - Choose SaveToFile and give a filename (remember to give a full path)
 C:\MyFolder\MyTerrain.ntf
  - Use MyTerrain.ntf instead of Heightmap.png as the heightmap for the
 Terrain component

 Grey skies,
 Ali Kämäräinen

  --
 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

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-23 Thread Vaibhav Vaidya
Thanks Ali.

It worked. Now, I want the animation to be played when the client is
launched. Is there any predefined function for that? And, How we can attach
scripts with the objects??

Regards,
Vaibhav Vaidya

On Fri, Mar 23, 2012 at 1:44 PM, Jonne Nauha jo...@adminotech.com wrote:

 Add AnimationController component once the mesh and skeleton are setup.
 After that anim controller should auto detect the available animations. You
 can then use scripting to play animations (eg.
 ent.animationcontoller.PlayAnimation(walk, ...) etc. In the scene struct
 windows expand your entity and right click the animation controller
 component - hit Functions that give you ui to call PlayAnimation and
 others from the ui, its pretty near for testing. There should be a a
 function in the drop down list GetAvailableAnimations() or something,
 that should print you what was found from the skeleton.

 Best regards,
 Jonne Nauha
 Adminotech developer



 On Fri, Mar 23, 2012 at 9:38 AM, Vaibhav Vaidya 
 vaibhav.vaidy...@gmail.com wrote:

 @ Ali

 I need some help with animations. I have a 3D model (.mesh, .skeleton,
 .material files). I can see the 3D model in the scene but don't understand
 how to play animation over it.

 Thanks,
 Vaibhav


 On Mon, Mar 19, 2012 at 6:50 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Also, couple additional step could be added:
 * Add RigidBody component to the entity in order the enable physics (use
 HeightField as the type for the RigidBody)
 * Convert the heightmap to a .ntf file, so that physics are guaranteed
 to work on headless server too (
 https://github.com/realXtend/naali/issues/412)
  - Right-click Terrain component - Functions
  - Choose SaveToFile and give a filename (remember to give a full path)
 C:\MyFolder\MyTerrain.ntf
  - Use MyTerrain.ntf instead of Heightmap.png as the heightmap for the
 Terrain component

 Grey skies,
 Ali Kämäräinen

  --
 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


-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

[realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread Vaibhav Vaidya
Hiii

I am running Tundra 2.3.0. I want to use a GIS terrain in my scene. I have
dem files (.tiff format) for terrain. How can I load terrain in my secene?
What formats are supported for terrains in Tundra? What is the mechanism
for applying texture over the terrain?
Please help..

~Thanks,
Vaibhav Vaidya

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread Ali Kämäräinen
Hi,

See this
https://raw.github.com/LudoCraft/Tundra/835a72464dd86ee3a636f6d9cc66f2708793244d/doc/dox/TerrainHeightmaps.dox
Unfortunately it's no available as HTML html, but should be in couple days
at http://realxtend.org/doxygen/

Grey skies,
Ali Kämäräinen

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread Vaibhav Vaidya
Hii Ali,

I have gone through the link you have suggested but unable to get how to
load terrain (or how to use .ntf files). Is there any interface for this,
or I have to make changes in any configuration file?? How to specify Tundra
to use any file as terrain.. Can you please explain??

`Regards,
Vaibhav Vaidya

On Mon, Mar 19, 2012 at 5:56 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Hi,

 See this
 https://raw.github.com/LudoCraft/Tundra/835a72464dd86ee3a636f6d9cc66f2708793244d/doc/dox/TerrainHeightmaps.dox
 Unfortunately it's no available as HTML html, but should be in couple days
 at http://realxtend.org/doxygen/

 Grey skies,
 Ali Kämäräinen

  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread Ali Kämäräinen
One way I used succesfully a week or two ago:
1) Create greyscale terrain heightmap (Heightmap.png) using f.ex. Gimp,
256x256  for instance
2) Have some scene.txml (can be empty), make sure the Heightmap.png is the
same folder (can be in some subfolder too) as the scene.txml
3) Start Tundra by right-clicking the scene file - Edit in Tundra
4) Open the Scene window, add entity to scene, add component Terrain,
double-click the Terrain component
5) Find the heightmap attribute, click ...
6) Find the Heightmap.png and Click Pick
7) The terrain should now appear in the world, and you can edit its
attributes
8) Save the scene (right-click in the vacant area in the Scene window -
Save As...)

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread fred thompson
hi Ali

I'm actually on RMP http://login.realxtend.org/ ,you're are welcome if
you have more question ,and we could test your import together ;)
I think wath you need now is to transforme your object to a .mesh file with
his.material . so you can import it to your scene.

2012/3/19 Vaibhav Vaidya vaibhav.vaidy...@gmail.com

 Hii Ali,

 I have gone through the link you have suggested but unable to get how to
 load terrain (or how to use .ntf files). Is there any interface for this,
 or I have to make changes in any configuration file?? How to specify Tundra
 to use any file as terrain.. Can you please explain??

 `Regards,
 Vaibhav Vaidya

 On Mon, Mar 19, 2012 at 5:56 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Hi,

 See this
 https://raw.github.com/LudoCraft/Tundra/835a72464dd86ee3a636f6d9cc66f2708793244d/doc/dox/TerrainHeightmaps.dox
 Unfortunately it's no available as HTML html, but should be in couple
 days at http://realxtend.org/doxygen/

 Grey skies,
 Ali Kämäräinen

  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org


  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org




-- 
*Frederick Thompson
*Ensad/Lab EN-ER
Programme de recherche Espace Numérique – Extension du Réel

Tel/ 06 24 56 46 53

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread fred thompson
thanks Ali ;)

Great,I didn't knew this technic ;) i will put your explanations on the rmp
platforme (the community paltforme i'm working on), if you don't mind ;) in
the tutorials section .
If you have more good tips like this i will realy be pleased to welcome you
on RMP . i could make you some room for the Ali's tutorials ;);) .I'm
actually wrinting some tutorials to start with tundra .
let me know ;);)

see ya

2012/3/19 fred thompson dcn...@gmail.com

 hi Ali

 I'm actually on RMP http://login.realxtend.org/ ,you're are welcome if
 you have more question ,and we could test your import together ;)
 I think wath you need now is to transforme your object to a .mesh file
 with his.material . so you can import it to your scene.


 2012/3/19 Vaibhav Vaidya vaibhav.vaidy...@gmail.com

 Hii Ali,

 I have gone through the link you have suggested but unable to get how to
 load terrain (or how to use .ntf files). Is there any interface for this,
 or I have to make changes in any configuration file?? How to specify Tundra
 to use any file as terrain.. Can you please explain??

 `Regards,
 Vaibhav Vaidya

 On Mon, Mar 19, 2012 at 5:56 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Hi,

 See this
 https://raw.github.com/LudoCraft/Tundra/835a72464dd86ee3a636f6d9cc66f2708793244d/doc/dox/TerrainHeightmaps.dox
 Unfortunately it's no available as HTML html, but should be in couple
 days at http://realxtend.org/doxygen/

 Grey skies,
 Ali Kämäräinen

  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org


  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org




 --
 *Frederick Thompson
 *Ensad/Lab EN-ER
 Programme de recherche Espace Numérique – Extension du Réel

 Tel/ 06 24 56 46 53






-- 
*Frederick Thompson
*Ensad/Lab EN-ER
Programme de recherche Espace Numérique – Extension du Réel

Tel/ 06 24 56 46 53

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread Vaibhav Vaidya
Thanks Ali,

Those steps worked.. It was really easy.


On Mon, Mar 19, 2012 at 6:40 PM, fred thompson dcn...@gmail.com wrote:

 thanks Ali ;)

 Great,I didn't knew this technic ;) i will put your explanations on the
 rmp platforme (the community paltforme i'm working on), if you don't mind
 ;) in the tutorials section .
 If you have more good tips like this i will realy be pleased to welcome
 you on RMP . i could make you some room for the Ali's tutorials ;);) .I'm
 actually wrinting some tutorials to start with tundra .
 let me know ;);)

 see ya

 2012/3/19 fred thompson dcn...@gmail.com

 hi Ali

 I'm actually on RMP http://login.realxtend.org/ ,you're are welcome if
 you have more question ,and we could test your import together ;)
 I think wath you need now is to transforme your object to a .mesh file
 with his.material . so you can import it to your scene.


 2012/3/19 Vaibhav Vaidya vaibhav.vaidy...@gmail.com

 Hii Ali,

 I have gone through the link you have suggested but unable to get how to
 load terrain (or how to use .ntf files). Is there any interface for this,
 or I have to make changes in any configuration file?? How to specify Tundra
 to use any file as terrain.. Can you please explain??

 `Regards,
 Vaibhav Vaidya

 On Mon, Mar 19, 2012 at 5:56 PM, Ali Kämäräinen stinkfi...@gmail.comwrote:

 Hi,

 See this
 https://raw.github.com/LudoCraft/Tundra/835a72464dd86ee3a636f6d9cc66f2708793244d/doc/dox/TerrainHeightmaps.dox
 Unfortunately it's no available as HTML html, but should be in couple
 days at http://realxtend.org/doxygen/

 Grey skies,
 Ali Kämäräinen

  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org


  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org




 --
 *Frederick Thompson
 *Ensad/Lab EN-ER
 Programme de recherche Espace Numérique – Extension du Réel

 Tel/ 06 24 56 46 53






 --
 *Frederick Thompson
 *Ensad/Lab EN-ER
 Programme de recherche Espace Numérique – Extension du Réel

 Tel/ 06 24 56 46 53



  --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org


-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Loading terrain in RealXtend Tundra

2012-03-19 Thread Ali Kämäräinen
Also, couple additional step could be added:
* Add RigidBody component to the entity in order the enable physics (use
HeightField as the type for the RigidBody)
* Convert the heightmap to a .ntf file, so that physics are guaranteed to
work on headless server too (https://github.com/realXtend/naali/issues/412)
 - Right-click Terrain component - Functions
 - Choose SaveToFile and give a filename (remember to give a full path)
C:\MyFolder\MyTerrain.ntf
 - Use MyTerrain.ntf instead of Heightmap.png as the heightmap for the
Terrain component

Grey skies,
Ali Kämäräinen

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org