Share your games and programs with the community.
Post a reply

Re: 3D rendering demo

Wed Apr 30, 2014 12:45 am

Myndale wrote:I spent 16 years as a professional game developer, much of which was spent as a 3D graphics/engine programmer, so I've done this stuff a hundred times before.


That... That explains a LOT. I'll have to look around for that PDF or the PCGPE, then. I imagine it'll be informative. I'll be as excited as Rodot to see what you get this thing to do next.

(Also, this preforms pretty well for unoptimized code.)

Re: 3D rendering demo

Thu May 01, 2014 12:40 pm

Myndale wrote:Sometime around 1994 (I think) when the internet was still in its infancy I collected a series of articles written by myself and others (with their permission) and released them all as "The PC Games Programmers Encycopedia" aka "PCGPE"; it's still archived in various places around the net and covers some of the more basic 3D algorithms.

I remember that! Migth even have a copy on a disk somewhere at home!

Re: 3D rendering demo

Thu May 01, 2014 1:01 pm

This?

http://www.gamers.org/dEngine/rsc/pcgpe-1.0/

Re: 3D rendering demo

Thu May 01, 2014 1:21 pm

Yep, that was it. Seems like a lifetime ago now.

I also cringe at the terrible writing style I had in my youth! :)

Re: 3D rendering demo

Tue May 06, 2014 11:34 am

Sot0 wrote:This?

http://www.gamers.org/dEngine/rsc/pcgpe-1.0/


Nice find!

Also, Myndale, Don't we all? I write fiction for fun occasionally, I can't read stuff I've written a decade ago, without wincing at very best.

Re: 3D rendering demo

Sun May 25, 2014 11:32 pm

I want to use this to make a maze but first i need to know how to change the size of the map,
Should i just make it bigger or (as i'm guessing) i need to change some of the code?

Re: 3D rendering demo

Mon May 26, 2014 11:07 pm

rotyler wrote:I want to use this to make a maze but first i need to know how to change the size of the map,
Should i just make it bigger or (as i'm guessing) i need to change some of the code?


You'll have to change some of the code, for reasons rather unrelated to the map in particular. Mydale did say it needed optimized, and you'd want to do that to have a map of any real size. depending on how you wanted to make the maze, you could streamline it quite a bit, at the sacrifice of, say, only having four directions.

Re: 3D rendering demo

Tue May 27, 2014 2:19 pm

How big do you want your maze, rotyler? My demo assumes a square maze, so increasing the size should simply be a matter of changing the MAP_SIZE define to something larger than 16 and then changing the "theMap" array accordingly. Given the flash memory limitations of Arduino you'll probably run out of memory somewhere around 150x150 (rough guess), but you could extend that to somewhere around 400x400 by changing the code to use 1 bit per block instead of 1 byte. Employing simple compression tricks (e.g. using "palettes" like Ultima 6 did) could extend that even further.

Re: 3D rendering demo

Tue May 27, 2014 3:32 pm

I was thinking to make it around 100 x 100 in size. thanks for the help! I believe you start in top left, right?

Re: 3D rendering demo

Sat Jul 12, 2014 9:55 am

The 3D-Maze looks a bit weird on my Gamebuino. The view seems to be split in half.
About one third of the right side is shifted over to the left of the screen.
The demo runs fine apart from that.
Has anyone else encountered this problem?

Image
Post a reply