- pianoSpleen
- Jun 13, 2007
-
printf("Java is for programmers with no %socks", "c");
|
Pfhreak posted:
I continue to crack away at Marathon's map format in my spare time. I now render it using actual WebGL calls (gl.drawElements) rather than 2D canvas calls. Also, I can read the polygon type (water, platform, etc.) and respond accordingly. I'm incorrectly rendering secret doors, landscaped textured polys, and a few other things, but it's a solid first cut I think.
I have the first cut at getting the lines in, but again, it's a first cut. I'm not properly ignoring lines between similar elevations, or the bolding the lines on the edge of the map.
Exploring all this is incredibly cool and rewarding. WebGL is surprisingly different than the version of OpenGL used in Aleph One which is forcing me to actually understand both the OpenGL and the WebGL. The fact that javascript isn't strongly typed is making the code considerably simpler -- that and I don't need to hack in support for different platforms or SDL.
Hi there! I've actually done a custom source port of Marathon before; if you're interested I can share my experience with you. Give me a yell if you are
|
#
¿
Apr 25, 2012 06:40
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
¿
May 20, 2024 12:11
|
|
- pianoSpleen
- Jun 13, 2007
-
printf("Java is for programmers with no %socks", "c");
|
Hit me with an email: lol_spam at prolapsoft dot com
|
#
¿
Apr 26, 2012 11:24
|
|