Page 1 of 1

Competition #03 (Codeblast '14) - 3D Point Cloud PSX Demo

Posted: May 31st, 2014, 8:48 pm
by emvivre

Competition #03 - 3D Point Cloud PSX Demo

Username: Emvivre
Project Title: 3D Point Cloud PSX Demo
Time to Complete: 1 mounth
SDK: Psy-Q
Genre: Demo
Latest Release: 31 May 2014
In Development: Yes
Initial Release Date: 31 May 2014
Last Date Updated: 31 May 2014
Controller: No
Players: 0
Memory Card: None
Languages: English / French
Burn and Play: Yes
Executable Included: Yes
Source Included: Yes

Hello everybody, This is my entry into the PSXDEV Codeblast '14 competition. The demo is named 3D Point Cloud PSX because it contains a 3D point cloud viewer. But this not all, here the technical features includes in the demo:
- dynamic lighting
- gouraud shading
- procedural 3D object generation
- vertex shading
- lag moving effect
- 3D point cloud viewer
- two xa music

The demo run well both in emulators (epsxe, no$cash, ...), or with a playstation (except during the sphere part where some glitches appeared on a real playstation).

Here the contains of the demo:
The demo start by recalling what it is meaning for: an entry for the PSXDEV Codeblast '14 competition:

Then a cube with a laggy effect appeared:

Next a dynamical lighting sphere is displayed, with a collection of effets working on colors of vertices of the sphere.

Follow that, a 3D point cloud composed of 40,000 vertices is displayed.

The demo end by the credits showing a scrolling text with a backgound image

The credits text is the folllowing:
The 3D point cloud contains exacly
40k vertices! This latter was
obtained using a real 3D scanner.
All assets of demo except the XA
music are included in the psx-exe!
Yes, the point cloud is included in
the psx-exe too. Without any
specifical optimization, bigger
point cloud could be shown.

This demo was really short. Indeed,
I discovered the sdk very late (at
the end of april) then I started to
develop tools and small apps to test
the little boy machine :D Source code
of this demo is provided with this
demo. Of course, the demo does not
use any \"buggy\" implementation of
malloc[23]() that comes from Sony.

I hope learn more about the psx,
and doing funny projects like reverse
engineering, game enhancement, ...
So if you are interesting in doing
game translation, or any amazing
project involving psx please pm me.

Thanks to psxdev community, and
all psxdev members, for keeping
interesting information about
the psx, the forum, tutorials,...

You can join us in the psxdev irc
channel on the
EFNET server(
channel: #psxdev

@Stamba: merci de m'avoir transmis
la musique dans les temps :D

!* S.T.U-Emvivre
* *
* Coder: !* S.T.U-Emvivre *
* GFX: !* S.T.U-Vash *
* Music 0: Stamba *
* Music 1: !* S.T.U-Vash *

The point cloud viewer is the one of the most interesting part of the demo, because it show that the playstation machine has the full capacity (I recall, CPU at 33.8 Mhz with a vector coprocessor, 2 MB of RAM, 1 MB of VRAM) to display a point cloud relativly high to display something with reasonable framerate. I use the TILE_1 structure to represent a vertex of the point cloud. Thus to the GPU point of view, the draw framebuffer is fill with only one dot without any polygon filling process required because no polygons are used!

Here the link of the iso
Here the link of the source code
Here the link of the video of the demo record using the pcsx emulator

In additional to the source code of the demo, I provide source code of some tools:
- psxlink : link all *.obj objects contained in the same folder together
- psxrun : run the MAIN.EXE psx-exe with epsxe
- waitfile : wait the creation of a specific file in the file system. In the compilation pipeline, there is race condition problem. The linker end the execution, but the output executable file (.cpe) file system

Re: Competition #03 - 3D Point Cloud PSX Demo

Posted: May 31st, 2014, 11:29 pm
by Shadow
Very cool. It doesn't work correctly under emulation, but that doesn't matter. You got my vote.

Re: Competition #03 (Codeblast '14) - 3D Point Cloud PSX Dem

Posted: June 2nd, 2014, 5:47 pm
by Shadow
Competition ended. This entry had a total of 2 votes and came in second place.