Civax Personal Homepage
A   P E E K   I N T O   A   M I N D


Civax Personal Page
     Programming


This page holds links to programs I code. Mainly Computer graphics related and exercises I do for different courses in university. I'm not going to put every little code here, nor "experiments". This page is for finished, serious code. Well. Mostly. :)


     Computer Graphics


I'll put some more stuff here later.

  
  • OBJ Reader
        Parsing 3d objects files (alias|wavefront old format). MSVC++.

  • Basic GLUT program
        Basics of GLUT demostrated. drawing a triangle on screen, changing it's colors randomly, background colors change (pastel shades), use of mouse to move it, scale it or leave a trail. C++ source and executable. Basically for linux, can recompiled on windows.

    3D Perspective camera
    Basically a solution for this exercise. Reads a file describing a perspective projection camera parameters, As well as a list of objects (meshes - bundles of polygons forming together a geometrical shape). Each object comes with three transformations: Translation, Rotation, Scaling. Each mesh will be drawn on the window as if it was seen through the given camera + it had gone through its transformation. Uses depth testing in order to deal with occlusions. C++ course code and executable, basically for linux, can recompile on windows.

    Language: C / C++ (OpenGL)
    size: 236 Kb
    Keywords: opengl, 3d prespective, glut, parser, transformations


    Dump TGA v1.0
    I had an openGL program I wanted to make an avi of, so I wrote this code. This little code will allow you to dump a frame from the screen into a targe image file (lossless). If you'll dump each frame you'll have a sequence of images you can turn to avi using Emil Mikulic's tga2avi (local mirror). C++ source code and executable, linux / windows. A readme.txt inside will explain everything.

    Language: C / C++ (OpenGL)
    size: 4 Kb
    Keywords: targa, opengl, tga, image, save, frame, animation




  •      Seminar Presentations


    if you do not have PowerPoint Installed you can download a Free PowerPoint Viewer from Microsoft.

    Presentations of academic papers I've done for seminars. I do not offer those for download here, since I want to know who gets them and for what, but you can email me and are most likely get it attached with the replay (my presentations are around 2 MB usually). However, my presentations includes movies that I cannot share for copyright issues.

      
    email me if you want it Large Steps in Cloth Simulation
    My first ever seminar presentation. I did a little lab project on Cloth simulation (with my intention to code a cloth library for games) and chose to present this paper. The algorithem showed in the paper was used for the movie Stuart Little and by David Baraff's advice I've taken ome shots off the movie to demonstrate the outcome. I presented it at 2001 in the Geometric Modeling and Computer Graphics seminar. It shows the basic of making of cloth very good, but the later slides are less good.

    Presenting the paper: Large Steps in Cloth Simulation
    by: David Baraff and Andrew Witkin, CMU (now both at pixar)
    Paper published at: Siggraph 1998 conference
    Keywords: cloth,simulation, constraints, implicit integration, Physically-based modeling


    email me if you want it Structural Modeling of Natural Flames
    The original article discusses the algorithm developed at PDI/DreamWorks for creating the flames system in Shrek. I've presented it at 27/6/2002 in the Geometric Modeling and Computer Graphics seminar. It cannot explain the paper by itself, naturally, you have to SPEAK to explain it, but it does offer a good graphic visualisation of the method.

    Presenting the paper: Structural Modeling of Flames for Production Environment
    by: Arnauld Lamorlette and Nick Foster from PDI/DreamWorks
    Paper published at: Siggraph 2002 conference
    Keywords: fire, flames, physically-based modeling, wind fields, kolmogorov spectrum




         Web Scripts


    For the 3 years CFXweb exists I have written a very big number of scripts, mainly in Perl and PHP. I can't (and won't) list them all here. I'll only present here scripts that are ready for release, properly commented, and of some use to people.

    NewsGrabber 0.6 "Greenfield"
    This is a module for any CMS (such as phpnuke) that knows how to scan a web page of any site, grab the news from it and add them toy your site. The module is able to process any site which he got a profile of. Profiles are very easy to write yourself and some working ones - as well as an example profile - are provided in the package. It's fast, It's free and it's modular. It will also soon support PostNuke and maybe some other CMSs. Also, it's very easy to change it to fit ANY system - even something you wrote yourself. This script was tested and ran successfully as an admin module on phpnuke 6.5 - 6.9.

    Make sure to read the readme.txt carefully. I take no responsibility for any actions done with this script.

    Changes from version 0.5
  • Major change - Script can now scan MULTIPLE sites in a queue.
  • Script can now plug into different CMSs, not only php-Nuke.
  • Look and feel improvments.


    Comments? Questions? Need Help? Download Profiles? Over Here.

    Language: PHP (no additional SQL tables)
    size: 29 Kb
    Keywords: news, parser, export, import, news exchange, cms, rss


  • phpNuke 6.5 Download Module Modification
    Modified version of the downloads module of phpnuke 6.5. You can now set the look of each file entry using an external HTML template, add images to your files etc. Does not require any sql changes. Just replace your files with these ones. Read the README.TXT !!

    Language: PHP
    size: 24 Kb
    Keywords: downloads, phpnuke, modification, image, templates


    NuCalendar 0.61 Extended
    Extending the phpNuke NuCalendar 0.61 Module. Addes results, sponsors, Logo/Image, Country, Event Website and Event Price fileds to each event. Still - all these are optional and can be turned on and off from the config file added. Hopefully all these changes will be added to the official released of NuCalendar 0.62.

    Language: PHP (SQL changes included)
    size: 6 Kb
    Keywords: phpnuke, nucalendar, events, extended




         Java


    Source code of exercises for the Introduction to Java course.
    These are here for, well, the use of someone... ;)

      
  • Ex2 - Formal Description
        Contains: Simple Sort, Quadratic eq. solver.
      
  • Ex3 - Formal Description
        Contains: Summing a mathematical progression, Printing Divisors,
        Printing a multiplication table,
        Printing a triangle of characters,
        Printing an empty square of characters.
      
  • Ex4 - Formal Description
        Contains: A Soldier class, a Dice class with a Probablity calculation for resutls,
        a Fraction class with a PI Approximation example.
      
  • Ex5 - Formal Description
        Contains: Interface versus implementation - The IPoint and ITrapezoid classes
        Implementing an algebric vector - class AlgebraicVector, and testing it.
      
  • Ex6 - Formal Description
        Contains: Implementation of a Matrix class, using the AlgebraicVector implemented in ex5
        and Testing it, EquationSolver - Solving a set of linear equations using Gauss Elimination



    Other Java Stuff
    • Triangles - (Output Image)
      This program finds the type of triangle according to user input. The user enter the length of each edge and the computer will tell what a triangle it is.
      Types handled: equilateral triangle (All edges same size), isosceles triangle (2 of the edges are same size) and sceles triange (Each edge a different size).
      -- Uses javax.swing.JOptionPane
    • Matrix Array - (Output Image)
      Creates a double array of 5x5 (matrix), Fills it with random numbers, finds the largest number in each row, calculates diagonal sum.
      -- Uses javax.swing.JOptionPane


  •      Others


    Other code I made for different uses and I thing you can find usefull.

      
  • ReExec
        Ever wanted to execute a command or a program every several minutes or seconds? This is a tiny java source code class that will do exactly that. I coded it to run a program that uploads/downloads a certain file to/from cfxweb.


  •      Good Snaps


    Code I want to examine for later use.

      
  • Webcam Source - Visual C++ Full source For webcam handling.
      
  • freeVCR - Visual C++ Full source For webcam & video handling.
      
  • cURL - Executable and full C/C++ source code. This excellent util allows you to transfer files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and a busload of other useful tricks. Both sources and executable are very handy.


  • [ Main Index ]


    Floating Webcam Window

        Home
        About Me
        Friends
        Gallery
        Stuff
        Archives

        Code
          J2ME Links
        Art

        Israeli Cams
        Your Feedback

    I'm trying to see who visit my site. You can help me by giving some details:

    Search entries:

    March 2004
    SMTWTFS
     123456
    78910111213
    14151617181920
    21222324252627
    28293031   


    visitors online ?



    GreyMatter * Online Count



    Email Login

    Password


    New? sign up!
    forgot password?

        New Sciencist
        Lonely Planet
        Lametayel

        Nomad Thoughts (Ohad)
        Balagan (Renata)
        Celestial Blue
        World From Ra'anana (Allison)
        Not a Fish (Imshin)
        Israeli Guy (Gil)
        Where is Raed? (Salam Pax)
        Salam Pax's photoblog
        Ran Leonard
        Little Green Footballs (Charles)
        Letter From Gotham (Diana)

        GlobalAffairs

    Blogs in Hebrew

        Kahol Kehe (Shir)
        Noga (and Fistuk)
        Guy Meirson


    Is my blog hot?
    .


    Israeli Blogs Index

    Listed on BlogShares




    2002 by Civax