gnu3dkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu3dkit-dev] G3DRenderer.h


From: Gerard Iglesias
Subject: Re: [Gnu3dkit-dev] G3DRenderer.h
Date: Sun, 16 Mar 2003 22:10:15 +0100


On Sunday, March 16, 2003, at 08:44 PM, Philippe C.D. Robert wrote:

But I am not lucky with this current API, it looks to heavy weight, what do you think (to be consequent even the numVerts in the above example should be part of the params dictionary...)?

I don't think so, it is absolutely OK for me, put only the optional parameters in the dictionary.

Sure this is a heavy weight API for the renderer, but Cocoa API shows (compared to other object API) that it is often better to have a class that make a lot of things in place of getting so many classes that you don't where to start...

And it make sense to have the complete low level graphics API in the 'graphic context' classe, here the GI3DRenderer one.

And we can add that the fact to mimic Renderman API, will help people to capture the spirit of our API because thare are some examples on the net :)


On the rib file parser front I am going to implement a solution that will be generic enough to allow specific treatment of the rib file content, one of will be to get a straight and simple 3D scene graph creation.

I intent to make public my work around ANTLR with ObjC and the RIB file format, and I am wondering if we can put the web page I am going to build on the 3DKit site or do I put them on my own site ?

Best regards

        Gerard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]