Search the web
Sign In
New User? Sign Up
realtime_raytracing · Discuss programming techniques, algorithms and productions related to realtime raytracing, both software or hardware based.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Intel Compiler / Hardware Questions   Message List  
Reply | Forward Message #285 of 314 |
Re: [realtime_raytracing] Intel Compiler / Hardware Questions

Hi everybody,

> Thank you all for the recommendations. I've been spending some time

Yes, let me also use this opportunity to express my gratetude to the
helpful people around here. Ingo: I am looking very much forward to read
your latest paper, it seems like the kind of research I'd like to
conduct during my masters year (as a thesis). =)

[OS independency]
> Unfortunately, my computers are currently all running Windows.

Now that is a shame. =) For cross platform computer graphics, I can
recommend SDL (http://www.libsdl.org/). Quoting from the home page:
"Simple DirectMedia Layer supports Linux, Win32, BeOS, MacOS, Solaris,
IRIX, and FreeBSD". Although I never tried it under anything else than
Linux, I still vouch for it. It is extremely simple to use (exception
handling removed):

SDL_Init(SDL_INIT_VIDEO);
SDL_Surface *screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE |
SDL_DOUBLEBUF | SDL_HWACCEL);
Uint32 *buffer = (Uint32 *)screen->pixels;
buffer[y * 640 + x] = 0xRrGgBb;
SDL_Flip(screen);

This piece of code initializes SDL, opens a window (fullscreen also a
possibility), sets a single pixel, and flips the buffers. =)

> 4) Is there a good profiler I can use with this? (Again, is the
> Windows version better/worse?)

I am using GNU gprof (http://www.gnu.org/manual/gprof-2.9.1/), which
gives me all details I need, and then some. =)

best regards,
Daniel
http://www.cs.auc.dk/~daniel/





Fri Apr 12, 2002 8:22 pm

danielpovlsen
Offline Offline
Send Email Send Email

Forward
Message #285 of 314 |
Expand Messages Author Sort by Date

Thank you all for the recommendations. I've been spending some time reading through all of the old RTRT messages and in particular - Ingo Wald's excellent...
neoakata
Offline Send Email
Apr 12, 2002
1:43 pm

... i'd start with glut. use the glut-functions to open your window and for input handling, raytrace your image into a memory region, and display that as a...
Ingo Wald
wald@...
Send Email
Apr 12, 2002
7:31 pm

... Ok, using the SDL will make this soooooo intricate. This program will compile & run under unix, windows, macos, beos and even playstation 2, and will take...
Sly
tfpsly
Offline Send Email
Apr 13, 2002
9:57 am

Hi everybody, ... Yes, let me also use this opportunity to express my gratetude to the helpful people around here. Ingo: I am looking very much forward to read...
Daniel Povlsen
danielpovlsen
Offline Send Email
Apr 13, 2002
9:58 am

... standard stuff ... With little attention you can easily use vc++ and still code portable stuff... vc's ide is really good, and it have very nice features...
Marco *PaN!* Foco
pan@...
Send Email
Apr 13, 2002
2:31 pm

... though they are also all on my web site, the best place to find them (and any successive papers, which might be written by other people) is on ...
Ingo Wald
wald@...
Send Email
Apr 15, 2002
8:13 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help