0
$\begingroup$

I am trying to create a 3d structure in webgl using 3d coordinates from a pdb file mentioned below: https://www.rcsb.org/structure/1RE2

I don't know which one is the appropriate one, so i used gl.drawArray(gl.POINTS, 0, array.length)

but it is not creating it as it is showing in the pdb website.

i don't know which one is better to draw such structure from pdb file (POINTS, TRIANGLES) and how to draw it appropriately.

How i can draw exactly like in the pdb website.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.