Hello,
I've cleaned a bit my code used in Zombie/Tape21 to render things :
downloads.kstorm.org/megadrive_gske_src.7z
It gives basic support for multiple meshes, different materials (dot, wireframe, flat, phong, texture mapped), polygon sorting, etc...
Its slow, there is no perspective correction, no cropping... but it supports out of screen / z polys, and may be easily extended / improved.
Fill free to use/modify it where you want, I no more touch it anyway.
I just builded it using latest SGDK svn, just put it into the samples directory and launch build_all.bat.
GSKE - 3D rendering sample
Moderator: Stef
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: GSKE - 3D rendering sample
Hi Boloid,bioloid wrote:Hello,
I've cleaned a bit my code used in Zombie/Tape21 to render things :
downloads.kstorm.org/megadrive_gske_src.7z
It gives basic support for multiple meshes, different materials (dot, wireframe, flat, phong, texture mapped), polygon sorting, etc...
Its slow, there is no perspective correction, no cropping... but it supports out of screen / z polys, and may be easily extended / improved.
Fill free to use/modify it where you want, I no more touch it anyway.
I just builded it using latest SGDK svn, just put it into the samples directory and launch build_all.bat.
Nice to see you around
Actually i still use your zombie demo to somehow test SGDK at some point =) I had to modify the sources code in multiple part due to the changes i made in SGDK (specially in the last version). I noticed your 3D engine does not work anymore and i was not able to "repair it". It looks like the 3D transformation part is broken but this is due to a change in my 3D transform code. Did you successfully updated it on your side ?
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Well i tried your archives and it does work perfectly so i guess you sorted it, nice That is fun, the cube example make me remember one of my first md example (except mine was buggy, shitty and incorrectly calculated :p)