Search found 5 matches

by Spanky
Mon Jul 31, 2006 12:11 pm
Forum: Beginners Help
Topic: Codeblocks help (Newton + build errors..)
Replies: 1
Views: 138

OK, I think i got it.

Go Project - build options
Directories Tab
Add the neccesary files to compiler and linker tabs.
Thats it (I think.. ;) )
by Spanky
Mon Jul 31, 2006 10:46 am
Forum: Beginners Help
Topic: Codeblocks help (Newton + build errors..)
Replies: 1
Views: 138

Codeblocks help (Newton + build errors..)

I've searched the forums and looked at the tutorials, but can't figure out how to properly integrate NewtonSDK int codeblocks!! If someone could explain or point me in the right direction? Thanks

Also, I've noticed that when I build my project codeblocks throws up errors in ISceneNode.h ?? The test ...
by Spanky
Mon Jul 31, 2006 9:33 am
Forum: Beginners Help
Topic: How create FOG?
Replies: 7
Views: 904

Thanks Vitek! I've been struggling to figure out why my fog won't work and just seen that I've been missing this...

Code: Select all

terrain->setMaterialFlag(video::EMF_FOG_ENABLE, true);
silly silly me.... :oops:
by Spanky
Thu Jul 27, 2006 7:01 am
Forum: Beginners Help
Topic: 3rd and 1st Person Cameras
Replies: 6
Views: 1010

My code for positioning a 3rd person camera is as follows.
cpos = camera position
pos = avatar position
rot = avatar rotation
crot = camera rotation
R_PI = 0.0174532925
cameraradius = camera's distance from player.

cpos.X = pos.X + cos(rot.Y*R_PI) * -cameraradius;
cpos.Y = pos.Y - sin(crot.X*R ...
by Spanky
Wed Jul 20, 2005 1:15 pm
Forum: Beginners Help
Topic: Head Cam
Replies: 1
Views: 236

Head Cam

forgive the noobness....

Is it possible to attach the first person camera to you models head? If so, can i get some pseudo code on how to go about doing it.

Basically, i want to be able to look around and see my models arms, legs and stuff....

i cant find if anybody else has aked this...

thanks ...