Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - JeGX

Pages: 1 [2] 3 4 ... 17
22
3D-Tech News Around The Web / Learn 2D/3D graphics programming from scratch
« on: September 26, 2013, 09:27:32 PM »
Scratchapixel is the first complete interactive resource on the web for anyone (beginner or expert) who seeks to learn 2D and 3D computer graphics techniques from the ground up. Follow the link to find out more about who we are, what you will find here and why scratch-a-pixel is the right place for you to learn these techniques.

http://www.scratchapixel.com/

23
3D-Tech News Around The Web / Decyphering the Business Card Raytracer
« on: September 26, 2013, 09:13:07 PM »
Quote
I recently came across Paul Heckbert's business card raytracer. For those that have never heard of it: It is a very famous challenge in the Computer Graphics field that started on May 4th, 1984 via a post on comp.graphics by Paul Heckbert ( More about this in his article "A Minimal Ray Tracer" from the book Graphics Gems IV).

The goal was to produce the source code for a raytracer...that would fit on the back of a business card.

http://fabiensanglard.net/rayTracing_back_of_business_card/

Code: [Select]
    #include <stdlib.h>   // card > aek.ppm
    #include <stdio.h>
    #include <math.h>
    typedef int i;typedef float f;struct v{
    f x,y,z;v operator+(v r){return v(x+r.x
    ,y+r.y,z+r.z);}v operator*(f r){return
    v(x*r,y*r,z*r);}f operator%(v r){return
    x*r.x+y*r.y+z*r.z;}v(){}v operator^(v r
    ){return v(y*r.z-z*r.y,z*r.x-x*r.z,x*r.
    y-y*r.x);}v(f a,f b,f c){x=a;y=b;z=c;}v
    operator!(){return*this*(1/sqrt(*this%*
    this));}};i G[]={247570,280596,280600,
    249748,18578,18577,231184,16,16};f R(){
    return(f)rand()/RAND_MAX;}i T(v o,v d,f
    &t,v&n){t=1e9;i m=0;f p=-o.z/d.z;if(.01
    <p)t=p,n=v(0,0,1),m=1;for(i k=19;k--;)
    for(i j=9;j--;)if(G[j]&1<<k){v p=o+v(-k
    ,0,-j-4);f b=p%d,c=p%p-1,q=b*b-c;if(q>0
    ){f s=-b-sqrt(q);if(s<t&&s>.01)t=s,n=!(
    p+d*t),m=2;}}return m;}v S(v o,v d){f t
    ;v n;i m=T(o,d,t,n);if(!m)return v(.7,
    .6,1)*pow(1-d.z,4);v h=o+d*t,l=!(v(9+R(
    ),9+R(),16)+h*-1),r=d+n*(n%d*-2);f b=l%
    n;if(b<0||T(h,l,t,n))b=0;f p=pow(l%r*(b
    >0),99);if(m&1){h=h*.2;return((i)(ceil(
    h.x)+ceil(h.y))&1?v(3,1,1):v(3,3,3))*(b
    *.2+.1);}return v(p,p,p)+S(h,r)*.5;}i
    main(){printf("P6 512 512 255 ");v g=!v
    (-6,-16,0),a=!(v(0,0,1)^g)*.002,b=!(g^a
    )*.002,c=(a+b)*-256+g;for(i y=512;y--;)
    for(i x=512;x--;){v p(13,13,13);for(i r
    =64;r--;){v t=a*(R()-.5)*99+b*(R()-.5)*
    99;p=S(v(17,16,8)+t,!(t*-1+(a*(R()+x)+b
    *(y+R())+c)*16))*3.5+p;}printf("%c%c%c"
    ,(i)p.x,(i)p.y,(i)p.z);}}

Quote
c++ -O3 -o card card.cpp
./card > card.ppm

24
3D-Tech News Around The Web / AMD R9 290X GPU Specs Revealed
« on: September 19, 2013, 02:20:41 PM »
Quote
With an estimated die-area of 430 mm² (18% bigger than "Tahiti,") the chip physically features 2,816 stream processors (SPs) spread across 44 clusters with 64 SPs each (a 37.5% increase over "Tahiti"). The chip features four independent raster engines, compared to two independent ones on "Tahiti." This could translate into double the geometry processing muscle as "Tahiti," with four independent tessellation units. The memory interface of the chip is expected to be 384-bit wide, based on the GDDR5 specification. Given the way TMUs are arranged on chips based on this architecture, one can deduce 176 TMUs on the chip. The ROP count could be 32 or 48. The chip will feature hardware support for DirectX 11.2, including the much hyped shared resources (mega-texture) feature.

http://www.techpowerup.com/191074/amd-hawaii-r9-290x-gpu-specifications-revealed.html

25
3D-Tech News Around The Web / Taodyne 3D links
« on: September 19, 2013, 11:00:50 AM »

- 3D movie playback: http://www.taodyne.com/shop/en/blog/82-playing-3d-movies

- Point clouds for math equations: http://www.taodyne.com/shop/en/blog/74-lorenz-attractors-with-tao-presentations

- Real-time raytracing: http://www.taodyne.com/shop/en/blog/67-real-time-stereoscopic-raytracing


Et pour les francophones, une petite video sur la réalité virtuelle et son coté philosophique ( zzzz... ):
http://www.dailymotion.com/video/kjMaeJjynlNBbe4Bbwr

26
3D-Tech News Around The Web / This is Linus...
« on: July 15, 2013, 04:34:23 PM »
http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg467322.html

Quote

What the F*CK, guys?

This piece-of-shit commit is marked for stable, but you clearly never
even test-compiled it, did you?

Because on x86-64 (the which is the only place where the patch
matters), I don't see how you could have avoided this honking huge
warning otherwise:

  arch/x86/kernel/traps.c:74:1: warning: braces around scalar
initializer [enabled by default]
   gate_desc idt_table[NR_VECTORS] __page_aligned_data = { { { { 0, 0 } } }, };
   ^
  arch/x86/kernel/traps.c:74:1: warning: (near initialization for
‘idt_table[0].offset_low’) [enabled by default]
  arch/x86/kernel/traps.c:74:1: warning: braces around scalar
initializer [enabled by default]
  arch/x86/kernel/traps.c:74:1: warning: (near initialization for
‘idt_table[0].offset_low’) [enabled by default]
  arch/x86/kernel/traps.c:74:1: warning: excess elements in scalar
initializer [enabled by default]
  arch/x86/kernel/traps.c:74:1: warning: (near initialization for
‘idt_table[0].offset_low’) [enabled by default]

and I don't think this is compiler-specific, because that code is
crap. The declaration for gate_desc is very very different for 32-bit
and 64-bit x86 for whatever braindamaged reasons.

Seriously, WTF? I made the mistake of doing multiple merges
back-to-back with the intention of not doing a full allmodconfig build
in between them, and now I have to undo them all because this pull
request was full of unbelievable shit.

And why the hell was this marked for stable even *IF* it hadn't been
complete and utter tripe? It even has a comment in the commit message
about how this probably doesn't matter. So it's doubly crap: it's
*wrong*, and it didn't actually fix anything to begin with.

There aren't enough swear-words in the English language, so now I'll
have to call you perkeleen vittupää just to express my disgust and
frustration with this crap.

            Linus

27
Quote
Apple’s Macintosh computers are notoriously locked down. In many cases, users can’t even install more RAM or replace a hard drive, let alone swap out a video card or add something extra, like pro audio and video processing hardware.
Frankly, most Mac users don’t care. Apple (rightly) pointed out for years that most customers never upgraded their Macs, so designing for expansion was a waste of space and money. Further, high-speed Thunderbolt ports now allow external add-ons to do some serious work just by plugging in. The days of lazy serial ports are long gone.
But for Mac users who do care, Apple’s Macintosh lineup gets more frustrating with every upgrade cycle – especially now that the venerable Mac Pro is losing its expansion slots (and much more) while assuming the shape of a humidifier.

http://www.digitaltrends.com/computing/mac-pros-is-it-time-to-consider-a-hackintosh/

28
GpuTest / GpuTest 0.5.0 released
« on: July 12, 2013, 01:10:26 PM »
GpuTest 0.5.0 has been released. More information and downloads are available HERE.


30
General / 3D surface plots
« on: July 03, 2013, 03:03:03 PM »

31
Quote
LibreOffice and AMD are working together to create a faster version of the office suite's spreadsheet that will make use of AMD's GPUs within its Heterogeneous System Architecture (HSA) based Accelerated Processing Units (APUs). The work is only just beginning though and there is no timescale for a production release of the software. AMD is joining the LibreOffice Advisory Board as part of the collaboration, sitting alongside Google, Intel, Red Hat, SUSE and the FSF, among others.
At its core, the aim of the work is to take the formulae of Calc spreadsheets, convert them into OpenCL, compile that OpenCL for the GPU and execute those formulae through the GPU. In a typical PC architecture, this would be rather complex because of the difficulty of feeding a large amount of data to the GPU through small memory apertures, but with AMD's HSA, the CPU and GPU have equal access to memory, resulting in an easier environment in which to GPU accelerate applications.

http://www.h-online.com/open/news/item/LibreOffice-and-AMD-to-GPU-boost-spreadsheet-performance-1910393.html

32
3D-Tech News Around The Web / Qt 5.1 released
« on: July 03, 2013, 01:57:17 PM »
Quote
I’m very happy to announce that Qt 5.1 is now available. It has taken us a little more then 6 months since we released Qt 5.0 end of last year. While we originally planned that Qt 5.1 will mainly focus on bug fixing and stability of Qt 5.0, we have actually achieved a lot more. The release contains a large amount of new functionality in addition to numerous smaller improvements and bug fixes. For more information, please have a look at our Qt 5.1 launch page.

http://blog.qt.digia.com/blog/2013/07/03/qt-5-1-released/

33
Quote
The final version of 2013 will also include a few C99 features. Microsoft has long avoided supporting C99, the major update to C++'s predecessor that was standardized last millennium, claiming that there was little demand for it among Visual Studio users. This was true, but only to a point; it's true that many Windows developers weren't especially interested in C99 because they had no good tooling to support it. Open source developers, however, embraced the update, as it makes C a lot less awkward to work with.

After 2013 is released, a CTP will deliver a bunch more C++11 features, with C++14's generic lambdas and return type deduction likely to be included, along with a selection of C++11 features. The remaining C++11 and C++14 features will be implemented in subsequent releases (as will a couple of C++98 features that Visual Studio doesn't quite get right).

Full story: http://arstechnica.com/information-technology/2013/06/c99-acknowledged-at-last-as-microsoft-lays-out-its-path-to-c14/

34
3D-Tech News Around The Web / LLVM 3.3 Released
« on: June 21, 2013, 01:59:36 PM »
Quote
LLVM 3.3 is also a major milestone for the Clang frontend: it is now fully C++'11 feature complete. At this point, Clang is the only compiler to support the full C++'11 standard, including important C++'11 library features like std::regex. Clang now supports Unicode characters in identifiers, the Clang Static Analyzer supports several new checkers and can perform interprocedural analysis across C++ constructor/destructor boundaries, and Clang even has a nice "C++'11 Migrator" tool to help upgrade code to use C++'11 features and a "Clang Format" tool that plugs into vim and emacs (among others) to auto-format your code.

http://blog.llvm.org/2013/06/llvm-33-released.html

35
Quote
Recently, Intel announced the release of the Intel® SDK for OpenCL Applications 2013 with certified OpenCL* 1.2 support on 3rd and 4th generation Intel® Core™ processors with Intel® Iris Graphics and Intel® HD Graphics family. Visual computing applications like content creation, home movies, music, and personal images will benefit from the value of OpenCL general purpose programmability combined with access to the combined power of the CPU and the hardware acceleration capabilities of Intel® Iris Graphics and Intel® HD Graphics to increase performance and improve battery life.

In fact, with the launch of the 3rd generation Intel® Core™ processors, Intel has made it possible for software developers to heterogeneously program both CPU and Intel HD Graphics through the OpenCL* framework.

This article documents lessons learned while accelerating video processing with OpenCL* on the 3rd generation Intel® Core™ processors. Common video effects in a commercial application were optimized with OpenCL, and then evaluated on Intel® HD Graphics 4000. Using OpenCL, key video effects were sped up by as much as 2.3x, and with further tuning for Intel® HD Graphics 4000, additional performance gains of up to 4.3x were achieved.

Many of the lessons learned and documented in this article are also applicable to the new versions of Intel® Iris Graphics and Intel® HD Graphics family.


http://software.intel.com/en-us/articles/accelerate-performance-using-opencl-with-intel-hd-graphics

36
3D-Tech News Around The Web / Making WebGL Dance
« on: June 10, 2013, 03:24:41 PM »
Overview of modern 3D graphics in WebGL:

http://acko.net/files/fullfrontal/fullfrontal/webglmath/online.html

Google Chrome is recommended.

37
GpuTest / GpuTest command line parameters
« on: June 07, 2013, 10:48:00 AM »
GpuTest 0.4.0 command line parameters:
  • /test=<test_name> where test_name = fur | tess | gi | pixmark_piano | pixmark_volplosion
  • /width=<window_width>
  • /height=<window_height>
  • /fullscreen
  • /msaa=<samples> where samples can be 0, 2, 4, 8
  • /benchmark : sets the benchmarking mode
  • /benchmark_duration_ms=<duration_in_ms> : benchmark duration in milliseconds.
  • /no_scorebox : does not display the score box at the end of the benchmark.
  • /no_log_score : does not write score result in the log file at the end of the benchmark.
  • /glinfo : write detailed OpenGL information in the log file

Example (Windows):
Code: [Select]
start GpuTest.exe /test=fur /width=1280 /height=720 /msaa=4 /fullscreen /benchmark /benchmark_duration_ms=60000

38
Quote
Windows 8.1 will advance the bold vision set forward with Windows 8 to deliver the next generation of PCs, tablets, and a range of industry devices, and the experiences customers — both consumers and businesses alike — need and will just expect moving forward. It’s Windows 8 even better. Not only will Windows 8.1 respond to customer feedback, but it will add new features and functionality that advance the touch experience and mobile computing’s potential. Windows 8.1 will deliver improvements and enhancements in key areas like personalization, search, the built-in apps, Windows Store experience, and cloud connectivity. Windows 8.1 will also include big bets for business in areas such as management and security – we’ll have more to say on these next week at TechEd North America. Today, I am happy to share a “first look” at Windows 8.1 and outline some of the improvements, enhancements and changes customers will see.

http://blogs.windows.com/windows/b/bloggingwindows/archive/2013/05/30/continuing-the-windows-8-vision-with-windows-8-1.aspx

39
Quote
Beachfront.iO "needs to service millions upon millions of requests a day, upwards of 5 to 10 thousand transactions per second and do this very reliably," Kuehnl said. "I was looking at different stacks and doing benchmarks to figure out how it would be most productive and most performant … and that's where I came across Go."

The code written in Go performs all the heavy lifting on the back end, including load balancing and choosing which ads to serve up when and where.

"The issue for PHP and even Node.js is obviously you're trapped in a single-threaded situation and what I really wanted was to be able to do a lot of things concurrently," Kuehnl continued. "My options were to go with something like Java, where you have more memory overhead, or I could go with something like Go that was built from the ground up for concurrency and using very modern patterns."

Kuehnl said Go combines those modern concurrency patterns with the "static execution speed of C or C++" but with "a more compositional feel, a script kind of feel. … I started first with the idea of trying to pick the most high-performance modern language, but as I explored it more the beauty of the language presented itself."

http://arstechnica.com/information-technology/2013/05/my-favorite-programming-language-googles-go-has-some-coders-raving/

40
Quote
In March, readers followed along as Nate Anderson, Ars deputy editor and a self-admitted newbie to password cracking, downloaded a list of more than 16,000 cryptographically hashed passcodes. Within a few hours, he deciphered almost half of them. The moral of the story: if a reporter with zero training in the ancient art of password cracking can achieve such results, imagine what more seasoned attackers can do.

http://arstechnica.com/security/2013/05/how-crackers-make-minced-meat-out-of-your-passwords/

Pages: 1 [2] 3 4 ... 17