Image format libraries, raytracers and stuff

James Dunne james.jdunne at gmail.com
Fri May 5 09:12:21 PDT 2006


Jarrett Billingsley wrote:
> "Stewart Gordon" <smjg_1998 at yahoo.com> wrote in message 
> news:e3csov$14a3$1 at digitaldaemon.com...
> 
>>Hmm....
>>
>>And I see the other WaveFront format is .mod, which is what the Fortrash 
>>compilers I've used use for module information files.
> 
> 
> I guess when you've got alphanum characters, you can't do much ;)  Of 
> course, there's no real restriction on file extension length, just more of 
> an unwritten agreement that they should be three (or maybe, _maybe_ four) 
> letters long.  Of course, Visual Studio just leaves this rule in the dust 
> with its *.vcproj and such..
> 
> 
>>If the purpose is to write your own renderer, then what part does OpenGL 
>>play anyway?
> 
> 
> Good point.  But like James said, it might use it do just display the final 
> result or something. 
> 
> 

I've checked the source and yes, OpenGL is used only for blitting the 
final raytraced image onto the screen.  GLUT is used for keyboard 
bindings (and optionally mouse functionality but it looks to be disabled 
in the code) and event handling.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O 
M--@ V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e 
h>--->++ r+++ y+++
------END GEEK CODE BLOCK------

James Dunne



More information about the Digitalmars-d mailing list