[Pas2js] OBJ loader with lighting example

Michael Van Canneyt michael at freepascal.org
Mon May 21 11:49:41 CEST 2018



On Mon, 21 May 2018, Ryan Joseph wrote:

> I added another demo of a simple OBJ loader with a 3D model and diffuse/specular lighting. There’s also a minimal demo with a single triangle and no other vertex data or byte buffers (as simples WebGL gets but still not as easy as legacy OpenGL code).
>
> https://github.com/genericptr/Pas2JS-WebGL

Very cool indeed :)

Can we add your demos to the pas2js demos in the FPC repository ?
(obviously with your name on it)

Michael.


More information about the Pas2js mailing list