Tíquete #28016

Use of canvas renderer

: 2012-04-04 20:12 Última Atualização: 2012-04-09 09:31

Relator:
Dono:
Estado:
Aberto [Owner assigned]
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
2
Gravidade:
3
Resolução:
Nenhum
Arquivo:
Nenhum

Details

Using the canvas renderer, would allow a larger audience of users, I understand the impact on performance, but I guess it could be used for lightweight models

Ticket History (3/6 Histories)

2012-04-04 20:12 Updated by: dvhh
  • New Ticket "Use of canvas renderer" created
2012-04-04 20:35 Updated by: biochem_fan
  • Prioridade Update from 1 - Lowest to 3
  • Dono Update from (Nenhum) to biochem_fan
Comentário

Hi,

I have once tested CanvasRenderer of THREE.js but it was too slow even for small proteins...

But "line" and "strand" representation might be possible, as we don't have to worry about hidden surface removal. I will try it.

2012-04-04 21:20 Updated by: None
Comentário

thanks for your consideration As I will submit the use of it to a protein modelisation result display

2012-04-08 18:18 Updated by: biochem_fan
Comentário

I uploaded very preliminary test on http://webglmol.sourceforge.jp/glmol/canvasTest.html

Only line drawing(strand and C-alpha trace) works. Ribbon, ligand, etc is not implemented although UI is present.

As you can see, it is very slow compared to the WebGL version. I don't think it is practical on mobile devices. On PCs, it may be practical but I think PC users can use the WebGL version. (Internet Explorer doesn't support canvas so users have to use Firefox, Chrome or Safari anyway, and then, they can use WebGL)

So my question is, who need a Canvas version? (I know that on some old computers WebGL is disabled by default, but still they can enable it manually and it works in most cases)

2012-04-08 18:19 Updated by: biochem_fan
  • Prioridade Update from 3 to 2
  • Gravidade Update from 5 - Medium to 3
2012-04-09 09:31 Updated by: dvhh
Comentário

I agree it was slower than expected, I was hoping to go through the hurdle of enabling webGL (most of my users are on safari). Plus canvas version would have been useful for mobile platforms (iOS).

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login