|
-
Jan 14th, 2004, 04:48 PM
#1
Thread Starter
Lively Member
Rotating an Image in DX7
When you declare an image, is there anyway to rotate the image? Likes is there a way you can get and change the variable for the top right, top left, bottom right, and bottom left points of the image? Or anything at all that could help me in my quest to rotate an image?
-
Jan 14th, 2004, 05:09 PM
#2
I have posted code for this so many times on this forum....please make a search...
-
Jan 14th, 2004, 05:26 PM
#3
-
Jan 14th, 2004, 07:14 PM
#4
Thread Starter
Lively Member
Ok, that was slightly helpful, in that it at least showed me I have much much to learn. Do you happen to have any simpler tutorials then that, or maybe just a link to where you explained it before because i couldn't find it in search.
-
Jan 14th, 2004, 07:18 PM
#5
I have always used that code to explain it....so simpler it isn't possible to explain it....what did you not understand about it?...All of it? If you didn't understand anything of it I would suggest that you learn more about DX before you move on...or just use that function untill you are ready to understand it,....
-
Jan 15th, 2004, 03:40 AM
#6
KING BODWAD XXI
-
Jan 15th, 2004, 06:49 AM
#7
Hehe...do you meen 2D in D3D maybe...
-
Jan 15th, 2004, 06:56 AM
#8
KING BODWAD XXI
-
Jan 15th, 2004, 06:59 AM
#9
Angry about last night? What do you meen....I am soo tired that I can't remember what I did....or was it even me?
-
Jan 15th, 2004, 08:49 AM
#10
Thread Starter
Lively Member
O, so rotating is much easier in D3D? Ahh, in that case I won't even bother trying to learn it in DD.
-
Jan 15th, 2004, 11:21 AM
#11
Hehe...havn't you had Math (matrices) at school. D3D does it the same way, you can do it manualy or use the functions that is provided by D3D...
-
Jan 15th, 2004, 04:39 PM
#12
Thread Starter
Lively Member
The highest math i have taken is either geometry or algebra 2. No trig or calculus, so I don't know much of these math formulas.
The main problem I have with rotating images is how to even do it, such as what attribute would you change. O well, I guess I learn about it when I advance to D3D
-
Jan 15th, 2004, 04:43 PM
#13
The way it is done in that example and the way you are doing it in D3D are not the same at all. This method are more advaced in code, the D3D method are more advanced in Math. But as long as there are functions for it, I guess that it can't hurt for you to use them, before you understand the math behind it...
-
Jan 16th, 2004, 03:23 AM
#14
KING BODWAD XXI
-
Jan 16th, 2004, 05:24 AM
#15
Hehe....yes it is. There is several transelations buildt into D3D. Thre is
Addining Matrices
Multiplying Matrices
Translation
Rotation Matrix (XY, XZ, YZ)
Scaling
And some other thigs....
-
Jan 16th, 2004, 05:59 AM
#16
KING BODWAD XXI
-
Jan 16th, 2004, 07:50 AM
#17
Hehe....when did you post that...maybe I was on my vecation... ...You can post more DX questions now...I am back...
-
Jan 16th, 2004, 09:09 AM
#18
KING BODWAD XXI
-
Jan 16th, 2004, 09:29 AM
#19
Hehe...my head is not big in anny way...it's just my body that is small... ...sorry for not beeing there 2months ago...probably had to much to do at school...
-
Jan 16th, 2004, 10:22 AM
#20
-
Jan 16th, 2004, 10:24 AM
#21
I don't know more then you....thats for sure...I bet you are better then me in D3D right now....but I will get better...trust me...
-
Jan 16th, 2004, 11:24 AM
#22
KING BODWAD XXI
-
Jan 16th, 2004, 11:26 AM
#23
Jukeboxes??? What about them?
It's not that diffrent, using C++ or VB I meen. Allt the functions in DX stays more or less the same...
-
Jan 19th, 2004, 03:05 AM
#24
KING BODWAD XXI
-
Jan 19th, 2004, 04:36 AM
#25
I found some at gamedev.net......but I can't find them anymore....
-
Jan 19th, 2004, 04:41 AM
#26
-
Jan 19th, 2004, 05:04 AM
#27
KING BODWAD XXI
Ok thanks ill take a look.
I keep thinking of doing a carrier command clone but at bit more advanced eg carrier command 2
-
Jan 19th, 2004, 05:07 AM
#28
Not following you....is that a game??? Never heard of it....
-
Jan 19th, 2004, 05:11 AM
#29
BTW, if you find more great links.....post them, or send me a PM...I havn't looked so much after it....just reading books at the moment...
-
Jan 19th, 2004, 06:51 AM
#30
-
Jan 19th, 2004, 06:53 AM
#31
Hehe...thanks...not sure if I need them....but it can be usefull to have later...
-
Jan 19th, 2004, 11:26 AM
#32
-
Jan 21st, 2004, 06:20 PM
#33
What is your favorite source for Directx questions? Is there a forum you prefer? I seem to come up with bizarre questions, and am looking for good sources of info. I looked at some of the references you posted, but thought you might have some favorites.
-
Jan 22nd, 2004, 03:06 AM
#34
KING BODWAD XXI
-
Jan 22nd, 2004, 05:42 AM
#35
Originally posted by Shaggy Hiker
What is your favorite source for Directx questions? Is there a forum you prefer? I seem to come up with bizarre questions, and am looking for good sources of info. I looked at some of the references you posted, but thought you might have some favorites.
I have learned more or less everything I know from books. The physics part, the math part, and the DX part...if you have questions try to ask them here, and I will try to answer them as best as I can...but I can't promisse you anything.
There is a couple of skilled guys over at visualbasicforum.com too if it is VB you are programming in....but I hate to see you leave there just because of that....I hate that place....
-
Jan 22nd, 2004, 11:10 AM
#36
The language is C++, with which I am less familiar than with VB, but it offers some features (such as runtime polymorphism, bit manipulations, and performance) that are superior to VB, and necessary for the program I'm working on.
As for the question, I have posted them here, and I think both dealt more with IDE issues rather than actual programming issues. The latest had to do with using DirectInput for keyboard. While I got some answers, none of them really came close to a solution. I guess I was hoping for something along the lines of "call this first, and it'll work", which didn't happen. I suspect my problem has to do with remote debugging. I may have something set wrong such that the call to get keyboard state isn't happening correctly, but I have no clue how to solve it.
My purpose for looking for a different forum for that question was simply that I'm at a wall, and I'm looking for info to get past it. I've done some web searches, and may have a few leads, but the problems associated with debugging full screen exclusive apps doesn't seem to be addressed very well, anywhere.
Well, I've rambled a bit, so I might as well continue. To debug a game in full screen exclusive mode, there seem to be two options: dual monitor, or remote debugging. I have both. The dev system has two video cards, and I use a wireless LAN to debug on a laptop (which may also be an issue). If I use the dual monitor, one of the problems is that the mouse gets trapped on the primary screen, so I get to use the keyboard to navigate the debugger, which really sucks. Somehow I got the stack window off to one side of the screen, and without the mouse, I can't move it back, so I only get to see a part of it when it comes up. Currently, I get a bizarre unhandled exception when I try to debug in dual monitor, but it doesn't occur during remote debugging. The problem with remote debugging seems to be that the keyboard state is not dealt with correctly. Thus in one setup I can barely use the debugger, while in the other state I can't seem to test the game. I'm betwixt and between, and looking for info.
-
Jan 22nd, 2004, 11:41 AM
#37
Yeah I saw you had that keyboard issue....I saw a tutorial on how to use DirectInput at gamedev.net....you might want to look at that....
I have never debugged DX in fullscreen. Havn't done that much DX in C++ before, and never needed it in VB. But I have also two monitors, so when I get to that part, I can try to check it ouy for you....untill then I don't have any solutions to it...sorry
-
Jan 22nd, 2004, 12:58 PM
#38
Once I have my new computer and a dual screen system myself, I might be able to help you there.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 22nd, 2004, 03:54 PM
#39
The program is pretty interesting, but it is only a hobby, so I don't get to it very often. It is based on a huge genetic algorithm that may have over 1000 loci next time I get around to writing the genome. It should be able to do some interesting learning things, and to be stuck on an IDE issue is pretty galling. I may have to add the code to allow debugging in windowed mode just to get around this.
I'll look at the tutorial, and Corned Bee, if you have any suggestions, I'd certainly like to hear them.
-
Jan 22nd, 2004, 04:01 PM
#40
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|