NEW: Version of face Manipulator Available

Face Database Group Project for Nottingham University Computer Science

NEW: Version of face Manipulator Available

Postby admin » Mon Mar 08, 2010 12:00 am

There is now a new version of the Face manipulation application available, It has the following new features:
• GUI has been added using CEGUI library, the GUI can now be designed using the GUI layout designer which is attached.
• The face can be rendered as a subdivision surface smoothing the overall appearance of the face.
• Some code and lots of display cleanup
Still to be added:
• Better control of the editing
• Possibly better deformation of the mesh
• Layout of the GUI to be added.
• Add Deformation areas
• Other suggestions?

Be aware that this is a debug build so it will be slower than the final release.

The application can be downloaded from the attachment in this post, Source code will be available after our meeting on Wednesday at 1:00pm. (So that a full explanation of the additions can be made)
You do not have the required permissions to view the files attached to this post.
Thank you
The management.
admin
Site Admin
 
Posts: 91
Joined: Sat Jan 17, 2009 10:52 am
Location: Haverhill, United Kingdom
Highscores: 15

NEW: Version of face Manipulator Available

Sponsor

Sponsor
 

Re: NEW: Version of face Manipulator Available

Postby admin » Wed Mar 10, 2010 3:40 pm

Source Code is now available. I have added some vague comments if you have any problems/questions post here and i'll reply asap. :)

http://www.germsoft.com/g52grp/Face%20Manipulator.rar (48Mb)
Thank you
The management.
admin
Site Admin
 
Posts: 91
Joined: Sat Jan 17, 2009 10:52 am
Location: Haverhill, United Kingdom
Highscores: 15

Re: NEW: Version of face Manipulator Available

Postby alexmcneil » Wed Mar 10, 2010 7:35 pm

Hey Aaron,

Thanks for uploading the code!

However, I have a problem trying to run the code... I finally got it to build after installing FreeGLUT and CeGUI.

However when I run the project, if I choose "Yes" to run NURBS then the program exits silently, and if I choose "No" to run the Mesh I get the following errors:

Image

I tried moving all the face2* files into the root directory and also Release but that didn't help.

Just wondered if you knew how to fix the errors.

Thanks for any help!,

Alex.
alexmcneil
 
Posts: 33
Joined: Wed Oct 07, 2009 1:52 pm

Re: NEW: Version of face Manipulator Available

Postby admin » Wed Mar 10, 2010 8:49 pm

:roll: Sorry I only included the Debug copy of the SILLY.dll the release copy is attached, you just need to download it and then extract it to the same location at you exe file, (probably the bin folder).
You do not have the required permissions to view the files attached to this post.
Thank you
The management.
admin
Site Admin
 
Posts: 91
Joined: Sat Jan 17, 2009 10:52 am
Location: Haverhill, United Kingdom
Highscores: 15

Re: NEW: Version of face Manipulator Available

Postby alexmcneil » Fri Mar 12, 2010 12:14 am

Hi Aaron,

Ok, thanks, got it to work now (well, earlier on tonight).

Seems I have to append bin/ to all the paths for some reason, seems odd since it definitely is launching the binary from the bin/ folder (as you can see from the Window Title in the error screenshots).

Oh well, at least it's working! Tomorrow and this weekend i'll try and get those sliders working. :)

EDIT: Also got the GUI Editor working! I had to set some paths in the CELayoutEditor.ini file (Just a note of anyone else tries the editor!)

Cheers, Alex.
alexmcneil
 
Posts: 33
Joined: Wed Oct 07, 2009 1:52 pm

Re: NEW: Version of face Manipulator Available

Postby alexmcneil » Sat Mar 13, 2010 3:32 pm

Just a quick question,

Aaron, I've noticed the point picking is a little inaccurate, I've been trying to modify the GetOGLPos function to make it more accurate... is their an easy way to make the picking more accurate ? (From what I can gather you're reading Pixels in 2D from the frambuffer using glReadPixels then converting them into 3D space using gluUnProject... I tried to modify the code I found here (http://www.3dkingdoms.com/selection.html#point) to make it more accurate, but I had no luck, maybe it's of use to you though?)

Also I noticed the point "pulling" is quite jaggedy... Is it possible to smooth the model using subdivision each time a point is modified? (I'm assuming that is what subdivision does from looking at this: http://stevezero.com/eecs/cs294proj2/). I've tried to call the subdivision function on the point, or the whole model (copied the code that was commented out). But it doesn't smooth the model, it still e.g. looks like:

Image

Also, I implemented MouseWheel Zoom, :D.

Thanks for any answers, Alex.
alexmcneil
 
Posts: 33
Joined: Wed Oct 07, 2009 1:52 pm

Re: NEW: Version of face Manipulator Available

Postby admin » Sat Mar 13, 2010 4:08 pm

The point picking is going from the dot in the middle, the value returned from the getGLPos function is the position of this middle dot in the 3d co-ordinate system. the size of the cursor is currently not taken into account and the method used to move the points out in a smooth fashion needs work, in addition to this the co-ordinates are not rotated or translated to match the rotation of the face on screen currently. You will notice that the selection and alteration of points is accurate if you do not move the face at all after loading the application, I will endeavorer to add in these features later today. :)

Good work on the mousewheel Zoom! :)
Thank you
The management.
admin
Site Admin
 
Posts: 91
Joined: Sat Jan 17, 2009 10:52 am
Location: Haverhill, United Kingdom
Highscores: 15

Re: NEW: Version of face Manipulator Available

Postby admin » Wed Mar 24, 2010 5:04 pm

NEW Version with working save/load and gui elements, alex if you could send any modification that you have made so that we are both working on the same code it would be appreciated, thanks :)

http://www.germsoft.com/g52grp/Face%20Manipulator_24_03_2010.rar
Thank you
The management.
admin
Site Admin
 
Posts: 91
Joined: Sat Jan 17, 2009 10:52 am
Location: Haverhill, United Kingdom
Highscores: 15

Re: NEW: Version of face Manipulator Available

Postby alexmcneil » Wed Mar 24, 2010 8:57 pm

Hey Aaron,

Cool! I just tested it, seems good, did you work on the face smoothing yet when you manipulate points?

I've been working on the project, this is a screenshot from a while ago of a slider and callback implemented:

Image

Also I added all the glut input injection code etc for CEGUI (needed to get the slider interaction working).

I'll keep working on the project over the next few days and post updates here.

Finally, did you do any more work on the NURBS surface side of the program?

Thanks, Alex.
alexmcneil
 
Posts: 33
Joined: Wed Oct 07, 2009 1:52 pm

Re: NEW: Version of face Manipulator Available

Postby alexmcneil » Thu Mar 25, 2010 10:13 pm

Hi Aaron,

Here are the modifed files, I haven't included the morphing code since i'm still working on that, and it doesn't really need to be intergrated yet.

I couldn't get the FTP to work so I uploaded them here temporarily:
http://alexmcneil.awardspace.co.uk/temporary/empty.h
http://alexmcneil.awardspace.co.uk/temporary/mesh.cpp

The modifications to mesh.cpp all begin with "// CEGUI:" so just use your preferred text editor to search for them. There are also somepPrintf's just used for debugging since paths we're set incorrectly for me at first so I had to modify them, these can be removed.

Also, Danny, I forwarded the email that Daniel sent today, I belive he has completed the sections he was asked to and I have asked him to upload them to the forum or to post them via the group mailing list.

EDIT: I realised you will also need the layout file (well you can't have code for sliders without a slider :) ) so here it is:
http://alexmcneil.awardspace.co.uk/temporary/main.layout

This goes in "<root-dir>/bin/datafiles/layouts/<main.layout>".

Thanks, Alex.
alexmcneil
 
Posts: 33
Joined: Wed Oct 07, 2009 1:52 pm

Next

Return to CS Group Project

Who is online

Users browsing this forum: No registered users and 0 guests

cron