[X3D-Public] X3D and GLSL shader example posted.

John A. Stewart alex.stewart at crc.ca
Wed Jan 13 13:31:03 PST 2010


FYI; I have posted a GLSL X3D Shader program on the FreeWRL examples  
page;

       http://freewrl.sourceforge.net/examples.html

- Moves vertices around on an IndexedFaceSet (200x200 vertices,  
arranged on a flat grid);
- sliders to send modifier values into the shader;
- video of it in operation is on YouTube (click on the picture in the  
examples link, above)
- FreeWRL bug in older versions of FreeWRL - the Material color was  
not being transferred to the shader correctly; this is fixed so if you  
do run this on released versions of FreeWRL, expect the colors to be  
off.

Thanks;

-----------------------------------------------------------
John A. Stewart
Team Leader: Networked Virtual and Augmented Reality
alex.stewart at crc.ca

Network Systems and Technologies -
         Systemes et technologies des reseaux
Communications Research Centre Canada  |
          Centre de recherches sur les communications Canada

3701 Carling Ave.  |  3701, avenue Carling
PO Box 11490, Station H  |  CP 11490, succursale H
          Ottawa ON K2H 8S2   |  Ottawa (Ontario) K2H 8S2

http://www.crc.ca









More information about the X3D-Public mailing list