GraaF1337 Posted January 26, 2014 Posted January 26, 2014 I know you got rules against doing things to game, game servers and stuff and im not trying to do anything like that i simply need to know how to do "World to screen" func cause i can't find a way to do it.. :-/
Moderators Melba23 Posted January 26, 2014 Moderators Posted January 26, 2014 GraaF1337, I know you got rules against doing things to game, game servers and stuff and im not trying to do anything like thatThen why is every Google hit I get on "World to screen" game-related? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 GraaF1337, Then why is every Google hit I get on "World to screen" game-related? M23 Well thats because it's used for alot of programs for game-related things.. But i would really appreciate it if you or someone else could tell me how to do it
FlashpointBlack Posted January 27, 2014 Posted January 27, 2014 I'm not a person of authority, but I have to ask for curiosity's sake... Could you provide an example in which you would use this function not for a game?
Myicq Posted January 27, 2014 Posted January 27, 2014 I guess what he asks about is an education of some 3d math functions. Perhaps he is making a demo showing rotation of 3d objects real time ? I do not have these math skills myself, but I could imagine the formulas behind the idea to be pretty defined already based on a number of parameters. Try asking in 3d graphics forums to get some details on projections etc. I am just a hobby programmer, and nothing great to publish right now.
Moderators Melba23 Posted January 27, 2014 Moderators Posted January 27, 2014 FlashpointBlack,You took the words right out of my mouth! GraaF1337,In this forum I think I count as "a person of authority" - and I am definitely asking if you would please be kind enough to provide an example. M23 FlashpointBlack 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
AlmarM Posted January 27, 2014 Posted January 27, 2014 I could help if it's 2D. Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 FlashpointBlack, You took the words right out of my mouth! GraaF1337, In this forum I think I count as "a person of authority" - and I am definitely asking if you would please be kind enough to provide an example. M23 I will and here you got it I guess what he asks about is an education of some 3d math functions. Perhaps he is making a demo showing rotation of 3d objects real time ? I do not have these math skills myself, but I could imagine the formulas behind the idea to be pretty defined already based on a number of parameters. Try asking in 3d graphics forums to get some details on projections etc. How did you guess that?
Moderators Melba23 Posted January 27, 2014 Moderators Posted January 27, 2014 GraaF1337,Fine. What have you got as code so far? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
jaberwacky Posted January 27, 2014 Posted January 27, 2014 Well thats because it's used for alot of programs for game-related things.. But i would really appreciate it if you or someone else could tell me how to do it You're being evasive. Only one reason to be evasive really. Also, most of us aren't going to provide a working solution without any hint of effort from your end. But there are a few here who think they're being helpful by providing solutions so you might get lucky. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 GraaF1337, Fine. What have you got as code so far? M23 None because i have no idea how to do a world to screen func and in every single other post about it you say that we arent allowed because it breaks the rules because they wanted to for games.. So i got notthing and it kinda pisses me of because i can't find anything about world to screen
AlmarM Posted January 27, 2014 Posted January 27, 2014 First link on google gave me this. No clue if this is what you want.. Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Moderators Melba23 Posted January 27, 2014 Moderators Posted January 27, 2014 GraaF1337,You are not helping your cause here. If these other posts are what you want to do then you seem to admit that this is what you are trying to do yourself - and that is not allowed here as you well know. How about a concrete example of what you want to do with this function. From what "3D world" do you wish to convert the coordinates into "2D screen" ones? Explain it in English so that we can see what you are trying to do - then we might be more convinced that you are on the level (pun fully intended). M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 GraaF1337, You are not helping your cause here. If these other posts are what you want to do then you seem to admit that this is what you are trying to do yourself - and that is not allowed here as you well know. How about a concrete example of what you want to do with this function. From what "3D world" do you wish to convert the coordinates into "2D screen" ones? Explain it in English so that we can see what you are trying to do - then we might be more convinced that you are on the level (pun fully intended). M23 Okay you want to know what im going to do with this but i bet you wont help once you know what im going to use it for.. At my school our teacher is doing a competition to see who know the most about coding language so he told us that we can chose from 4 programs: Delphi 8, C#, C++, Autoit. This hole competition is to see who can do the best job at pinning down a point in a third dimensional world, and then mark it with a circle.. But i as i just started at my class and i didn't want to look like a newbie i might have bragged abit about how good i was in Autoit, that's the hole reason our teacher allowed us to do this in Autoit, we dont normally use it in out class. But i had no clue that he would set up a competition. So im kinda screwed and i CAN'T lose face now because if i do im going to hear about this for the next 2 years.. So im kinda begging you.. I only got a small knowledge about Autoit, but i dont know anything about the other programs as i just started at the school..
FlashpointBlack Posted January 27, 2014 Posted January 27, 2014 Just me, but I highly doubt a competition would be held in a school on how to pin down a 3D point on a 2D screen when there's a function that you just have to plug variables into. Just throwing that out there. if a competition were to be held for such a thing, they aren't testing your ability to call someone else's function from one line of code and draw a circle with another, they'll be expecting you to figure out the mathematics behind it in which case calling a function won't help. feel free to moderate this.
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 Ohh and btw if you are wondering what school im going to it's Tech college and im going to be a data technician once im done.
iamtheky Posted January 27, 2014 Posted January 27, 2014 pinning down a point in a third dimensional world, and then mark it with a circle. If you just need to mark it in screenshots, 3D does not matter. And if this object that needs painting happens to be a different color, this task is monumentally easier to accomplish than the one you are asking. Have you even taken the first steps of working towards being able to mark an object on a simple image? or are you expecting all of this to be provided? If you need to have this item painted inside the 3D world, you would be hard pressed to defend your knowledge of the code. "I plugged x,y, and z, into this func and BAM!" ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 If you just need to mark it in screenshots, 3D does not matter. And if this object that needs painting happens to be a different color, this task is monumentally easier to accomplish than the one you are asking. Have you even taken the first steps of working towards being able to mark an object on a simple image? or are you expecting all of this to be provided? If you need to have this item painted inside the 3D world, you would be hard pressed to defend your knowledge of the code. "I plugged x,y, and z, into this func and BAM!" Well as far as i know none in my class have any knowledge about Autoit and if our teacher do have any knowledge about Autoit it aint much, so thats why i just want a simple world to screen func so i can input the x,y,z and then compile it bring it into my class and i can pretty much tell them anything and they dont know anything about Autoit so they can't say that im wrong.. Yes i know this is kinda a way of cheating in the competition but i dont care i need to win, and i hope you understand :-/
jaberwacky Posted January 27, 2014 Posted January 27, 2014 Let this be a life lesson for you. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
GraaF1337 Posted January 27, 2014 Author Posted January 27, 2014 Let this be a life lesson for you. Or someone could try and help me out... What is the meaning with a support forum if nobody wants to help??....
Recommended Posts