Jump to content

FrancisGroleau

Member
  • Posts

    24
  • Joined

  • Last visited

Awards

This user doesn't have any awards

1 Follower

About FrancisGroleau

  • Birthday Jun 15, 1992

Profile Information

  • Occupation
    Student in Programming
  • Member title
    Junior Member

FrancisGroleau's Achievements

  1. @WoodenMarker I think his school use more Adobe software like PS, Illustrator, DreamWeaver, After Effect and Premiere. So i know AE can use CUDA for acceleration and openCL so i guess the Nvidia Cards are not necessary for this. Since the parts you chosed only cost for total of 974$ should he buy more for more RAM ? or go with a 7970
  2. @WoodenMarker ok i understand the change of cpu because more core > more procecing power > faster rendering ? I guess ? But I don't understand why you changed the GPU. why a 7950 isn't there a way in After Effects to use the CUDA platform, which is on the Nvidia side ? I know the 760 is equals to the 7950 although the one that i chosed had 4gb of ram. does the ram on the GPU matter ? thanks again for your time and your awnser !!
  3. so i've change the power supply and added a ssd : PCPartPicker part list / Price breakdown by merchant / Benchmarks CPU: Intel Core i7-2600K 3.4GHz Quad-Core Processor ($295.97 @ Outlet PC) CPU Cooler: Cooler Master Hyper 212 EVO 82.9 CFM Sleeve Bearing CPU Cooler ($29.98 @ Outlet PC) Motherboard: ASRock Z77 Extreme4 ATX LGA1155 Motherboard ($124.98 @ Outlet PC) Memory: Corsair Vengeance LP 16GB (2 x 8GB) DDR3-1600 Memory ($154.99 @ Amazon) Storage: Samsung 840 Series 120GB 2.5" Solid State Disk ($92.99 @ NCIX US) Storage: Seagate Barracuda 1TB 3.5" 7200RPM Internal Hard Drive ($74.98 @ SuperBiiz) Video Card: MSI GeForce GTX 760 4GB Video Card ($294.99 @ Newegg) Case: Cooler Master HAF 912 ATX Mid Tower Case ($49.99 @ Newegg) Power Supply: Corsair Professional 650W 80 PLUS Gold Certified ATX12V / EPS12V Power Supply ($79.99 @ Newegg) Total: $1198.86 (Prices include shipping, taxes, and discounts when available.) (Generated by PCPartPicker 2013-10-24 22:00 EDT-0400)
  4. @WoodenMarker he's still at school. and the software he use is photoshop, illustrator, autodesk softimage, after effects, première.
  5. then i'll need to change the motherboard to ? because the socket is lga1155 ? any sugestion of a good mobo for quality / feature / price ? and thanks for your reply ! aren't nvidia card better for after effects because of cuda ?
  6. Hi my brother is in multimidia where they do web design and 3d animation and he need a pc. here's what i come up with : CPU: Intel Core i7-2600K 3.4GHz Quad-Core Processor ($295.97 @ Outlet PC) CPU Cooler: Cooler Master Hyper 212 EVO 82.9 CFM Sleeve Bearing CPU Cooler ($29.98 @ Outlet PC) Motherboard: ASRock Z77 Extreme4 ATX LGA1155 Motherboard ($124.98 @ Outlet PC) Memory: Corsair Vengeance LP 16GB (2 x 8GB) DDR3-1600 Memory ($154.99 @ Amazon) Storage: Seagate Barracuda 1TB 3.5" 7200RPM Internal Hard Drive ($59.99 @ NCIX US) Video Card: MSI GeForce GTX 760 4GB Video Card ($294.99 @ Newegg) Case: Cooler Master HAF 912 ATX Mid Tower Case ($49.99 @ Newegg) Power Supply: Corsair Professional 750W 80 PLUS Gold Certified ATX12V / EPS12V Power Supply ($129.98 @ Outlet PC) Total: $1140.87 (Generated by PCPartPicker 2013-10-24 21:17 EDT-0400) he have a budget of around 1k we only need the computer. i'm not quite sure what to choose for cpu between a 8core amd or an intell i7 and maybe go with a professional grade card such as quadro or firepro cards ?? thanks for your replies !! software he use is autodesk soft image, adobe photoshop, after effects, illustrator.
  7. i've fixed my problem it's working now !! here is the final code package francis.groleau.games; import java.applet.Applet; import java.awt.BasicStroke; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Color; import java.awt.Image; import java.awt.Polygon; import java.awt.geom.GeneralPath; import java.awt.image.BufferedImage; import java.awt.image.ImageProducer; import java.util.Random; import javax.crypto.spec.GCMParameterSpec; public class graphics extends Applet implements Runnable { public boolean isRunning = false; private int width, height; private Image offScreenImage; private Graphics offScreenGraphics; private Thread animationThread = null; protected boolean comparaisonFinni = false; protected Polygon polygonTmp = createNewPolygon(); protected Polygon polygonCourant = createNewPolygon(); //number of frame per seconds for instance here it's 30FPS. protected int mFPS = (1000 / 30); public void start() { animationThread = new Thread(this); animationThread.start(); } public void stop() { animationThread.stop(); } public void init() { //Initialized each fields. width = getSize().width; height = getSize().height; offScreenImage = createImage(width, height); offScreenGraphics = offScreenImage.getGraphics(); offScreenGraphics.setColor(Color.black); } public void paint(Graphics pGraphics) { //if the 2 polygon match create a new one if (comparaisonFinni) polygonTmp = createNewPolygon(); //Check if each points are the same if not increment or decrement points for (int i = 0; i < 4; i++) { if (polygonTmp.xpoints[i] < polygonCourant.xpoints[i]) { polygonCourant.xpoints[i]--; } if (polygonTmp.xpoints[i] > polygonCourant.xpoints[i]) { polygonCourant.xpoints[i]++; } if ( polygonTmp.ypoints[i] < polygonCourant.ypoints[i]) { polygonCourant.ypoints[i]--; } if ( polygonTmp.ypoints[i] > polygonCourant.ypoints[i]) { polygonCourant.ypoints[i]++; } //hardcoded .... chhhhh ... tssss if ((polygonCourant.xpoints[0] == polygonTmp.xpoints[0]) && (polygonCourant.xpoints[1] == polygonTmp.xpoints[1]) && (polygonCourant.xpoints[2] == polygonTmp.xpoints[2]) && (polygonCourant.xpoints[3] == polygonTmp.xpoints[3]) && (polygonCourant.ypoints[0] == polygonTmp.ypoints[0]) && (polygonCourant.ypoints[1] == polygonTmp.ypoints[1]) && (polygonCourant.ypoints[2] == polygonTmp.ypoints[2]) && (polygonCourant.ypoints[3] == polygonTmp.ypoints[3])) { comparaisonFinni = true; } } //Doubled buffering to eliminate flickering in the applet offScreenGraphics.clearRect(0, 0, width, height); offScreenGraphics.drawPolygon(polygonCourant); ((Graphics2D) offScreenGraphics).setStroke(new BasicStroke(5.0f, // Line width BasicStroke.CAP_ROUND, // End-cap style BasicStroke.JOIN_ROUND)); pGraphics.drawImage(offScreenImage, 0, 0, this); } public Polygon createNewPolygon() { Random aNumber = new Random(); int x1Points[] = new int [4]; int y1Points[] = new int [4]; for (int i = 0; i < 4; i++) { //set the number in random.next to not exceed your Applet size. You can modify the Applet size in run Configuration x1Points[i] = aNumber.nextInt(600); y1Points[i] = aNumber.nextInt(600); } Polygon lePolygon = new Polygon(x1Points, y1Points, 4); if (comparaisonFinni) { comparaisonFinni = false; polygonCourant = createNewPolygon(); } return lePolygon; } public void update(Graphics pGraphics) { paint(pGraphics); } public void run() { Thread myThread = Thread.currentThread(); //IT'S A WHILE TRUE !!! you could maybe add a button start and set the thread value there but meh... while(animationThread==myThread) { repaint(); try //sets the number of frame per seconds { Thread.sleep(mFPS); } catch (InterruptedException pException) { pException.printStackTrace(); } } } }
  8. Exact ahaha je viens de trouver l'erreur aussi .Le but était de créer deux polygon. Polygon A et Polygon B. Seulement le A est déssiné. les points du polygon A devait se dirigé tranquillement vers leur nouvel position c'est à dire les points du Polygon B mais ça marche à présent merci
  9. i've tried to fix it but it's still sketchy ...
  10. is there anyway to keep the initial indentation because i had to do it manually... well anyways I hope it help ...
  11. Hi. i've made a program in JAVA applets. The program draw a polygon (A) with 4 randomly generated points then it draw another polygon with 4 randomly genrated point (B). After this it compares each points of each ploygon to see if they're the same. if they are not, let say A[0] > B[0] then A[0]--. Until all the points of the old polygon A becomes the new polygon B. then it repeat. So the problem I have is that for some reason the Polygons just keep getting tinnier. Here is my Code : (Sorry my fields are written in french ...) package francis.groleau.games; import java.applet.Applet;import java.awt.Dimension;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.Color;import java.awt.Polygon;import java.awt.geom.GeneralPath;import java.awt.image.BufferedImage;import java.awt.image.ImageProducer;import java.util.Random; public class graphics extends Applet implements Runnable{ public boolean isRunning = false; protected BufferedImage mBuffer; protected boolean comparaisonFinni = false; protected Polygon polygonCourant = createNewPolygon(); protected Graphics2D mGraphics; protected Dimension mDimension; protected int mFPS = (1000 / 9); public void start() { isRunning = true; new Thread(this).start(); } public void stop() { isRunning = false; } public void init() { mDimension = getSize(); mBuffer = (BufferedImage)createImage(mDimension.width, mDimension.height); mGraphics = (Graphics2D)mBuffer.createGraphics(); } public void paint(Graphics pGraphics) { pGraphics.clearRect(0, 0, mDimension.width, mDimension.height); Polygon polygonTmp = new Polygon(); if (!comparaisonFinni) polygonTmp = createNewPolygon(); for (int i = 0; i < 4; i++) { if (polygonTmp.xpoints[i] < polygonCourant.xpoints[i]) { polygonCourant.xpoints[i]--; } if (polygonTmp.xpoints[i] > polygonCourant.xpoints[i]) { polygonCourant.xpoints[i]++; } if ( polygonTmp.ypoints[i] < polygonCourant.ypoints[i]) { polygonCourant.ypoints[i]--; } if ( polygonTmp.ypoints[i] > polygonCourant.ypoints[i]) { polygonCourant.ypoints[i]++; } if ((polygonCourant.xpoints[0] == polygonTmp.xpoints[0]) && (polygonCourant.xpoints[1] == polygonTmp.xpoints[1]) && (polygonCourant.xpoints[2] == polygonTmp.xpoints[2]) && (polygonCourant.xpoints[3] == polygonTmp.xpoints[3]) && (polygonCourant.ypoints[0] == polygonTmp.ypoints[0]) && (polygonCourant.ypoints[1] == polygonTmp.ypoints[1]) && (polygonCourant.ypoints[2] == polygonTmp.ypoints[2]) && (polygonCourant.ypoints[3] == polygonTmp.ypoints[3])) { comparaisonFinni = true; } } pGraphics.drawPolygon(polygonCourant); } public Polygon createNewPolygon() { Random aNumber = new Random(); int x1Points[] = new int [4]; int y1Points[] = new int [4]; for (int i = 0; i < 4; i++) { x1Points[i] = aNumber.nextInt(200); y1Points[i] = aNumber.nextInt(300); } Polygon lePolygon = new Polygon(x1Points, y1Points, 4); if (comparaisonFinni) { comparaisonFinni = false; polygonCourant = lePolygon; } return lePolygon; } public void update(Graphics pGraphics) { paint(pGraphics); } public void run() { while (isRunning) { repaint(); try { Thread.sleep(mFPS); } catch (InterruptedException pException) { pException.printStackTrace(); } }}}
  12. OOP !! c# and java php and sql, html even though i don't consider html as programming. xml, .Net
×