Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
heres a question... how do you??....
#11
Quote:You have two arrays. Both defined as X,Y,Z. One array is for the World, and the other is for the 3D OBJ's within the world.

So for my question, lets say that...
OBJ(B).X=WorldX(W).X...etc...

It's easy to make OBJ(B).X rotate around the World(W).X axis, way out ther in space, but how do you make point World(W).X rotate around the Camera(Player).X axis, as if you were moving around in a room, while calculating in the fact that there is another 3d OBJ that needs a supplementary angle function?

This is probably vague as hell...
Sorry if I've frustrated anyone! :barf:


Make the player.x/y/z the center of the rotation.

ie:

X=ox-px
y=oy-py
z=oz-pz

rotatehere
Add camera here
X'=x-cx
y'=y-cy
z'=z-cx


Render here
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#12
I too get a 404 =(.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)