|
-
Jan 31st, 2005, 04:18 PM
#1
Thread Starter
PowerPoster
Ray firing tutorial request
I know it is a complex process to fire a ray from an object towards some triangles and determine the exact point of collision.
I believe I have everything all set up to do so, my only problem is I cannot find any tutorial on generating a RAY.
This is not for collision detection but more for firing a ray from screen space to world space....Determining when that rays hits the ground and where.
Any tutorials that explain this would be great.
"From what was there, and was meant to be, but not of that was faded away." - - Steve Damm
"The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm
"When you do things right, people won't be sure if you did anything at all." - - God from Futurama
-
Jan 31st, 2005, 04:36 PM
#2
Member
Form within a form
Hi All:
I am trying to develop a small program.
I need assistance in developing something like a real software...(when the user starts the program a Main window will appear. and then based on the user selection a new form/window appears.).
I tried with MDI-Form but I am lost on how to use it and attach the child forms to it.
Can any one put a demo project here.... or any suggestions would be great.
thanks in advance
sincerely
proline
-
Jan 31st, 2005, 05:03 PM
#3
Member
Re: Form within a form
what happend to this forum..?
my previous thread, on this same topic, has lost.
and now in this thread.... some other post from a different thread is appearing.
-
Jan 31st, 2005, 05:04 PM
#4
Re: Form within a form
the forums are sick today.
-
Jan 31st, 2005, 05:05 PM
#5
Member
Re: Form within a form
so do you mean "the php forums" are under attack
-
Jan 31st, 2005, 05:10 PM
#6
Member
Re: Form within a form
dglienna:
can you suggest anything to my question..?? any link or example on the net.
-
Jan 31st, 2005, 05:21 PM
#7
Re: Form within a form
I would suggest the games forum. I haven't really done anything with games, sorry. oops. sorry. going to re-read your question now.
-
Jan 31st, 2005, 05:27 PM
#8
Re: Form within a form
You can create a main form that has buttons on it to call other forms.
For a button click, you can have something like this:
VB Code:
frmMain.hide
frmNext.show
When you hide a form, and then show it, the load event is not fired. if you want it to fire again, just Unload frmMain. When you call it again, the Load event will be fired.
-
Jan 31st, 2005, 05:28 PM
#9
Member
Re: Form within a form
 Originally Posted by dglienna
I would suggest the games forum. I haven't really done anything with games, sorry. oops. sorry. going to re-read your question now.
I am not into game developing.
please read my post (it's the second post in this thread.) and if you have any suggestions/help...that would be great.
-
Jan 31st, 2005, 05:29 PM
#10
Re: Form within a form
MDI forms are for like-based forms. for instance, in Word, when you open a document, it is an MDI form. Each document is a MDI form, and you can switch between them easily.
-
Jan 31st, 2005, 05:31 PM
#11
Member
Re: Form within a form
dglienna:
not just hiding, showing forms.
I need something like a real software.(i dont know the buzz words...so i am stuck in searching google or any other web-search).
Let us take: Microsort Word: When the word is open...it will give you a blank form with menu. When user selects "new document" a new form will be loaded to this main form.
So I want something like word. A main form with menu (i know how to create a form with menu). and then sub-forms/child forms...which appear with in the main form.
any suggestions.
-
Jan 31st, 2005, 05:39 PM
#12
Re: Form within a form
Here is an example. I'm not sure where I found it, but it was on the forum.
-
Jan 31st, 2005, 06:02 PM
#13
Member
Re: Form within a form
dglienna:
thanks for the example. i am looking inot it.
I have three forms. when i run the program each form appears as a seperate one in my "Toolbar". Instead i want two of the forms appear inside the main form.
so...to do that what need to be done.
(sorry for bugging you)
-
Jan 31st, 2005, 06:20 PM
#14
Re: Form within a form
Then have a look at another one that I found SetParent will let you do what you want.
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
|