You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/04/10 07:54:21 UTC

[GitHub] [incubator-echarts] mengyunlong opened a new issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

mengyunlong opened a new issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413
 
 
   ### What problem does this feature solve?
   可以通过图片将3d柱体包装成需要的展示的样式,比如建筑等
   
   ### What does the proposed API look like?
   能通指定图片的路径,重复方式,重复方向
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-613262256
 
 
   @mengyunlong 可以看下那你那的显示效果吗?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] mengyunlong removed a comment on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
mengyunlong removed a comment on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-612726383
 
 
   感谢您的解答,我已经尝试使用了 detailTexture 的配置,在bar3D的根节点下作了如下配置:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-615036434
 
 
   您好 我想让bar3D柱体的表面上展示我自己的图片,而不在是显示颜色,我的配置如下
   ` shading: 'realistic',
   realisticMaterial:{
       detailTexture: 'assets/scale9.png'
   }`
   配置完成后,柱体表面并没有出现我的图片,仅仅是柱体的颜色变深了,并且在某些角度下出现了阴影,第一张图片为添加上述配置代码的效果,第二张图片为没有添加上述代码的效果
   ![2020-4-17 12-23-47](https://user-images.githubusercontent.com/5801829/79532367-750e8100-80a7-11ea-83b0-f05e236cd930.jpg)
   ![2020-4-17 12-22-44](https://user-images.githubusercontent.com/5801829/79532420-a1c29880-80a7-11ea-969a-4154dc8eca88.jpg)
   柱体上应该怎么样才能展示出我自定的图片呢
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-612726383
 
 
   感谢您的解答,我已经尝试使用了 detailTexture 的配置,在bar3D的根节点下作了如下配置:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-612345483
 
 
   可以试试用 detailTexture 设置

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-612732913
 
 
   感谢您的解答,我已经尝试使用了 detailTexture 的配置,在bar3D的根节点下作了如下配置:
   `{
                       name: 'bar3D',
                       type: 'bar3D',
                       coordinateSystem: 'geo3D',
                       shading: 'realistic',
                       realisticMaterial:{
                           detailTexture: 'assets/test.jpg'
                       },
   ...
   }`
   设置 后,我在控制台发现: assets/test.jpg 确实被正常加载了,但柱体的颜色仅仅变深了,并没有出现在柱体上显示图片的效果,我理想中的效果类似 globe 的 baseTexture 的属性,不知道是不是我哪里配置的不对?
   另外在后期的版本中,bar3D中可以添加关于柱体线条的设置吗? 例如颜色,透明度等
   再次打扰,深感抱歉

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-614415111
 
 
   > 您好,我的理解中一个立体的柱子应该是由8个顶点构成的,我所说的柱体线条就是指相邻顶点间的连线,一个立体柱子应该是有12根这样的线条的,关于这种线条在后期的版本中是否可以单独进行属性的设置吗?
   
   这个目前不能实现
   
   > 关于 bar3D的detailTexture 的配置,没有产生类似 globe 的 baseTexture 的效果,这个是我配置的问题,还是目前echarts bar3D没有类似 globe 的 baseTexture这样的参数?
   
   我不太清楚你想要实现的效果以及你现在的效果

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-611924127
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang edited a comment on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-613262256
 
 
   @mengyunlong 可以看下那你那的显示效果吗?
   
   不太清楚柱体线条指的是什么,颜色和透明度是支持的

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗

Posted by GitBox <gi...@apache.org>.
mengyunlong commented on issue #12413: webgl 3dbar可以使用图片作为柱体的贴图吗
URL: https://github.com/apache/incubator-echarts/issues/12413#issuecomment-613799834
 
 
   您好,我的理解中一个立体的柱子应该是由8个顶点构成的,我所说的柱体线条就是指相邻顶点间的连线,一个立体柱子应该是有12根这样的线条的,关于这种线条在后期的版本中是否可以单独进行属性的设置吗?
   关于 bar3D的detailTexture  的配置,没有产生类似 globe 的 baseTexture 的效果,这个是我配置的问题,还是目前echarts bar3D没有类似 globe 的 baseTexture这样的参数?
   谢谢

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org