 |
10-10-2007, 12:00 PM
|
#1 (permalink)
| | High IQ guy Join Date: Nov 2006 Posts: 4,280 My Mood:  Gender:  Country:  Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00 | anyone here can help me with some 3D programming stuff? I'm a beginner in 3D programming, and i'm having a little bit of trouble understanding how to use quaternions to calculate rotation of objects.
Can anyone explain in simple terms how to make use of quaternions?
For example, if i want to rotate a cube 45 degrees along the y-axis, how do I express this in a quaternion?
(I want to use quaternions as currently i'm experiencing gimbal lock with sequencial rotations and i heard quaternions are the solution)
Last edited by micxiao : 10-10-2007 at 12:01 PM.
|
| |
11-10-2007, 03:25 PM
|
#2 (permalink)
| | Necromancer Join Date: Jul 2007 Posts: 1,108 Gender:  Country:  Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60 | Re: anyone here can help me with some 3D programming stuff? You might wanna check out other forums for such information. It's hard to obtain such information in a forum like this. |
| |
11-10-2007, 03:37 PM
|
#3 (permalink)
| | High IQ guy Join Date: Nov 2006 Posts: 4,280 My Mood:  Gender:  Country:  Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00 | Re: anyone here can help me with some 3D programming stuff? i gave up already. i think too difficult to understand. -_________- |
| |
12-10-2007, 02:38 AM
|
#4 (permalink)
| | Necromancer Join Date: Jul 2007 Posts: 1,108 Gender:  Country:  Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60 | Re: anyone here can help me with some 3D programming stuff? Maybe this can help you. http://www.cprogramming.com/tutorial...aternions.html
You should never give up.
You wouldn't happen to know anything about smb using a SAM database for user information.
pdbedit -- editing the logon scripts directly using pdbedit is throwing an error which dosen't make sense cause it's been verified.
Know if the pdbedit project is being tracked? Maybe i can submit a bug report if it is.
Whos the maintainer? Any idea?
Sorry for the hijacking.. don't see the point of starting another thread. You're the high IQ guy right? ^-^
Maybe you know, haha.
Last edited by Fel : 12-10-2007 at 02:41 AM.
|
| |
12-10-2007, 02:53 PM
|
#5 (permalink)
| | High IQ guy Join Date: Nov 2006 Posts: 4,280 My Mood:  Gender:  Country:  Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00 | Re: anyone here can help me with some 3D programming stuff? got the quaternion thingy working liao =)
hehe my objects are rotating very nicely~
wat's pbdedit? |
| |
13-10-2007, 09:18 AM
|
#6 (permalink)
| | Necromancer Join Date: Jul 2007 Posts: 1,108 Gender:  Country:  Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60 | Re: anyone here can help me with some 3D programming stuff? pdbedit is a database editor. It's used typically for typical SAM samba databases.
I actually fixed the issue by setting the logon drive and logon home to null values. This allowed me to map whatever i wanted by setting the logon scripts to go by %U and by renaming my logon scripts to each user's individual username.
It would have been a lot less troublesome if i could specify each user's individual logon script path with pdbedit. For some reason, it throws an error saying it cant locate the path, even though the path and syntax is correct. I suspect it's a bug. Wanted to submit it if it hadn't already been submitted.
So did the link i gave you work for you? Did it help?
Last edited by Fel : 13-10-2007 at 09:19 AM.
|
| |
17-10-2007, 05:32 PM
|
#7 (permalink)
| | High IQ guy Join Date: Nov 2006 Posts: 4,280 My Mood:  Gender:  Country:  Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00 | Re: anyone here can help me with some 3D programming stuff? well, it was mostly my brother who gave me idea on how to do the quaternion thingys. he's learning game programming too. :p
database ar? i only know basic database management. nothing specialized.
like SQL statements etc
Last edited by micxiao : 17-10-2007 at 05:32 PM.
|
| |
17-10-2007, 10:15 PM
|
#8 (permalink)
| | Necromancer Join Date: Jul 2007 Posts: 1,108 Gender:  Country:  Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60 | Re: anyone here can help me with some 3D programming stuff? well, it's not an sql database. Besides, sql statement inputs are old school. |
| |
18-10-2007, 12:20 PM
|
#9 (permalink)
| | High IQ guy Join Date: Nov 2006 Posts: 4,280 My Mood:  Gender:  Country:  Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00 | Re: anyone here can help me with some 3D programming stuff? | Quote: | | | Originally Posted by Fel | | | | | well, it's not an sql database. Besides, sql statement inputs are old school. | | | | | old school...? you mean there are more efficient ways for games to interact with databases?
does C++ have support for the "non old-school" ways then?
Last edited by micxiao : 18-10-2007 at 12:21 PM.
|
| |
18-10-2007, 12:52 PM
|
#10 (permalink)
| | Necromancer Join Date: Jul 2007 Posts: 1,108 Gender:  Country:  Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60 | Re: anyone here can help me with some 3D programming stuff? No dear, i didnīt mean it from a programming pov.
I meant that from an administration pov. Database administration.
I understand that for game programming, statements would be the best and only way to go. |
| |
18-10-2007, 12:59 PM
|
#11 (permalink)
| | High IQ guy Join Date: Nov 2006 Posts: 4,280 My Mood:  Gender:  Country:  Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00 | Re: anyone here can help me with some 3D programming stuff? ok~ misunderstanding then~ haha
anyway i'm more focused on software programming so if you or other peeps have (not too complicated) debugging issues feel free to ask me and hopefully we can work it out.  |
| |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On SGC$ Per Thread View: 0 SGC$ Per Thread: 2.00 SGC$ Per Reply: 2.00 | | | | |