Welcome to the pdb2vrml home page.
Protein Data Bank to Virtual Reality Modeling Language Converter


WHAT IS pdb2vrml?

The pdb2vrml library is a GPL'd C++ interface for converting Protein Data Bank (PDB) files to Virtual Reality Modeling Language (VRML) worlds. It is being developed under Unix(r) and Microsoft(r) Windows(r) 9x. It was created by Mr. Vieri Di Paola and will hopefully be maintained by developers across the world.

LICENSING

Pdb2vrml comes with complete free source code. Pdb2vrml is available under the terms of the GNU General Public License.

API

Refer to the demo program.
int pdb(const char*);
Specify the PDB file name.

int vrml(const char*, int, const char *compr = "w9");
Specify the VRML file name and compression level.

void setCarbonTexture(const char*);
void setNitrogenTexture(const char*);
void setHydrogenTexture(const char*);
void setPhosphateTexture(const char*);
void setSulfurTexture(const char*);
void setOxygenTexture(const char*);
void setNBondTexture(const char*);
void setCBondTexture(const char*);
void setHBondTexture(const char*);
void setSBondTexture(const char*);
void showBackground(void);
void hideBackground(void);
void setTopTexture(const char*);
void setBottomTexture(const char*);
void setFrontTexture(const char*);
void setBackTexture(const char*);
void setRightTexture(const char*);
void setLeftTexture(const char*);
still working on the documentation... sorry :-(

Note

This software is NOT complete. In particular, it is not yet possible to create protein surfaces. If you are interested in extending this library please e-mail me.



 The library's source code is available at the following sites:
  Geocities - Updated June 26th 2001
  Madrid, Spain - Temporarily Unavailable
  Pisa, Italy - Temporarily Unavailable


 Executables:
  Native Windows - Not yet available.
  Windows/CygWin - Download the source and unpack the ZIP file in the demo dir. Make sure you have CYGWIN1.DLL
  Cygwin DLL - CYGWIN1.DLL is required only for Windows/CygWin. If CygWin isn't installed on your system then place it in the demo dir. Visit the CygWin web site in order to download the latest DLL. You will need bzip2 to uncompress the archive. Also download CYGZ.DLL and uncompress it in the demo dir.





 Links of interest:
  GNUbioQ
  QuickConnections
  MSAL
  VRML
  PDB
  CygWin


Electronic mail: gnubioq@yahoo.com