Home | How it works | Projects archive | Contact Us
Air Compressor Bot
 
The Career Path of Freelance Programming Jobs 

   Fsaa With Perl Opengl

Bidding Time:
21/06/2008 15:16 - 05/07/2008 15:16
Budget:
$50-100
Status:
Closed


Job Type:
Perl/CGI
Description:



The job is to make a Perl code (win32 POGL) to demonstrate full-scene
anti-aliasing (FSAA). The shorter the code is, the better.
I want FSAA using GPU multisampling. I am NOT interested in antialiasing done on
individual line or polygon (e.g. GL_POLYGON_SMOOTH) [8] or using jittering [4].
If you can't make it work with POGL, then using Perl and SDL would be acceptable
[9]. However, POGL should be able to support multisample, see [5].

[3] suggests that this may be as simple as:
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_MULTISAMPLE);

glEnable(GL_MULTISAMPLE_ARB);
But for whatever reason I am unable to make it work.
Your mission, should you decide to accept it... is to succeed where I failed.
Thank you Mr. Phelps and good luck!

CONFIGURATION & INSTALLATION
*** Software:
1) ActivePerl 5.8
http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.822-MSWin32-x86-280952.msi
2) OpenGL Utility Toolkit (GLUT) Glut 3.7.6
http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip
(move glut32.dll to %WinDir%\System)

3) POGL [5] [6] with ActivePerl 5.8.x (as per [6]
http://graphcomp.com/opengl/index.cgi?v=0111s5m1&r=s3m1)
ppm install http://graphcomp.com/opengl/ppm58/OpenGL.ppd
ppm install http://graphcomp.com/opengl/ppm58/OpenGL-Image.ppd
ppm install http://graphcomp.com/opengl/ppm58/OpenGL-Shader.ppd

*** Hardware:
You need a video card should at least support OpenGL version 1.3 with extension
GL_ARB_multisample.
Once POGL is installed, to know all about your video card, run the following
Perl code:
#!/usr/bin/perl -w
use strict;
use OpenGL qw/ :all /;
# print a descrition of the current OpenGL connection
glutInit();
glutCreateWindow('');
my $version = glGetString(GL_VERSION);
printf "OpenGL version %s\n", defined $version?$version:'?';
my $vendor = glGetString(GL_VENDOR);
printf "Vendor: %s\n", defined $vendor?$vendor:'?';
my $renderer = glGetString(GL_RENDERER);
printf "Renderer: %s\n", defined $renderer?$renderer:'?';
my $extensions = glGetString(GL_EXTENSIONS);
print "Supported extensions:\n* ";
if (defined $extensions) {
local $,="\n* ";
print split ' ',$extensions;
}
__END__

My video card is a GeForce 7600GT and does support OpenGL 2.0.3 with extension
GL_ARB_multisample. The C++ code sample [1] works.

REFERENCES:
[1] http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=46
[2] http://developer.nvidia.com/object/gdc_ogl_multisample.html
[3] “Test multisampling and polygon smoothing”
http://www.koders.com/c/fid4B87ABE0B1F2B4E482E5CE19B0D9E8B5532B03B3.aspx
[4] http://www.cse.msu.edu/~cse872/tutorial5.html
[5] POGL http://search.cpan.org/~bfree/OpenGL-0.56/OpenGL.pod
[6] POGL http://graphcomp.com/opengl/
[7] GLUT for Win32 http://www.xmission.com/~nate/glut.html
[8] Red Book - OpenGL Programming Guide (Addison-Wesley Publishing Company) –
Chapter 7 http://fly.cc.fer.hr/~unreal/theredbook/chapter07.html
[9] http://sdl.perl.org/

Start your work-at-home career for $7.00. Get direct access to thousands of freelance and home-based jobs. Click here to find work now.

Related Projects:
Inquiry Form Processor
Craigslist software
Vbulletin Autoposter
Clone Of A Website
Alphabet Of Nature

This project is the proprietary information of . Click here to remove this project from OUR database.
Operating System:
N/A
Database System:
N/A
<<< back

Recent Projects Archive:

Thursday - Wednesday - Tuesday - Monday - Sunday - Saturday - Friday

View all freelance web projects

 
Home | Projects archive | RSS | Resources | Links | Contact Us © 2004-2008 ProjectsList.biz /0.554