1 0 Tag Archives: 3d

Filled Disk/Circle with TriangleFan in Papervision3D

Hey guys,

It has been so long since I wrote a technical or programming post. One reason is that I am busy with an awesome social game project at the company I’m working with right now, White Rabbit Online. I’m having a great time with the project but have also been working with Papersteer, more on that in another post.

While working with Papersteer, I created many solutions for the ActionScript world and I learned a lot as well. During this time, I came along a problem which required me to create filled circles using Papervision. Initially, I searched around the net and found Seb’s 3D Circle post. However, that did not solve my problem and I needed filled 3d circles/disks. I looked into Vectorvision for Pv3D as well but the absence of true 3D geometry forced me to trash that as well.

I missed TriangleFan because I’ve used in C# and other platforms. So, I went ahead and tried to simulate a TriangleFan algorithm.  It didn’t take me long and all I needed to do was create a rotated path for the common triangle vectors. Voila, see below:

Patterns? :D . Click on the snapshot below to view the original image. This one uses 500 segments to draw the circle.

There may be better ways to make this. If there are, do let me know. Download the source with demo here.

Read full story »

Papersteer and Updates

UPDATE: This release has been superseded by a new release. Please see this post.

Hi guys,

I’ve been lazy but eventually I managed to upload a new build of PaperSteer to the repository. This revision is a major overhaul of what I did with the port. It is in fact written from scratch. I wanted this port to be oriented towards its C++ parent i.e. the original release from Craig Reynolds and that is the reason why, I was not at all satisfied with my original release.

CHANGES:

- I have now uploaded the documentation, plugins and the new build with lots and LOTS of improvements.
- Bug fixes, stupid errors that I was overlooking.
- AS3 optimizations.
- OOP implementations and strict rules on compilation and AS3 compliance.

However, this build still does not contain the Demo which I initially promised for this build, but bear with me because I am actually working on it. Once that is done, I will be giving Papersteer a turn that the actual Opensteer lacks and that is, dynamic creation and loading of plugins.

Yes, I know that is something very big to tout about but since I love working on personal projects, I will definitely finish this sooner or later. For now, the build is up and I must say again that it is rather a preview for people to look at my work and it is broken. Porting a huge library such as Opensteer can be a severe pain, if it requires changes to the design and core implementations of the classes.

Go check it out already.

Apart from that, I recently tried to keep my artistic side alive by recreating an old scene from one of my favorite games of all time…Metal Slug. A destroyed submerged tank in the deep blue see…I hope you like it.

Regards,
MHAQS

Read full story »

PlayStation3 XMB Clone

Hi Again,

I’ve been busy. In fact, I’ve been very busy with certain things in life, mostly Visual Programming with PV3D / AIR. Recently, I worked on a project that I will soon make public and for people to use. I call it the Playstation 3 XMB Clone, made in Adobe AIR. Nothing Fancy but it will help people create P3T files and View PlayStation 3 Themes on their PC’s, as if they were being viewed on the Playstation 3. I know there are other PS3 Theme creators and editors but they are all so boring and I have always been inspired by the simple yet addictive use of the Sony’s XMB.

It is currently in a very early stage but is progressing quite fast. I plan to release it as a desktop application that can replace Windows Desktop or a screen saver or as a P3T compiler / editor, but I have yet to make up my mind. For a teaser, I’ve prepared some screen caps, so here they are:

Read full story »
Page 1 of 212