Page 2 of 2

Posted: Sat Oct 17, 2009 5:46 pm
by MasterGod
Can you upload a binary of your code please?
I can't compile stuff on this computer and I'd really like to see it running..

Thanks!

Posted: Sat Oct 17, 2009 5:50 pm
by Lonesome Ducky
Of course, but it'll be a day or two before I have progress to show. My old code worked for randomly collapsing edges but I made a mistake and need to write it again for collapsing based on edge cost.

Posted: Sun Oct 18, 2009 12:25 am
by lymantok
Hi Lonesome Ducky,

I had a chance to compile and code and would love to see you continue this work!

Thx!

Posted: Sun Oct 18, 2009 6:14 pm
by lymantok
Hi Lonesome Ducky,

I tried using another .obj model rather than the albatros. I ran into a problem here:

Triangle *tri = new Triangle(Verts[x][indices[y]],Verts[x][indices[y+1]],Verts[x][indices[y+2]]);

I checked DefaultMesh->getMeshBufferCount() and it's 1 for the albatros and 14 for my model.

The following arrays are defined to 8 elements. Can you tell me the significance of 8?

array<Vertex*> Verts[8]; // What is significance of 8?
array<Triangle*> Tris[8];

I changed this to 15 for my model (vgr_heavymissilefrigate) and the code runs and the model is displayed.

Thx!

Posted: Sun Oct 18, 2009 6:59 pm
by Lonesome Ducky
Nope, no significance for 8 at all, just thought it would be a good number. :lol: But all these problems will be fixed in my new code, I'm writing it to create as many mesh buffers as the beginning mesh has, recalculate the normals, remap the uv's, and collapse based on edge cost. I'll probably have a basic demo here on monday.

Posted: Tue Oct 20, 2009 1:56 pm
by Lonesome Ducky
And a delay, sorry :lol: I've got a big assignment in my class, so I'll probably be able to start again Wednesday. And considering I'll have to change my code to deal with duplicate vertices, I plan on a basic release this weekend.

Posted: Sun Apr 24, 2011 9:13 pm
by TCM
Any new updates on this?

Looking forward :D

Posted: Tue Apr 26, 2011 9:23 pm
by Lonesome Ducky
I may reboot this sometime, but it'll have to be around June. I have some important tests coming up and a few other projects, so I won't have time for this until then. Thanks for the interest though :wink:

Posted: Tue Jun 07, 2011 12:28 pm
by jow8s
i also looking forward to your implementation of CLOD