Go Back   Singapore's Online Community - Singapore Forums > Personal Interests > Computers & Internet
Register FAQ Member List Calendar Mark Forums Read

Computers & Internet
Discussions and latest news about computers and Internet.


Reply
 
Thread Tools Display Modes
Old 10-10-2007, 12:00 PM   #1 (permalink)
micxiao
High IQ guy
micxiao will become famous soon enoughmicxiao will become famous soon enough
 
micxiao's Avatar

Join Date: Nov 2006
Posts: 4,280
iTrader: (0)
My Mood:
Gender:
Country:
Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00



Default 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.
micxiao is offline   Reply With Quote
Sponsored links
Your Ad Here
Old 11-10-2007, 03:25 PM   #2 (permalink)
Fel
Necromancer
Fel is on a distinguished road
 
Fel's Avatar

Join Date: Jul 2007
Posts: 1,108
iTrader: (0)
Gender:
Country:
Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60

Default 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.
Fel is online now   Reply With Quote
Old 11-10-2007, 03:37 PM   #3 (permalink)
micxiao
High IQ guy
micxiao will become famous soon enoughmicxiao will become famous soon enough
 
micxiao's Avatar

Join Date: Nov 2006
Posts: 4,280
iTrader: (0)
My Mood:
Gender:
Country:
Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00



Default Re: anyone here can help me with some 3D programming stuff?

i gave up already. i think too difficult to understand. -_________-
micxiao is offline   Reply With Quote
Old 12-10-2007, 02:38 AM   #4 (permalink)
Fel
Necromancer
Fel is on a distinguished road
 
Fel's Avatar

Join Date: Jul 2007
Posts: 1,108
iTrader: (0)
Gender:
Country:
Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60

Default 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.
Fel is online now   Reply With Quote
Old 12-10-2007, 02:53 PM   #5 (permalink)
micxiao
High IQ guy
micxiao will become famous soon enoughmicxiao will become famous soon enough
 
micxiao's Avatar

Join Date: Nov 2006
Posts: 4,280
iTrader: (0)
My Mood:
Gender:
Country:
Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00



Default 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?
micxiao is offline   Reply With Quote
Old 13-10-2007, 09:18 AM   #6 (permalink)
Fel
Necromancer
Fel is on a distinguished road
 
Fel's Avatar

Join Date: Jul 2007
Posts: 1,108
iTrader: (0)
Gender:
Country:
Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60

Default 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.
Fel is online now   Reply With Quote
Old 17-10-2007, 05:32 PM   #7 (permalink)
micxiao
High IQ guy
micxiao will become famous soon enoughmicxiao will become famous soon enough
 
micxiao's Avatar

Join Date: Nov 2006
Posts: 4,280
iTrader: (0)
My Mood:
Gender:
Country:
Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00



Default 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.
micxiao is offline   Reply With Quote
Old 17-10-2007, 10:15 PM   #8 (permalink)
Fel
Necromancer
Fel is on a distinguished road
 
Fel's Avatar

Join Date: Jul 2007
Posts: 1,108
iTrader: (0)
Gender:
Country:
Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60

Default 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.
Fel is online now   Reply With Quote
Old 18-10-2007, 12:20 PM   #9 (permalink)
micxiao
High IQ guy
micxiao will become famous soon enoughmicxiao will become famous soon enough
 
micxiao's Avatar

Join Date: Nov 2006
Posts: 4,280
iTrader: (0)
My Mood:
Gender:
Country:
Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00



Default 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.
micxiao is offline   Reply With Quote
Old 18-10-2007, 12:52 PM   #10 (permalink)
Fel
Necromancer
Fel is on a distinguished road
 
Fel's Avatar

Join Date: Jul 2007
Posts: 1,108
iTrader: (0)
Gender:
Country:
Location: Not to be disclosed.
SGC$: 337.40
Bank: 2,189.20
Total SGC$: 2,526.60

Default 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.
Fel is online now   Reply With Quote
Old 18-10-2007, 12:59 PM   #11 (permalink)
micxiao
High IQ guy
micxiao will become famous soon enoughmicxiao will become famous soon enough
 
micxiao's Avatar

Join Date: Nov 2006
Posts: 4,280
iTrader: (0)
My Mood:
Gender:
Country:
Location: Bukit Panjang
SGC$: 1,706.00
Bank: 0.00
Total SGC$: 1,706.00



Default 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.
micxiao is offline   Reply With Quote
Sponsored links
Your Ad Here
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

SGC$ Per Thread View: 0
SGC$ Per Thread: 2.00
SGC$ Per Reply: 2.00

Similar Threads
Thread Thread Starter Forum Replies Last Post
What kinda stuff do u buy online? Cheer Shopping Lovers 98 30-06-2008 12:15 AM
~ My Lips Stuff Spree ~ oOcloverOo ~ Cancelled [L]iyen Cancelled Sprees 12 03-12-2007 12:16 PM
Programming Launguage Seifer Computers & Internet 35 24-10-2007 07:16 AM
Selling BRANDS NEW make up stuff less than $10 !! Mina-Chan General Merchandise 0 19-09-2007 11:16 PM
Buy stuff at Y! Auctions infinitylub Business Field 6 04-09-2007 11:05 AM

» Current Poll
Would You Resort to Illegally Buying a Kidney?
Yes - 21.94%
52 Votes
No - 43.04%
102 Votes
Maybe - 35.02%
83 Votes
Total Votes: 237
You may not vote on this poll.
» Friends
Funny Videos
Free Wallpapers
Funny Pictures
Singapore Christian
Start Your Website
» September 2008
S M T W T F S
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18