Notice: Home alone tonight?
Topic: a 3d camera
+Anonymous A — 4.9 years ago #58,665
hello anyone ever use 2d software creator like unity or frebasic editor? basically programming... i am looking for a way to program a 3d camera, but i dont know how to or if the way i do i correct...
like i am writing a camera with position and angle, having variables like posxyz and rotxyz, and then camera with u and v, and i dont know how to connect thede two elements, with u and v moving along with posxyz and rotxyz in a certain value that is consistent
also defining if object should be visible when in front camera and vice versa? what do i do to avoid object behind me appearing in front of me?
+Anonymous B — 4.9 years ago, 14 hours later[T] [B] #606,853
You can either use Euler rotations, and construct rotation matrices for pitch, yaw and roll, or implement quaternions. Euler rotations are easier but suffer from a problem called gimble lock. Quaternions are more difficult but are the best way to go about it.
First learn what a transformation matrix is though.
+Anonymous C — 4.9 years ago, 2 minutes later, 14 hours after the original post[T] [B] #606,854
All that, and $4.89 plus tax will get you a small coffee at Starbucks.
·Anonymous A (OP) — 4.9 years ago, 14 minutes later, 14 hours after the original post[T] [B] #606,857
@606,853 (B)
> matrix
yeah whats that? it looks hard
@previous (C)
lol?
+Anonymous D — 4.9 years ago, 29 minutes later, 15 hours after the original post[T] [B] #606,860
·Anonymous A (OP) — 4.9 years ago, 2 hours later, 17 hours after the original post[T] [B] #606,867
@previous (D)
this is the polar coordinates?
Start a new topic to continue this conversation.
Or browse the latest topics.