R
raylopez99
After refering to the below thread, I take it for C# Forms 2.0, there
a way to draw a 1 pixel by 1 pixel rectangle, which I was able to do
just now successfully.
http://groups.google.com/group/micr...l=en&lnk=gst&q=paint+a+pixel#444f363036fc64f2
But now the question is:
has anybody ever done a 'scaling problem' for a grid where you are
'zooming out'? I can construct this no problem, but at some point you
are going to maybe go below 1 pixel for a rectangle.
Then, I notice gamer designers do an "outline" to give a sort of
virtual shape (that's not really accurate, just a visual outline to
fool the eye into thinking it's accurate, then, when you zoom in, you
get the 'real' graphical object).
Anybody ever do this? You have to have an algorithm to figure out the
'outline' of the body you are zooming out on. I'm just curious what
people do when the resolution for "Zoom out" is such that your
rectangle is smaller than 1 pixel.
Bonus question: when doing an infinite grid, what numbers do you
choose for infinity? Do you simply choose a very large number, or,
the system.max number for ints, or, some other way?
Thank you,
RL
a way to draw a 1 pixel by 1 pixel rectangle, which I was able to do
just now successfully.
http://groups.google.com/group/micr...l=en&lnk=gst&q=paint+a+pixel#444f363036fc64f2
But now the question is:
has anybody ever done a 'scaling problem' for a grid where you are
'zooming out'? I can construct this no problem, but at some point you
are going to maybe go below 1 pixel for a rectangle.
Then, I notice gamer designers do an "outline" to give a sort of
virtual shape (that's not really accurate, just a visual outline to
fool the eye into thinking it's accurate, then, when you zoom in, you
get the 'real' graphical object).
Anybody ever do this? You have to have an algorithm to figure out the
'outline' of the body you are zooming out on. I'm just curious what
people do when the resolution for "Zoom out" is such that your
rectangle is smaller than 1 pixel.
Bonus question: when doing an infinite grid, what numbers do you
choose for infinity? Do you simply choose a very large number, or,
the system.max number for ints, or, some other way?
Thank you,
RL