Recent Changes - Search:

Advanced Graphics 2009

All Pages
All Changes

Login

Finn / Project1Blog

March 10,2009 by finn (link)

Ugh, I just thought of something. For a while I've been struggling to think of a way to figure out the eye position in screen space. Of course, now I just realized that I can just say that it's at the center position with depth 0. I don't know how that didn't occur to me before.

March 10,2009 by finn (link)

For lack of any truly significant progress, I'm uploading a screenshot of a tank with both lighting and SSAO on.

Admittedly, I'm struggling a bit with SSDO. I couldn't come to admit that to myself last week, so I'm now a little concerned. I'll be in contact with the others working on SSDO, but I feel that we are perhaps in the same boat. I'm quite sure I understand the concept correctly, but I'm struggling with the implementation.

March 3,2009 by finn (link)

I'm no longer 100% convinced that I can get a good implementation of SSDO done by Friday.
EDIT:
My first post here was unnecessarily specific. The upshot is that I will be in Minneapolis all day Thursday for a funeral and will not be able to work on my project.

March 2,2009 by finn (link)

I've made my sampling a little smarter and I'm debating making my smoothing smoother, but the Stanford bunny looks pretty good.
I'm also debating whether I want to go to the trouble of putting this on the GPU right now, or getting SSDO working on the CPU. I would expect to get similar framerates to my current SSAO implementation.

February 27,2009 by finn (link)

I added the ability to toggle lighting on and off, then compared no lighting to SSAO with no lighting. I'm also drawing models as white to better see differences.
No lighting.

No lighting, but with SSAO.

February 27,2009 by finn (link)

It's still way too dark, but I have an SSAO implementation on the CPU. There's plenty of room for me to reduce my sampling and I need to come up with a reasonable method for reducing the darkness.
Blender's Suzanne with normal ambient and diffuse lighting.

With no lighting, but SSAO running on the CPU.

February 26,2009 by finn (link)

Yes!

February 25,2009 by finn (link)

I've made things more configurable as you can see on the side bar.

How could I not add this screenshot?

February 23,2009 by finn (link)

Hmm... Not looking very Phongy. I think perhaps the normals for this model are off.

February 23,2009 by finn (link)

Hurray for shaders!

February 21,2009 by finn (link)

As far as I can tell, there is not support for texture coordinates in trimesh whatsoever. Still, I might learn quite a bit from extending the library and I'll take it into future consideration. For now though, I have the code that I got from Brandon and it appears to be working just fine.

February 20,2009 by gleicher (link)
trimesh and texcoords

if you can figure out how to add texcoord reading to trimesh, you could make several people quite happy. (assuming trimesh stores texcoords, so that all that's required is hacking the obj reader/writer. it should probably be an option (since sometimes you don't want the texcoords).

not a priority, but it would be a good public service to make it work, and give the changes back to simon to add in

February 18,2009 by finn (link)
Trimesh doesn't read texture coordinates

As I said in the title, trimesh doesn't read texture coordinates from the model files. So, I've obtained some code from Brandon that reads .obj files, including texture coordinates. I doubt I will need the other fancy features that trimesh provides, but if I do, I'll just take a load-time hit and use both model loaders.

February 15,2009 by finn (link)
Must have been the file...

I imported the file into Blender and exported it as an obj, which eliminated the unwanted triangles. Still, I'm not entirely sure what I'll do if I want to include textures. I would probably need to add them in blender and export as an obj again. I might place textures on the back burner for now.

EDIT:
I just realized that the empty bar on the right looks funny. It's left there from some train (559 project) code so I can add stuff later.

February 15,2009 by finn (link)
Triangle strips drawing funny

So, I went through some trimesh code to figure out how to use their data structures to draw triangle strips. It's drawing my downloaded obj files incorrectly. Just as it did in their mesh_view utility, there are triangles being drawn between points where there shouldn't be any. I'm not sure if they are reading the file incorrectly or if the file doesn't follow the file format. I might need to ask Greg if he observed the same behavior when he used trimesh. I'll find some more free meshes and try it out.

February 13,2009 by finn (link)
Never mind

I now can load meshes. Now I just need to draw the triangles correctly.

February 13,2009 by finn (link)
First Post

So far...

  • Very basic drawing environment complete
  • Trimesh2 compiled in VS2008
  • Still having some trouble loading meshes (STL issue?)
History - Print - Recent Changes - Search
Page last modified on March 10, 2009, at 10:07 AM