Search found 141 matches

by MasterLee
Sat Jul 29, 2017 11:34 am
Forum: Support and Development
Topic: [Solved] Can a shader variable have different value for each vertex?
Replies: 9
Views: 1606

Re: Can a shader variable have different value for each vertex?

What is wrong with square wheels? Tehnically those are the curved triangles present in wankel engines... and are in fact not squares at all. Well ok they are triangles but triangles are the opposite of a circle at least by the number of coners real squares are possible too: http://worlddominationco...
by MasterLee
Sat Jul 29, 2017 6:37 am
Forum: Support and Development
Topic: [Solved] Can a shader variable have different value for each vertex?
Replies: 9
Views: 1606

Re: Can a shader variable have different value for each vertex?

What you're looking for is vertex attributes. However I'm pretty sure what you really need is a transformation matrix, it's just you don't see how to use it so you instead resort to inventing some square wheels. What is wrong with square wheels? http://worlddominationcommittee.org/~lee/filez/source...
by MasterLee
Fri Jul 28, 2017 8:53 am
Forum: Support and Development
Topic: Simulating graphics.rotate by using other functions?
Replies: 6
Views: 1318

Re: Simulating graphics.rotate by using other functions?

Rotation Matrix is cos(r) -sin(r) sin(r) cos(r) now when you apply is to an vector x y you will get x*cos(r)-y*sin(r) y*cos(r)+x*sin(r) Scale Matrix: S 0 0 S Shear Matrix is: 1 Sx Sy 1 Now the Problem is now when you first apply scale to an vector x y you will get x*S y*S now Shear Matrix gives x*S...
by MasterLee
Wed Jul 26, 2017 6:02 am
Forum: Support and Development
Topic: Gun Image, and while true dos?
Replies: 6
Views: 1355

Re: Gun Image, and while true dos?

Obviously not because then the player would say hello world in a rate of 5+x. Also you could decrease TimeToPass and than add the initial amount when TimeToPass is negativ or zero. So you could omit TimePassed.
by MasterLee
Mon Jul 17, 2017 10:36 am
Forum: Support and Development
Topic: [Solved] How to kill thread on any error?
Replies: 10
Views: 4848

Re: How to kill thread on any error?

Or you could make an parameter to choose if the error should be cleaned
by MasterLee
Fri Jul 14, 2017 9:55 pm
Forum: General
Topic: Forum etiquette
Replies: 38
Views: 364510

Re: Forum etiquette

What is about bumping own thread every week only to have it stay on the first page?
by MasterLee
Mon Jul 10, 2017 10:19 pm
Forum: Support and Development
Topic: Resize image
Replies: 6
Views: 2431

Re: Resize image

No you can't resize image. You can scale the image during drawing as mentioned above, but the size of the image itself can not be changed. Ah, but what if you display a scaled image and dump the result to a file, then reload it? ;) Then scale it back up to the original resolution for the pixelly go...
by MasterLee
Mon Jul 10, 2017 6:52 pm
Forum: Support and Development
Topic: Resize image
Replies: 6
Views: 2431

Re: Resize image

No you can't resize image. You can scale the image during drawing as mentioned above, but the size of the image itself can not be changed.
by MasterLee
Sun Jun 25, 2017 10:58 am
Forum: Support and Development
Topic: Output text
Replies: 6
Views: 1362

Re: Output text

Do you wan't to change Keyboard Layout?
The Microsoft Keyboard Layout Creator