Explain to me how you could do this with code? Something in the direction will be a point
don't go download that attachment, it's the wrong one, download this
Last edited by kedaman; Feb 28th, 2001 at 04:37 PM.
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
for sure their is a function(or sub) repeated a certain
number of times, that each time it's called the pass
value or the opposite of the previous passed value.
The function would random location to put points
but all around the same spot. Cuz all the images are
not the same but similar.
nevermind that, the rnd thing just made things worse. Look at this one instead, and you might have easier to figure out what i did.
Fox get a point for "using palettes to get weird color combinations"
sebs get's a point about that random thing, i removed it now since it's disturbing your concentration
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
let me guess - something to do with calling the RGB colors ?
I know its very vague, but do I get a point ?
Originally posted by kedaman Something in the direction will be a point
What does Axiom mean kedaman ?
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details
Dim intY As Integer
Form1.Scale (0, 0)-(500, 500)
For intY = 0 To 500
Form1.Line (0, intY)-(500, intY), RGB(0, 0, CInt((intY / 500) * 255))
Next
So I guess....
You created a triangle shape, worked out the centre of it, then used something like the above, rather than changing the color from top to bottom, to go from the inside to the outside of the shape.
I haven't learnt DirectX, so not too sure how you got the multi triangle bit ...
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details
Has nothing to do with DX alex, it was rendered on the screen dc. No RGB crap, it's done with a palette. no triangles were drawn either. However nice fading, 1 point for that Axiom definition
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Hmmm...................Using Bitblt, DC, and CreateBitMap with SRCCOPY, SRCINVERT, SRCOR and SRCAND to get the reversing of the colors and the rotation.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com
the screen and an offscreen device context +several bitmaps are involved, bitblt is only used with source copy. No color reversing or rotation was needed, 1 point to you Technocrat.
Yeah well Harry, i didn't know until i changed my title, it's okay that i keep it`?
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.