Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
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 :)

Adbot
ADBOT LOVES YOU

pianoSpleen
Jun 13, 2007
printf("Java is for programmers with no %socks", "c");
Hit me with an email: lol_spam at prolapsoft dot com

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply