making a world with Tundra (Re: [realXtend] Re: Register in realxtend)

2011-04-27 Thread Toni Alatalo
On Apr 26, 2011, at 8:58 PM, Niina Štšetnikova wrote:
 To test it, easiest now is to install the latest Tundra release and run
 the demos. More information about that is in recent 
 newshttp://www.realxtend.org/page.php?pg=newss=20110415and in the
 work-in-progress doc 
 athttp://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
 hank you, Tony, for answer!
 It will be very helpful, if you give me more detail instruction. Do I
 need install only Tundra files or Naali too?

Only the Tundra package suffices, it is a new version of Naali that works also 
in standalone and as a server so you don't need anything else.

 take part in project and main idea of a project is to create world,
 where I can import AutoCad archytector models with Henshin Tool help.
 As I understand RealXtend allow this functionality. So what is better
 for me? Should I install server? I just need some help. In this
 instructions I cant find a point. How step by step I can configure my
 RealXtend world?

It doesn't need configuration for that, you can just start it and load your 
models.

There is one stupidity though that currently requires a workaround. Idea is 
that you can just run server.exe and start dragdropping your models there. But 
currently that would make it copy all the models to the same directory where 
the Tundra app was installed. This little trick helps:

1. create a directory anywhere in your computer for your project, e.g. 
d:\projects\cadworld . Unless you already have a suitable dir.
2. create an empty file called whatever.txml in that dir. this is just used to 
automatically start Tundra so that it uses this directory for storage. Note: 
creating a file called .txml may not be easy on windows, if it hides the file 
name extension from you and insists on making it .txml.txt or so. We should 
come up with some nice way in the GUI to start a new project so this trick 
wouldn't be needed.
3. doubleclick the txml in that folder to run the server
4. use view-scene right-click import, or dragdrop with mouse, to load your 3d 
models
5. save the scene with view-scene right-click 'save scene'

Also you can make the scene as a whole in some modelling app, and then import 
it ready made to reX in the .scene (dotscene) format. Just load the .scene file 
similarily than you would the individual .mesh files.

This way that folder will contain everything your project needs, and you can 
reopen the scene by doubleclicking the txml that you saved in previous session.

To collaborate with others, you need to run the server on some machine that the 
others can connect to, and have the files on a web server that the others can 
access with http (like with a normal web browser) to download the meshes and 
textures. But for building, I find it's actually best to run locally .. this 
way can just change the files to new versions most directly etc.

Currently for the models to work you need to convert them to the Ogre mesh 
format. We also have the feature to load Collada, Wavefront .obj and many other 
mesh formats using the open assetimport library, but it may not be enabled in 
the previous release. A couple of guys continue the work on it in May, 
targeting an easy flow for bringing content from Google's warehouse (and 
Collada support in general).

If you can get e.g. .obj files out of your meshes, you can use for example 
Blender to export them to Ogre. Like this recent thread on the Ogre forum 
suggest: Converting a STL (.stl) CAD file to Ogre mesh 
http://www.ogre3d.org/forums/viewtopic.php?f=8t=62595

I'll copy paste this info somehow to the getting started wiki page, hopefully 
helps.

 Nina

~Toni

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


Re: making a world with Tundra (Re: [realXtend] Re: Register in realxtend)

2011-04-27 Thread Peter Steinlechner
Hi Toni

Great news - hopefully it will make it into the 1.06 version.

If I remember right you mentioned somewhere that you used COLLADA files for
the Chesapeak Bay. Can they be used directly, or will we have to convert
them to ogre scenes ?

Cheers
Pedro

On Wed, Apr 27, 2011 at 8:42 PM, HOFF Industries Amanda Svenby 
ama...@hoffin.com wrote:

 Hey is there a demo that you have working that I could look at?

 --
 From: MasterJ djmat...@hotmail.com
 Sent: Wednesday, April 27, 2011 12:13 PM
 To: realXtend realxtend@googlegroups.com
 Subject: Re: making a world with Tundra (Re: [realXtend] Re: Register in
 realxtend)


  Great news ;)


 On 27 avr, 15:05, Toni Alatalo t...@playsign.net wrote:

 On Wed, 2011-04-27 at 08:59 +0300, Toni Alatalo wrote:
  There is one stupidity though that currently requires a workaround. 
 Idea is that you can just run server.exe and start dragdropping your 
 models there. But currently that would make it copy all the models to  the
 same directory where the Tundra app was installed. This little  trick
 helps:
  1. create a directory anywhere in your computer for your project, e.g.
  d:\projects\cadworld . Unless you already have a suitable dir.
  2. create an empty file called whatever.txml in that dir. this is just
  used to automatically start Tundra so that it uses this directory for 
 storage. Note: creating a file called .txml may not be easy on windows,  if
 it hides the file name extension from you and insists on making it 
 .txml.txt or so. We should come up with some nice way in the GUI to  start
 a new project so this trick wouldn't be needed.
  3. doubleclick the txml in that folder to run the server
  4. use view-scene right-click import, or dragdrop with mouse, to load
  your 3d models
  5. save the scene with view-scene right-click 'save scene'

 Instead of documenting the workaround, I gave a shot at fixing it by
 adding a new menu entry in the server mode GUI:

 'New Scene' - opens a file dialog where you can give the name of your
 scene file, e.g. 'my.txml'. It automatically then sets that directory as
 the default storage for your session, so you can import models etc. and
 they get placed in that dir.

 'Save' - saves the current scene to the file that you defined in 'New
 Scene', without asking questions. Like in does in Notepad, my benchmark
 for how the Tundra File menu should behave :) We didn't have this
 earlier 'cause didn't have the concept of 'current document', but I
 think it's nice.

 Jonne earlier added Import  Export funcs to the File menu that are a
 bit different, we're currently working on merging and sanifying these to
 make a sensible whole .. for the upcoming 1.0.6 release (coming right
 now actually).

  ~Toni

 same.


 --
 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: making a world with Tundra (Re: [realXtend] Re: Register in realxtend)

2011-04-27 Thread Toni Alatalo
On Wed, 2011-04-27 at 21:42 +0200, Peter Steinlechner wrote:
 Great news - hopefully it will make it into the 1.06 version.

It is there, in the quick perhaps sketchy initial form.

 If I remember right you mentioned somewhere that you used COLLADA
 files for the Chesapeak Bay. Can they be used directly, or will we
 have to convert them to ogre scenes ? 

No we didn't use COLLADA when making the bay, but one of the animals for
that project was used when testing COLLADA .. and it worked, enough to
show the material too, but I think not the animations yet.

As mentioned in another post recently, a couple of guys at CIE will
start working on updating and improving the COLLADA loading feat in May,
so I think next week. So perhaps gets enabled again for next release, it
may not work with current code after asset system changes elsewhere (was
previously tested in october-november or so).

So for full functionality out of the box best to use Ogre formats still,
but support for other formats is coming too. The lib we use has a long
list: http://assimp.sourceforge.net/main_features_formats.html .. even
Autocad .dxf apparently, didn't notice that earlier when someone asked
about CAD stuff.

 Pedro

~Toni

 On Wed, Apr 27, 2011 at 8:42 PM, HOFF Industries Amanda Svenby
 ama...@hoffin.com wrote:
 Hey is there a demo that you have working that I could look
 at?
 
 --
 From: MasterJ djmat...@hotmail.com
 Sent: Wednesday, April 27, 2011 12:13 PM
 To: realXtend realxtend@googlegroups.com
 Subject: Re: making a world with Tundra (Re: [realXtend] Re:
 Register in realxtend)
 
 
 
 Great news ;)
 
 
 On 27 avr, 15:05, Toni Alatalo t...@playsign.net
 wrote:
 On Wed, 2011-04-27 at 08:59 +0300, Toni
 Alatalo wrote:
  There is one stupidity though that currently
 requires a workaround.  Idea is that you can
 just run server.exe and start dragdropping
 your  models there. But currently that would
 make it copy all the models to  the same
 directory where the Tundra app was installed.
 This little  trick helps:
  1. create a directory anywhere in your
 computer for your project, e.g.  d:\projects
 \cadworld . Unless you already have a suitable
 dir.
  2. create an empty file called whatever.txml
 in that dir. this is just  used to
 automatically start Tundra so that it uses
 this directory for  storage. Note: creating a
 file called .txml may not be easy on windows,
  if it hides the file name extension from you
 and insists on making it  .txml.txt or so. We
 should come up with some nice way in the GUI
 to  start a new project so this trick
 wouldn't be needed.
  3. doubleclick the txml in that folder to
 run the server
  4. use view-scene right-click import, or
 dragdrop with mouse, to load  your 3d models
  5. save the scene with view-scene
 right-click 'save scene'
 
 Instead of documenting the workaround, I gave
 a shot at fixing it by
 adding a new menu entry in the server mode
 GUI:
 
 'New Scene' - opens a file dialog where you
 can give the name of your
 scene file, e.g. 'my.txml'. It automatically
 then sets that directory as
 the default storage for your session, so you
 can import models etc. and
 they get placed in that dir.
 
 'Save' - saves the current scene to the file
 that you defined in 'New
 Scene', without asking questions. Like in does
 in Notepad, my benchmark
 for how the Tundra File menu should behave :)
 We didn't have this
 earlier 'cause didn't have the concept of
 'current document', but I
 think it's nice