Re: [OSM-dev] 3d Import into OpenArena working

2009-10-17 Thread Peter Körner
Hi

have you tried using PovRAY [1]? It reads an ASCII-Script and produces 
wonderful Images from it. PovRAY relates to Blender  co. like LaTeX 
relates to Word. It is very well suited for automated generation of 3D 
models, as you can see with eagle3D [2]


Peter

[1] http://www.povray.org/
[2] http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d




jamesmikedup...@googlemail.com schrieb:
 Video, it works
 http://www.youtube.com/watch?v=hFcUjA6A8pQ
 
 
 Hi all,
 I am working on importing openstreetmap maps into openarena.
 
 Here are my patchs and code and posts :
 
 Project Plan and Kick off
 http://rdfintrospector2.blogspot.com/2009/09/3d-openstreetmap.html
 
 Importing into blender
 http://fmtyewtk.blogspot.com/2009/10/import-into-blender.html
 
 How to load an example map into OA
 http://fmtyewtk.blogspot.com/2009/10/blender-gtkradient-openarena.html
 
 lots of pain to get gtkradient running
 http://fmtyewtk.blogspot.com/2009/10/gtkradiant-running.html
 
 Video of export tools
 http://fmtyewtk.blogspot.com/2009/09/blender-faces-added-to-meshes.html
 
 Post on openstreetmap journal
 http://www.openstreetmap.org/user/h4ck3rm1k3/diary/8068
 
 
 Mike
 
 http://fmtyewtk.blogspot.com/2009/10/mail-to-openarena-forum.html
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-17 Thread jamesmikedup...@googlemail.com
Hi,
Yes I have thought about it. I would use it if I took the time to learn.
I agree that a raytraced map could look very pretty.

mike

On Sat, Oct 17, 2009 at 4:39 PM, Peter Körner osm-li...@mazdermind.de wrote:
 Hi

 have you tried using PovRAY [1]? It reads an ASCII-Script and produces
 wonderful Images from it. PovRAY relates to Blender  co. like LaTeX
 relates to Word. It is very well suited for automated generation of 3D
 models, as you can see with eagle3D [2]


 Peter

 [1] http://www.povray.org/
 [2] http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d




 jamesmikedup...@googlemail.com schrieb:
 Video, it works
 http://www.youtube.com/watch?v=hFcUjA6A8pQ


 Hi all,
 I am working on importing openstreetmap maps into openarena.

 Here are my patchs and code and posts :

 Project Plan and Kick off
 http://rdfintrospector2.blogspot.com/2009/09/3d-openstreetmap.html

 Importing into blender
 http://fmtyewtk.blogspot.com/2009/10/import-into-blender.html

 How to load an example map into OA
 http://fmtyewtk.blogspot.com/2009/10/blender-gtkradient-openarena.html

 lots of pain to get gtkradient running
 http://fmtyewtk.blogspot.com/2009/10/gtkradiant-running.html

 Video of export tools
 http://fmtyewtk.blogspot.com/2009/09/blender-faces-added-to-meshes.html

 Post on openstreetmap journal
 http://www.openstreetmap.org/user/h4ck3rm1k3/diary/8068


 Mike

 http://fmtyewtk.blogspot.com/2009/10/mail-to-openarena-forum.html

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-17 Thread andrzej zaborowski
2009/10/14 Nick Whitelegg nick.whitel...@solent.ac.uk:
I don't think, it have to introduce a web dependency. It is just a java
 script application running inside a browser. The script don't have to be
 on a website. It can also be a local file. The map data can also be local
files - maybe.

 That's the issue, that JS cannot normally read local files - for security
 reasons. You'd have to make at least one request to the server, as far as
 I'm aware - though the data could then be cached locally for next time.

There's a very neat trick called JSON-P ([1]) that lets you read local
files to some extent, as far as I can tell it should work with WebGL
data too.  I used it in www.openstreetmap.pl/wp so that the map tiles
with wikipedia data can be read from local filesystem or even cross
site.

Cheers

1. http://en.wikipedia.org/wiki/JSON#JSONP

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-14 Thread jamesmikedup...@googlemail.com
On Tue, Oct 13, 2009 at 2:33 PM, Nick Whitelegg
nick.whitel...@solent.ac.uk wrote:

 WebGL looks interesting, and am thinking of having a play with it. The
 main issue I see is it introduces a web dependency; if you're in the field
 and you don't have web access (or don't want to pay for data download) a
 standalone mobile application would be useful too. But I agree, it does
 look very interesting.

Yes, I did not even get to run that, it needed some plugin.
My entire focus is on FLOSS software. I would like to be able to use
an entirely free software stack and tools and avoid API for apis sake.
Why need an API when we have the software?
mike

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-14 Thread Nick Whitelegg
 WebGL looks interesting, and am thinking of having a play with it. The
 main issue I see is it introduces a web dependency; if you're in the 
field
 and you don't have web access (or don't want to pay for data download) 
a
 standalone mobile application would be useful too. But I agree, it does
 look very interesting.

Yes, I did not even get to run that, it needed some plugin.
My entire focus is on FLOSS software. I would like to be able to use
an entirely free software stack and tools and avoid API for apis sake.
Why need an API when we have the software?
mike

If you're talking about WebGL, I believe that requires a nightly build of 
Firefox or WebKit (i.e. the development version) to run. I believe 
everything we're talking about in this discussion is FLOSS software anyway 
;-)

Nick


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-14 Thread Nick Whitelegg
I don't think, it have to introduce a web dependency. It is just a java 
script application running inside a browser. The script don't have to be 
on a website. It can also be a local file. The map data can also be local 
files - maybe. 

That's the issue, that JS cannot normally read local files - for security 
reasons. You'd have to make at least one request to the server, as far as 
I'm aware - though the data could then be cached locally for next time.

Nick

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-13 Thread Nick Whitelegg
I think, the future for openstreetmap will not be Blender or any gaming 
engine like openarena.
I think, the most used platform for openstreetmap will be WebGL, a 
3D-rendering API integrated in the browsers, usable with JavaScript. It 
is already integrated in developer versions of WebKit (Safari, Konqueror) 
and Firefox.

(Sorry for late reply, been busy with other stuff)

WebGL looks interesting, and am thinking of having a play with it. The 
main issue I see is it introduces a web dependency; if you're in the field 
and you don't have web access (or don't want to pay for data download) a 
standalone mobile application would be useful too. But I agree, it does 
look very interesting.

Nick

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-11 Thread Iván Sánchez Ortega
El Domingo, 11 de Octubre de 2009, jamesmikedup...@googlemail.com escribió:
 What about vrml?

Are you from the past?

-- 
--
Iván Sánchez Ortega i...@sanchezortega.es

Política: Dominio de los hombres por unos pocos, mediante el engaño.


signature.asc
Description: This is a digitally signed message part.
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-11 Thread Stefan Ziegler
Hello,

 Original-Nachricht 
 Von: jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com

 What about vrml? And blender is an editor. What editor will you use to
 produce webgl? Blender

I also thought about, and tested vrml. It's good enough for one building, or 
maybe one street/a small map. But for bigger maps? But you don't seem to need 
bigger maps.
WebGL is not a data format, it is a set of commands to draw 
points/line/polygons. Why use a data format like VRML, when you can draw 
directly the nodes/ways as points/lines/polygons?
 
 On Sun, Oct 11, 2009 at 12:46 AM, Stefan Ziegler
 stefan.ziegler_...@gmx.de wrote:
  Hello,
 
  I think, the future will not be Blender or any gaming engine like
 openarena.
  I think, the most used platform will be WebGL, a 3D-rendering API
 integrated in the browsers, usable with JavaScript. It is already integrated 
 in
 developer versions of WebKit (Safari, Konqueror) and Firefox.
 

Stefan.
-- 
Diplom-Informatiker,
Homepage: http://www.stefanziegler-online.de/
Wir alle wissen mehr als das, wovon wir wissen, dass wir es wissen. (Thornton 
Wilder)

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-10 Thread Stefan Ziegler
Hello,

I think, the future will not be Blender or any gaming engine like openarena.
I think, the most used platform will be WebGL, a 3D-rendering API integrated in 
the browsers, usable with JavaScript. It is already integrated in developer 
versions of WebKit (Safari, Konqueror) and Firefox.

 Original-Nachricht 
 Von: jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com

 Well, I have started on this already
 Lets just focus on blender as a modeling tool to begin with.
 
 There are many other usages for blender models. and the model is
 basically blender.
 I hope to in the next step find some good python based rendering code
 and just get that to work in blender to create 2d models in blender of
 the objects and then make them 3d by adding in simple infomation.
 
 I dont know about scaling, but I can say that for the purposes of
 gaming, you dont want the maps to be too big.
 
 When we get the ability to export to blender in higher quality then
 belive me, the gaming kiddies will do the porting for you.
 
 mike

-- 
Diplom-Informatiker,
Homepage: http://www.stefanziegler-online.de/
Wir alle wissen mehr als das, wovon wir wissen, dass wir es wissen. (Thornton 
Wilder)

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-10 Thread jamesmikedup...@googlemail.com
What about vrml? And blender is an editor. What editor will you use to
produce webgl? Blender

On Sun, Oct 11, 2009 at 12:46 AM, Stefan Ziegler
stefan.ziegler_...@gmx.de wrote:
 Hello,

 I think, the future will not be Blender or any gaming engine like openarena.
 I think, the most used platform will be WebGL, a 3D-rendering API integrated 
 in the browsers, usable with JavaScript. It is already integrated in 
 developer versions of WebKit (Safari, Konqueror) and Firefox.

  Original-Nachricht 
 Von: jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com

 Well, I have started on this already
 Lets just focus on blender as a modeling tool to begin with.

 There are many other usages for blender models. and the model is
 basically blender.
 I hope to in the next step find some good python based rendering code
 and just get that to work in blender to create 2d models in blender of
 the objects and then make them 3d by adding in simple infomation.

 I dont know about scaling, but I can say that for the purposes of
 gaming, you dont want the maps to be too big.

 When we get the ability to export to blender in higher quality then
 belive me, the gaming kiddies will do the porting for you.

 mike

 --
 Diplom-Informatiker,
 Homepage: http://www.stefanziegler-online.de/
 Wir alle wissen mehr als das, wovon wir wissen, dass wir es wissen. (Thornton 
 Wilder)

 GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
 Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-07 Thread Stefan Ziegler
Hello,

 Original-Nachricht 
 Von: jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com

 I am open to all ideas. the code is checked in.
 my  next step would be to look into the rendering engines from osm.
 I would like to be able to walk around a town and be able to markup
 and interact with the map not fly. My theory is that people will
 remember map features from a 3d perspective,
 and that  if they walk around thier streets, they will say  : the
 baker should be on that corner.

the well known renderers all works in 2d - just drawing pictures/tiles.
e.g. mapnik, osmarender. The editors like josm or potlach also works 2d.
Interesting may be footnav: http://sourceforge.net/projects/footnav/
Some mails from the mailing list archiv:
http://www.mail-archive.com/dev@openstreetmap.org/msg08632.html
http://www.mail-archive.com/t...@openstreetmap.org/msg21380.html

There are also some renderers for mobile devices (android ...) - but I don't 
think they are really 3d. Some navigation systems has a 3d perspective but 
aren't really 3d.

 Also, i think that it is very important to reach people, and that the
 gamer community is huge,
 they have unlimited energy and they will help make openstreetmap better.

The problem with blender/openarena is, you can't reload openstreetmap data when 
you pan to the border of a map file. You have to change the whole program - or 
write your own, based on a gaming engine. 
Before starting this, it is better to test, how many nodes/ways can be used at 
once with a reasonable frame rate.
 
 mike

Stefan.
-- 
Diplom-Informatiker,
Homepage: http://www.stefanziegler-online.de/
Wir alle wissen mehr als das, wovon wir wissen, dass wir es wissen. (Thornton 
Wilder)

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-07 Thread jamesmikedup...@googlemail.com
On Wed, Oct 7, 2009 at 11:27 PM, Stefan Ziegler
stefan.ziegler_...@gmx.de wrote:
 Hello,

  Original-Nachricht 
 Von: jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com

 I am open to all ideas. the code is checked in.
 my  next step would be to look into the rendering engines from osm.
 I would like to be able to walk around a town and be able to markup
 and interact with the map not fly. My theory is that people will
 remember map features from a 3d perspective,
 and that  if they walk around thier streets, they will say  : the
 baker should be on that corner.

 the well known renderers all works in 2d - just drawing pictures/tiles.
 e.g. mapnik, osmarender. The editors like josm or potlach also works 2d.
 Interesting may be footnav: http://sourceforge.net/projects/footnav/
 Some mails from the mailing list archiv:
 http://www.mail-archive.com/dev@openstreetmap.org/msg08632.html
 http://www.mail-archive.com/t...@openstreetmap.org/msg21380.html

 There are also some renderers for mobile devices (android ...) - but I don't 
 think they are really 3d. Some navigation systems has a 3d perspective but 
 aren't really 3d.

 Also, i think that it is very important to reach people, and that the
 gamer community is huge,
 they have unlimited energy and they will help make openstreetmap better.

 The problem with blender/openarena is, you can't reload openstreetmap data 
 when you pan to the border of a map file. You have to change the whole 
 program - or write your own, based on a gaming engine.
 Before starting this, it is better to test, how many nodes/ways can be used 
 at once with a reasonable frame rate.


Well, I have started on this already
Lets just focus on blender as a modeling tool to begin with.

There are many other usages for blender models. and the model is
basically blender.
I hope to in the next step find some good python based rendering code
and just get that to work in blender to create 2d models in blender of
the objects and then make them 3d by adding in simple infomation.

I dont know about scaling, but I can say that for the purposes of
gaming, you dont want the maps to be too big.

When we get the ability to export to blender in higher quality then
belive me, the gaming kiddies will do the porting for you.

mike

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-06 Thread Stefan Ziegler
Hello,

 From: jamesmikedup...@googlemail.com
   jamesmikedup...@googlemail.com

Look at osm3d.org (my sleeping project)
or at these flight simulator pages using osm: 
http://gallery.flightgear.org.uk/c1483094.html
http://www.marginal.org.uk/x-planescenery/tools.html

A flight simulator might be better than a shooter game (copied from 
openarena.ws: may not be suitable for children under 17). 

Do you know how much memory (RAM) a bigger scene (e.g. a town) would need?
Even in smaller areas, you have millions of nodes and thousands of ways.

Stefan.



-- 
Diplom-Informatiker,
Homepage: http://www.stefanziegler-online.de/
Wir alle wissen mehr als das, wovon wir wissen, dass wir es wissen. (Thornton 
Wilder)

Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] 3d Import into OpenArena working

2009-10-06 Thread jamesmikedup...@googlemail.com
I am open to all ideas. the code is checked in.
my  next step would be to look into the rendering engines from osm.
I would like to be able to walk around a town and be able to markup
and interact with the map
not fly. My theory is that people will remember map features from a 3d
perspective,
and that  if they walk around thier streets, they will say  : the
baker should be on that corner.
we can include geotaged pictures on the walls, etc.

it is not about weapons and we dont need weapons it is about a
mature and easy to use environment.

Also, these games dont have to be 17+. you can change them, they are
open source.
you can shoot paintballs instead.

Also, i think that it is very important to reach people, and that the
gamer community is huge,
they have unlimited energy and they will help make openstreetmap better.

mike


On Tue, Oct 6, 2009 at 11:44 PM, Stefan Ziegler
stefan.ziegler_...@gmx.de wrote:
 Hello,

 From: jamesmikedup...@googlemail.com
       jamesmikedup...@googlemail.com

 Look at osm3d.org (my sleeping project)
 or at these flight simulator pages using osm: 
 http://gallery.flightgear.org.uk/c1483094.html
 http://www.marginal.org.uk/x-planescenery/tools.html

 A flight simulator might be better than a shooter game (copied from 
 openarena.ws: may not be suitable for children under 17).

 Do you know how much memory (RAM) a bigger scene (e.g. a town) would need?
 Even in smaller areas, you have millions of nodes and thousands of ways.

 Stefan.



 --
 Diplom-Informatiker,
 Homepage: http://www.stefanziegler-online.de/
 Wir alle wissen mehr als das, wovon wir wissen, dass wir es wissen. (Thornton 
 Wilder)

 Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
 sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] 3d Import into OpenArena working

2009-10-05 Thread jamesmikedup...@googlemail.com
Video, it works
http://www.youtube.com/watch?v=hFcUjA6A8pQ


Hi all,
I am working on importing openstreetmap maps into openarena.

Here are my patchs and code and posts :

Project Plan and Kick off
http://rdfintrospector2.blogspot.com/2009/09/3d-openstreetmap.html

Importing into blender
http://fmtyewtk.blogspot.com/2009/10/import-into-blender.html

How to load an example map into OA
http://fmtyewtk.blogspot.com/2009/10/blender-gtkradient-openarena.html

lots of pain to get gtkradient running
http://fmtyewtk.blogspot.com/2009/10/gtkradiant-running.html

Video of export tools
http://fmtyewtk.blogspot.com/2009/09/blender-faces-added-to-meshes.html

Post on openstreetmap journal
http://www.openstreetmap.org/user/h4ck3rm1k3/diary/8068


Mike

http://fmtyewtk.blogspot.com/2009/10/mail-to-openarena-forum.html

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev