oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Implement vertex texture fetch support #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/angleproject/wiki/VTF for details on what needs to 
be done.

Attaching preliminary patch that someone started.  Note the most interesting 
aspects are likely the HLSL function implementations.  Probably don't want to 
include the software vertex processing bits (at least initially).

Original issue reported on code.google.com by dan...@transgaming.com on 14 Dec 2010 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 14 Dec 2010 at 5:31

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 15 Dec 2010 at 4:42

GoogleCodeExporter commented 9 years ago
Would love to see VTF in ANGLE, would make for some excellent particle / N-body 
projects!

Original comment by mike.c...@gmail.com on 21 Mar 2011 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 23 Mar 2011 at 8:58

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 23 Mar 2011 at 8:58

GoogleCodeExporter commented 9 years ago

Original comment by nicolas....@gmail.com on 22 Apr 2011 at 1:27

GoogleCodeExporter commented 9 years ago

Original comment by nicolas....@gmail.com on 1 May 2011 at 9:52

GoogleCodeExporter commented 9 years ago
I have a set of patches for this that pass the OpenGL ES 2.0 conformance test 
suite, renders the 'DisplacementMap' sample of the PowerVR SDK, and runs 
http://steveharoz.com/public/webgl/ with 'Geometry'.

If anyone knows of some other applications/samples that use VTF, or can make 
one (or knows someone who can make one), that would be very useful for testing. 
Thanks!

Original comment by nicolas....@gmail.com on 5 May 2011 at 2:22

GoogleCodeExporter commented 9 years ago
Nice! Here are a couple more demos to test:
http://www.ibiblio.org/e-notes/webgl/gpu/n-toy.html
http://codeflow.org/entries/2011/apr/11/advanced-webgl-part-1/demo/

Original comment by steve.ha...@gmail.com on 5 May 2011 at 3:30

GoogleCodeExporter commented 9 years ago
Excellent, thank you! A couple more:

http://www.ibiblio.org/e-notes/webgl/gpu/big_wave.htm (this one uses 
OES_texture_float too, so is a good test of the combination of these extensions)
http://spidergl.org/example.php?id=8

Original comment by kbr@chromium.org on 5 May 2011 at 6:43

GoogleCodeExporter commented 9 years ago
Here is a cloth simulation demo by Petros @petrosagg Aggelatos from my team 
(Kamibu) which uses texture lookups in the vertex shader:

http://petros.kamibu.com/files/cloth/

Original comment by diony...@gmail.com on 7 May 2011 at 3:44

GoogleCodeExporter commented 9 years ago
webgl bench has a VTF test case: http://webgl-bench.appspot.com

Original comment by thatcher...@gmail.com on 8 May 2011 at 8:15

GoogleCodeExporter commented 9 years ago
All links marked by [EXT2] at
http://www.ibiblio.org/e-notes/webgl/gpu/contents.htm
[EXT+2] uses OES_texture_float too

Original comment by demidove...@gmail.com on 10 May 2011 at 3:39

GoogleCodeExporter commented 9 years ago
Support for VTF has been implemented in r635 - r645.

Thanks all for the many test apps. Aside from those which don't run due to 
other reasons, VTF support appears robust and makes for some pretty demos!

Please note that the current Chrome build's shader validator incorrectly 
doesn't recognize the VTF functions if you don't have a DirectX 10 graphics 
card. Instead it should recognize them but report that the number of supported 
samplers is exceeded. This was fixed in the compiler code but will require a 
new Canary build to report the proper error message.

Original comment by nicolas....@gmail.com on 11 May 2011 at 4:09

GoogleCodeExporter commented 9 years ago
Some of these demos also revealed a depth test bug. This got fixed in r634.

Original comment by Nicolas....@gmail.com on 11 May 2011 at 4:26

GoogleCodeExporter commented 9 years ago
It seems that chrome 13.0.766.0 (at least) has these changes picked up now. 
Closing.

Original comment by dan...@transgaming.com on 16 May 2011 at 10:40