|
|
Warp escribió:
> Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
>> In the C++ code, each object would have 'trace ray', 'is point inside
>> shape', etc. and a new 'get isosurface function'. Of course it would be
>> impossible or very hard to implement for some objects (like text or
>> julia_fractal).
>
> The C++ core code should go towards a simpler, not a more complicated
> design.
>
> What's wrong in having all those functions for every primitive as a
> simple library of functions?
>
I want the *same* syntax on the SDL to be used as a normal object or as
an isosurface function. Have you seen the IsoCSG library? You need to
rewrite all your objects to use it.
I want to grab a complex CSG object, and use it in an isosurface without
having to rewrite it in another format. Can you do that with "a simple
library of functions"?
Post a reply to this message
|
|