Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geo DrinX
Hi Minoru, All is OK, now.It was my local webbrowser test plugin, that conflicted with your. :) Now, QGis2threejs works perfettly Thank you Roberto 2014/1/19 Geodrinx geodr...@gmail.com Inviato da iPhone Il giorno 19/gen/2014, alle ore 10:06, Minoru Akagi akagi...@gmail.com ha

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geo DrinX
Hi Minoru, I have some other suggestion :) I am testing with more than one image and DTM files. I find that, in this case, it would be useful to have an automatic selector of the DTM or DSM layer (I don't know how, but, for example, it could be the layer that starts with DTM_) Other

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geo DrinX
Hi Minoru, with last master version I had this: Traceback (most recent call last): File C:\Users\rrr/.qgis2/python/plugins\Qgis2threejs\qgis2threejsdialog.py, line 324, in run htmlfilename = runSimple(htmlfilename, context, self.progress) File

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Minoru Akagi
Hi Roberto, 2014/1/20 Geo DrinX geodr...@gmail.com: I have some other suggestion :) I am testing with more than one image and DTM files. I find that, in this case, it would be useful to have an automatic selector of the DTM or DSM layer (I don't know how, but, for example, it could be

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geodrinx
if there are more than one DTM_ layers, it could be possible to have together clipped in the output ? Or, only one is possible to have ? Only one. You should merge DTM files into one in advance or make use of vrt file. If I well understand from documentation, a .vrt file is an xml

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Minoru Akagi
Hi, 2014/1/21 Geodrinx geodr...@gmail.com: if there are more than one DTM_ layers, it could be possible to have together clipped in the output ? Or, only one is possible to have ? Only one. You should merge DTM files into one in advance or make use of vrt file. If I well understand

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-19 Thread Minoru Akagi
Hi Roberto, Is your python webbrowser module overlapped by something? For example, you have a plugin named webbrowser ? : ) Otherwise, please try to set browser path in the setting dialog. Regards, Minoru 2014/1/18 Geo DrinX geodr...@gmail.com: Hi Minoru , I taken QGis2threejs now from

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-19 Thread Geodrinx
Inviato da iPhone Il giorno 19/gen/2014, alle ore 10:06, Minoru Akagi akagi...@gmail.com ha scritto: Hi Roberto, Is your python webbrowser module overlapped by something? For example, you have a plugin named webbrowser ? : ) Yes, I created a plugin named webbrowser ... :( So, this is

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-18 Thread Minoru Akagi
Do you know other/better solutions then raycasting? Maybe through shaders? I don't know... Minoru 2014/1/17 G. Allegri gioha...@gmail.com: Hi Minoru, I have another question for you :) I'm dong some tests to apply vector draping on top of the PlanarGeometry, i.e. positioning vector

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-18 Thread G. Allegri
2014/1/18 Minoru Akagi akagi...@gmail.com Do you know other/better solutions then raycasting? Maybe through shaders? I don't know... Ok, thanks. Next days I will fork your github repo to do some additions and push some pull requestes. giovanni

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-18 Thread Geo DrinX
Hi Minoru , I taken QGis2threejs now from repository and I am testing on MacOSX. I had this: Traceback (most recent call last): File /Users/rrr/.qgis2/python/plugins/Qgis2threejs/qgis2threejsdialog.py, line 334, in run if not tools.openHTMLFile(htmlfilename): File

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-17 Thread G. Allegri
Hi Minoru, I have another question for you :) I'm dong some tests to apply vector draping on top of the PlanarGeometry, i.e. positioning vector vertices on the terrain when they don't have z values. I've done a test with ray casting. Here a result which seems a caterpillar walking along our

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-16 Thread Geo DrinX
Hi Minoru, You can do it with latest code on GitHub. https://github.com/minorua/Qgis2threejs I tested it :) I have an idea and a suggestion: if a level was a WMS PNG24 or PNG32 of a DTM, do you think it would be possible to use it to create 3D with your plugin? This would be a very

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-16 Thread Minoru Akagi
Hi Roberto, The way of getting elevation values from 3 or 4 bands image data seems a little strange. AFAIK, at least it is not common, and WCS is a more ordinary way to get elevation data through internet access. Using QGIS API (QgsRasterDataProvider) in addition to GDAL API to support more data

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-16 Thread Geodrinx
Hi Minoru, Using QGIS API (QgsRasterDataProvider) in addition to GDAL API to support more data sources (1 band rasters) may be a good idea. Great ! :) Roberto Minoru 2014/1/16 Geo DrinX geodr...@gmail.com: Hi Minoru, You can do it with latest code on GitHub.

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-08 Thread Gino Pirelli
I've no time now to to test plugin, but my recent experience creating a complex plugin [1] where are interacting qgis-python plugin-QtWebView(based on QWebKit or other rendering engine), let me say that should be a great improvement if 3d is displayed in a QWebView allowing interaction (signal and

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-07 Thread Etienne Trimaille
2014/1/2 Minoru Akagi akagi...@gmail.com: It seems that 3D html model has exagerated height. True ? Yes, it is exaggerated (x 1.5) currently. Can we set the value in the form ? For me, it's not enough :) ___ Qgis-developer mailing list

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-07 Thread G. Allegri
Then, with the new year, I had an idea: what do you think of a QT window inside QGIS, which displays the 3D html page ? Could it be doable ? Do you have just tested ? Interesting, but I have not tested it yet. I tested now, but I had: Sorry, your browser doesn't seem to support

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-07 Thread Minoru Akagi
2014/1/8 Etienne Trimaille etienne.trimai...@gmail.com: 2014/1/2 Minoru Akagi akagi...@gmail.com: It seems that 3D html model has exagerated height. True ? Yes, it is exaggerated (x 1.5) currently. Can we set the value in the form ? For me, it's not enough :) You can do it with latest

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-03 Thread gene
Hi Minoru, First of all, many thanks for your plugin. As I use Mac OS X and the QGIS version of Kyngchaos, the path of gdalwarp is /Library/Frameworks/GDAL.framework/Versions/1.10/Programs/gdalwarp but this QGIS version does not recognize the PATHs defined in the UNIX environment of MAC OS X

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-03 Thread Minoru Akagi
Hi gene, I'm sorry for the inconvenience, and thank you for your concrete report. I've changed the plugin code to do DEM warp with gdal.ReprojectImage instead of gdalwarp program to store warped DEM data in memory raster, so it may work in also Mac OS X, I guess. I will also fix the other issue.

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Hi Minoru, before all, happy new year :) Then, with the new year, I had an idea: what do you think of a QT window inside QGIS, which displays the 3D html page ? Could it be doable ? Do you have just tested ? Regards Roberto ___ Qgis-developer

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Minoru, Other argument: in this image, on the left you can see GoogleEarth, and on the right the threejs.html : https://drive.google.com/file/d/0Bwg_m86uaXY1QVVGVnJmMlBfOEk/edit?usp=sharing It seems that 3D html model has exagerated height. True ? Roberto

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Minoru Akagi
2014/1/2 Geo DrinX geodr...@gmail.com: Minoru, Other argument: in this image, on the left you can see GoogleEarth, and on the right the threejs.html : https://drive.google.com/file/d/0Bwg_m86uaXY1QVVGVnJmMlBfOEk/edit?usp=sharing It seems that 3D html model has exagerated height. True ?

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Minoru Akagi
Hi Roberto, Happy new year to you, too. : ) 2014/1/2 Geo DrinX geodr...@gmail.com: before all, happy new year :) Then, with the new year, I had an idea: what do you think of a QT window inside QGIS, which displays the 3D html page ? Could it be doable ? Do you have just tested ?

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Then, with the new year, I had an idea: what do you think of a QT window inside QGIS, which displays the 3D html page ? Could it be doable ? Do you have just tested ? Interesting, but I have not tested it yet. I tested now, but I had: Sorry, your browser doesn't seem to support

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Minoru, this is my ( experimental starting ) test plugin for webbrowser: https://drive.google.com/file/d/0Bwg_m86uaXY1ZWstOWZ3aER2cDQ/edit?usp=sharing Simply, drag and drop a url link inside the web view. For example:

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
... it seems to be WebKit.Who knows if it loads WebGL on other platforms, different from Windows ? 2014/1/2 Geo DrinX geodr...@gmail.com Minoru, this is my ( experimental starting ) test plugin for webbrowser:

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
perhaps, this can be useful: http://trac.webkit.org/wiki/QtWebKitWebGL 2014/1/2 Geo DrinX geodr...@gmail.com ... it seems to be WebKit.Who knows if it loads WebGL on other platforms, different from Windows ? 2014/1/2 Geo DrinX geodr...@gmail.com Minoru, this is my ( experimental

[Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Geo DrinX
Hello Minoru, Your Qgis2threejs is great ! This is an image I taken from it: https://drive.google.com/file/d/0Bwg_m86uaXY1LUVzdmV0bUdNcnM/edit?usp=sharing Well, I have some suggestion: The only thing that I find to be improved is the fact that it opens a new web page, and that is opened

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Paolo Cavallini
Il 31/12/2013 09:52, Geo DrinX ha scritto: Hello Minoru, Your Qgis2threejs is great ! Hi, a quick test on Debian showed a blank page on Iceweasel, and a couple of (movable) grey polygons on a blue background on Chromium. Possibly a missing lib, or missing webgl support? Any hint? All the

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Minoru Akagi
Hi Roberto, Thank you for your suggestions. 2013/12/31 Geo DrinX geodr...@gmail.com: The only thing that I find to be improved is the fact that it opens a new web page, and that is opened in QGis an information panel on which (if any) choose the DEM layer. For me, the panel should be

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Minoru Akagi
Hi Paolo, Can you view a sample page linked from README [1]? WebGL support is required. A list of browsers that support WebGL is on Wikipedia page [2]. Regards, Minoru [1] https://dl.dropboxusercontent.com/u/21526091/qgis-plugins/samples/threejs/mt_fuji.html [2]

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Geodrinx
I will increase the number of items in the dialog. I have already implemented multiple resolution output that has both detailed close view and rough distant view, and would like to challenge vector data output. I think it is good to provide an option to output simple one by 1-click from the

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Paolo Cavallini
Il 31/12/2013 11:39, Minoru Akagi ha scritto: Can you view a sample page linked from README [1]? not in fact WebGL support is required. A list of browsers that support WebGL is on Wikipedia page [2]. ok - perhaps better warn the user at some stage? all the best. -- Paolo Cavallini -