Show all posts by user
Computer graphics
Page 1 of 4
Pages: 1234
Results 1 — 30 of 111
Breathe deeply. Remain calm. At some point we will receive an exam tutorial letter. This will help us understand what's going to happen.
I've been focussing on the maths for the last little while, especially things like inverting matrices and changing representations etc. It gives me the feeling that I'm in control
by
sirius
-
COS340A
It depends what you want to achieve. If you're not going to ever use computer graphics programming skills, don't take computer graphics. It's hard. I think COS321 is the best "generalist" course to take because you're going to encounter operating system issues no matter what work you do. Cos351 is heavily theoretical. I'd take it only if you're planning to
by
sirius
-
COS3216
I'm hoping we're going to get some kind of examination tutorial, not only for this but for all courses. The way I've approached studying so far is to separate out the maths from the graphics theory, and I'm also treating the OpenGL-specific code separately. The mathematical part is really quite lean (a couple of pages) and not as hard as I thought. I'm guessing we'll
by
sirius
-
COS340A
I second that. This course consists mainly of memorizing hundreds of tiny details and then, presumably, blurting them back out in the exam. The practical knowledge can probably be summarized into 1 page.
by
sirius
-
COS3216
When calculating the cross product of two vectors (u and v) to get a new vector (w), you use the following formula:
wx = vy*wz - vz*wy
wy = vz*wx - vx*wz
wz = vx*wy - vy*wx
Now, my question relates to the calculation of wy. It seems "arse-about-face" to me. Why is it not:
wy = vx*wz - vz*wx
Does anyone understand this? Am I being stupid?
by
sirius
-
COS340A
Well, I finally received assignment 2, but as yet no assignment 3. Since it is impossible to get exam entrance on just the 1st 2 assignments, this is somewhat worrying.
by
sirius
-
COS3114
I got mine ages ago. In fact, I received ass 1 and ass 2 back on the same day, some weeks ago.
by
sirius
-
COS351D
Anyone have any clever strategies for preparing for the exam for this? Are there old exam papers available anywhere? Are we expecting an exam tutorial to give us some guidance? It's a significant amount of work to memorize.
by
sirius
-
COS3216
I confirmed with the lecturer that if you are uploading via the web, you must ONLY include the .dev file and the .cpp file.
by
sirius
-
COS340A
Okay, so now we've done with the assignments, it's time to start revising Does anyone know of old exam papers or pointers to specific things to swot for this? I'm planning to just go through the study guide and make sure I can do all the outcomes for each chapter. Do you think this will be sufficient?
by
sirius
-
COS351D
Er ... problem. Here's part of the upload screen output:
Archive: /tmp/phpqz2JM3
testing: assignment_3_4.dev OK
testing: assignment_3_4.cpp OK
No errors detected in compressed data of /tmp/phpqz2JM3.
--------------------------------------------------------------------------------
Your zip file looks ok - proceeding ...
Problem moving uploaded file to destina
by
sirius
-
COS340A
Okay, based on the instructions, I assume we can submit *only* .dev and .cpp file. Solar.h, globe.bmp, etc can be left out as you have copies of these. That's what I'm going to do, so I hope it is good.
by
sirius
-
COS340A
For the record, I did not use the tcl test client. I just read the tcl code and made a C++ client to do the same thing. I know that sounds like more work, but I figured I could code a C++ client to do the same thing in about twenty minutes, and judging by the way others are struggling to get the tcl client working, looks like my call was a good one.
by
sirius
-
COS3114
It's interesting that I also didn't receive any emails containing links, unless my brain is letting me down.
I did get assistance with this assignment by emailing the lecturers directly though.
by
sirius
-
COS351D
Knoppix is a Linux variant that runs entirely off the CD. No need to install on hard drive. Insert CD into drive. Fiddle with system settings on boot to instruct PC to boot from CD (if it doens't already). Watch Knoppix load. Play.
by
sirius
-
COS3216
You should submit your _impl files (.h and .cc), your server.cc file, your IDL file, and your Makefile. Your Makefile should include instructions to build the other .h and .cc files from the IDL file (it probably already does).
by
sirius
-
COS3114
Exits the program with an error code (1, 2 etc). There is confusion about this stylistically. Most C and C++ programmers return 0 when life is good, and any non-zero value when life is not good. However, this may strike actual humans as counter-intuitive.
by
sirius
-
COS3114
Alternatively, have you actually initialized a the bank variable? Maybe you should post your entire client.cc
by
sirius
-
COS3114
This is probably a scoping error. Whatever your Bank_impl class is called (say, for instance, Bank_impl), you might have to go:
Account_var account = Bank_impl::bank->open("x","y"
by
sirius
-
COS3114
I haven't got my answer in front of me, but I can see straight off that you're going to have a problem with resolution if you use the sentences you've used. The point of resolution is that things have to cancel each other out. I'm going to quickly get the pdf of the assignment and see if I can recreate some examples from the actual question as I doubt I'm going to have ti
by
sirius
-
COS351D
glScalef() would be a good place to start
by
sirius
-
COS340A
It does not, but you can still use quadrics:
http://www.cs.ubc.ca/~alex/FASTRAK/node43.html
by
sirius
-
COS340A
I can. I've already submitted the assignment, can you email me your answer and I'll look into it probably tonight if I get a chance. Not to say my answer is correct though
by
sirius
-
COS340A
Thanks I also found similar info here: http://www.cs.ubc.ca/~alex/FASTRAK/node43.html
by
sirius
-
COS340A
Yes, but how do you texture map if you're using a "black box" routine? The texture mapping thing is really worrying me. In my understanding, you have to specify your texture coordinates for each vertex as you build the object. If you're using a "black box" routine to draw the sphere, you can't do that because you don't have the vertex building code.
by
sirius
-
COS340A
I hacked the code for recursive subdivision of triangles from chapter 6 of the text book, and with minor modifications (and much frustration) it works. Yes, you have to write your own routines. No, glutWireSphere will never draw solid spheres. There is a glut routine called glutSolidSphere that takes the same arguments, but it also uses quads so it won't count if you use it.
A word of war
by
sirius
-
COS340A
I think my GPU is just really fast. What I have found out is that overloading models with mathematical calculations slows and smooths the frame rate. For instance, doing recursive subdivision of triangles for the sun and moon in assignment 3 makes the model spin nice and smooth and easy to see, whereas the original model was spinning so fast you couldn't even see the moon.
by
sirius
-
COS340A
Yes, but there's code in there the is explicitly commented as "Make the earth rotate on its own axis", which it appears to be doing. It isn't rotating once a day, but appears to be rotating once a year. It's also revolving around the sun once a year.
by
sirius
-
COS340A
This is one of the objectives of assignment 3, but unless I'm insane, the code to do this is already in the solar.c file?
by
sirius
-
COS340A
You can leave the account.h file alone. You'll make your changes in account_impl.h and account_impl.cc, assuming that's where your Bank_impl object is declared and defined.
by
sirius
-
COS3114
Page 1 of 4
Pages: 1234