> With this SDL, you can then define what "sphere" means but this time it's
> written in the SDL language, not in C. You can define what marble means.
> You can define what fog means. All of these definitions become part of
> the SDL and are included in a library which people can use.
Your idea sounds good in theory. In fact I would also like to see all the
lighting code removed, to be replaced by standard SDL libraries for
diffuse/specular etc. The user is then free to implement their own lighting
models should they wish.
I suppose the SDL would also need to be extended so that users could specify
the ray/shape intersection algorithm - otherwise it's going to be like
making everything out of isosurfaces...
Post a reply to this message
|