[QGIS-Developer] GSoC QGIS 3D Improvement: Week 8 Report

Ismail Sunni imajimatika at gmail.com
Mon Jul 29 06:50:13 PDT 2019


Hi Tim,

Thanks Sunni! I had a long chat with Martin this week and he basically told
> me: “Tim you are an idiot, 3D Billboards are not the same as real life
> billboards, they should always face the camera” :-)


Ahaha, yes, it's different. I thought the same thing when I heard it for
the first time :D

 So now I am convinced but still not sure what will actually be put in the
> billboard i.e. how will I configure its contents based on some data from my
> layer?


Well, if you want to configure it from the data, it should be possible (or
I should make it possible) to do it from the symbol. Since we can use an
expression to configure the symbol, it's mean we can also configure the
billboard also.

Hopefully, I can show how to do it in this week.

Best regards.


On Sun, Jul 28, 2019 at 10:11 PM Tim Sutton <tim at kartoza.com> wrote:

> Hi
>
> Thanks Sunni! I had a long chat with Martin this week and he basically
> told me: “Tim you are an idiot, 3D Billboards are not the same as real life
> billboards, they should always face the camera” :-)
>
> So now I am convinced but still not sure what will actually be put in the
> billboard i.e. how will I configure its contents based on some data from my
> layer?
>
> Thanks!
>
> Regards
>
> Tim
>
> On 28 Jul 2019, at 20:09, Ismail Sunni <imajimatika at gmail.com> wrote:
>
> Hi Tim,
>
> Thanks for the feedback and sorry for the late reply.
>
> Thanks for the update! Maybe I missed it, but what is planned to
>> eventually go in the billboard? The kid pic is nice for a proof of concept
>> but have you made a concept render of the how the final thing will look? It
>> would be nice for the billboard to use the tooltip text or the label text -
>> it that the plan? I’m still not convinced it wouldn’t be better having the
>> billboard facing a fixed (or used defined fixed) direction but maybe I am
>> alone in this….when I watch the youtube clip the boards seem to go ‘flat on
>> the ground’ and lose their 3d representation.
>
>
> The common usage is to put a label or sign of a place. Something like this
> in Google map. In this case, the sign is better to have the same size and
> always facing the same direction. When we zoom out, we can see where is the
> place since the billboard will still have the same size. And when we rotate
> or tilt the map, we can still see it properly also.
>
>
> https://user-images.githubusercontent.com/1421861/62011693-eb66fe00-b17b-11e9-939d-d5cbb1955899.jpg
>
> In my last week report, it's getting better, like the screenshot below.
>
>
> https://user-images.githubusercontent.com/1421861/62011245-19e1da80-b176-11e9-8da4-df6f9bd6d004.jpg
>
> Regarding a tooltip or a label text, I haven't thought about it. I am not
> sure it's possible to do it even for a normal symbol. Using the identify
> tool is one of the option to know what is it in the billboard.
>
> Another good example of a billboard is this
> https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Billboards.html
>
> I hope my explanation is quite clear.
>
> Best Regards.
>
> On Sun, Jul 21, 2019 at 11:22 PM Tim Sutton <tim at kartoza.com> wrote:
>
>> Hi Sunni
>>
>> Thanks for the update! Maybe I missed it, but what is planned to
>> eventually go in the billboard? The kid pic is nice for a proof of concept
>> but have you made a concept render of the how the final thing will look? It
>> would be nice for the billboard to use the tooltip text or the label text -
>> it that the plan? I’m still not convinced it wouldn’t be better having the
>> billboard facing a fixed (or used defined fixed) direction but maybe I am
>> alone in this….when I watch the youtube clip the boards seem to go ‘flat on
>> the ground’ and lose their 3d representation.
>>
>> Regards
>>
>> Tim
>>
>> On 21 Jul 2019, at 19:47, Ismail Sunni <imajimatika at gmail.com> wrote:
>>
>> Dear QGIS developers,
>>
>> Here is my 8th-week report for my GSoC Project[4]. You can also check the
>> project wiki page [2]. Comments and suggestions are welcome :)
>>
>>
>> GSoC QGIS 3D Improvement Week 8 Report
>>
>> *Period*: 15 July 2019 - 21 July 2019
>>
>> *Report*
>> 1. What did I complete this week?
>>    - Porting Billboard functionality from my experimental repo[3] to QGIS
>> codebase[1]. Success with a static image, and currently polishing with
>> default symbol (still looks ugly symbol).
>>    Sample result can be watched below (click and it will play on YouTube):
>>     - QGIS 3D Billboard Rendering with Succes Kid (static) (
>> http://www.youtube.com/watch?v=Dxsu0ZaDd0k)
>>     - QGIS 3D Billboard Rendering with Default QgsSymbol - still ugly (
>> http://www.youtube.com/watch?v=32Tv7y07vXg)
>> 2. What am I going to achieve for next week?
>>    - Make the billboard shows symbol from user
>>    - Polishing
>>    - Fill 2nd evaluation
>> 3. Is there any blocking issue?
>>    - It seems, adding an image (not from a file) to the texture is not
>> straight forward.
>> 4. Code
>>    - Branch for billboard feature [1]
>>    - Repo for QT C++ billboard [3]
>> 5. Misc
>>    - N/A
>>
>> ## References
>> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
>> - [2] Project Wiki:
>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
>> - [3] https://github.com/ismailsunni/qt3d-custom-shader
>> - [4] https://github.com/ismailsunni/QGIS/wiki/Week-8-Report
>>
>> Best regards
>> --
>> Ismail Sunni
>> ismailsunni.wordpress.com
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>>>
>>
>> <KartozaNewLogoThumbnail.jpg>
>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Ex Project chair:* QGIS.org <http://qgis.org/>
>>
>> Visit http://kartoza.com to find out about open source:
>>
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>>
>> *Skype*: timlinux
>> *IRC:* timlinux on #qgis at freenode.net
>>
>> I'd love to connect. Here's my calendar link
>> <https://calendly.com/timlinux> to make finding time easy.
>>
>>
>
> --
> Ismail Sunni
> ismailsunni.wordpress.com
>
>
>>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux> to make finding time easy.
>
>

-- 
Ismail Sunni
ismailsunni.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190729/afe87237/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190729/afe87237/attachment-0001.jpg>


More information about the QGIS-Developer mailing list