Jump to content
Sign in to follow this  
WhatTicking

How to detect 3-D objects within 3-D environments, where the camera can change angle/zoom?

Recommended Posts

WhatTicking

I need to write a function which periodically "looks" for a 3-D object within a 3-D video game on my screen. The object has several parts, each which change color, and my function should return an array containing the color of each part.

 

Of course, the camera position will not be the same every time the function is called. It is also possible that multiple, identical objects will be on the screen at once. To disambiguate, I would only like the function to do stuff if my cursor point is over the object (and I will ignore all copies of the object which are not hovered over). So I need my function to detect the object, and also to detect my cursor.

 

I have been told that this process is called feature detection, but after some research, I have come away without mentally connecting the deep and mind boggling concepts to my task. I originally figured I would do this project in C#, because I have some experience using the language, but Autoit was suggested as a much simpler language for the task.

 

Does Autoit hide the low level details of tasks such as this?  If anyone can break my task down into as abstract of tasks as possible, in either language, that would be greatly appreciated. Specific function names to look into would be awesome, as I am completely new to this type of project (still not sure whether I should try to do this myself, or attempt to hire someone to code the function for me).

Thanks in advance!

Edited by WhatTicking

Share this post


Link to post
Share on other sites
Melba23

WhatTicking,

Welcome to the AutoIt forum. :)

 

a function which periodically "looks" for a 3-D object within a 3-D video game on my screen

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. :naughty:

See you soon with a legitimate question I hope. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
WhatTicking

'?do=embed' frameborder='0' data-embedContent>>

Heya, sorry for posting this question publicly, but for the life of me, I could not find a way to PM moderators.  =P

I have read the forum rules now and see that discussion of any game automation is not allowed.  My question, given the flexibility in moderator judgment alluded to in the forum rules, is whether my thread could be reopened, (or I could open a new one) if I was able to provide proof that automation is explicitly permitted in the game in question.  I, in fact, have a screenshot of the game's developer formally stating just such a thing.

While the post is still technically at odds with the specific forum rule on games, as it is worded, I think it would be in harmony with the spirit of the law, the "ethos of the forum."

If this is not possible, perhaps someone could recommend another forum with many Autoit users, which has a more open communication policy.

Thanks in advance for any help.

Edited by WhatTicking

Share this post


Link to post
Share on other sites
Jos

Would think our rules are pretty clear and we have a simply Zero tolerance approach to it as all other options have been tried.

 

  • Launching, automation or script interaction with games or game servers, regardless of the game.

 

So the answer is No.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Melba23

Threads merged.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×