Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 Jun 2008
Offline Last Active Oct 04 2013 05:08 AM

Topics I've Started

Calculate Vertices for Circle

17 November 2012 - 01:41 PM

A question for someone with a more mathematical mind.

When drawing a circle on the screen using vector graphics, is there a way to calculate how many vertices should used given a specific radius, to make it appear smooth (pixel-level accuracy)? This will be less given a smaller radius, but it appears it's not directly proportional to the radius or circumference.


Matthew Rule

Comp Sci Portfolio

25 February 2012 - 06:10 AM

I have a few questions about managing my project page.

Link: http://matthyr.wordpress.com/projects

Sure it's useful to show off to my friends, or transfer files to other computers to see if they run; but an employer for example would not be interested in it. Are there any opportunities at all in maintaining/improving this site? How do I make it more interesting?

I have a few ideas:
- Make bigger or more complete projects. There are ways to scale up each of the projects here.
- Add Java applets; small games or demos.
- Change my style of writing.

Finally, is it a bad idea to put my full name there?

Patent Violation?

07 February 2012 - 10:47 AM

Occasionally while researching means to an end, you stumble across something like this: a patented algorithm. This applies to the following: http://en.wikipedia..../Marching_cubes.

So, logical methods can be copyrighted; flagged as someone else's territory. The only efficient way to do something turns out to be illegal in itself.

And what's more, in the final paragraph: "While the invention has been described in detail herein in accord with certain preferred embodiments thereof, many modifications and changes therein may be effected by those skilled in the art. Accordingly, it is intended by the appended claims to cover all such modifications and changes as fall within the true spirit and scope of the invention."

I have a few questions:

1) How likely is it that the owner of the patent will sue a popular company which uses a patented method, or an obscure company which uses it?
2) How much damage can a successful claim on their part do?


Matthew Rule

Components / Spatial Graph

09 November 2011 - 02:04 PM

These are issues that stumped me a while ago - they were the final straw for me to abandon the project I was working on. I'm looking at it again now with a fresher brain. :)

When implementing a component-based entity system along with spatial subdivision, is a whole seperate spatial graph required for each component subsystem, or are there other approaches? Won't this result in such a decrease in performance as to make each spatial graph useless anyway? And is it okay for the components to be very fine-grained? My current system is about as fine as you can get, as I really dislike the idea of having any entities containing unused variables.


Matthew Rule

2D Running Character using Vector Graphics

05 November 2011 - 12:21 PM

I've made a 2D running animation in C++ and OpenGL, using joints (vectors) which rotate relative to each other according to sine waves, and bones which exist purely visually between joints. You could even call it an "implementation of forward kinematics"... Here's the video of the project at its current stage. There are also links to previous versions in the description, if you're interested.


Now the question is, how to proceed? I want to turn this into an animated female character for a game, moving towards Adventure Quest / Dragon Fable style. Different animations are not a problem, but I'm looking for ways to represent different parts of the character using vectors, and draw them without the use of textures. Any suggestions relating to any aspect of the animation will be appreciated.

- The main reason for this post is that the current bone / joint structure clearly can't do everything (consider the neck, or the palms of the hands, or the ribs). How can it be padded out?
- How do I draw the outside edges of the geometry only?
- Any other ways to improve the graphics?

I will follow this thread at least until it drops off the first page of the forum, so don't feel that an answer would come too late to be of any use.


Matthew Rule