Re: Final attempt regarding core data / opengl...
Re: Final attempt regarding core data / opengl...
- Subject: Re: Final attempt regarding core data / opengl...
- From: Guy English <email@hidden>
- Date: Mon, 12 Sep 2005 14:45:26 -0400
It's impossible to know from the question what you want to do but, certainly, you're not going to hook up an NSArrayController to an NSOpenGLView.
OpenGL is a 3D rendering API with no concept of file formats or object structures. There is no 'opengl' model file format, there is no 'texture' graphics format that OpenGL understands. As far as it goes is describing pixel and (occasionally) vertex formats to the API.
Between your CoreData store and the OpenGL rendering of your data lies a vast and interesting land called 'Application Logic'. You'll need to pull the data out you want out of Core Data and turn it into OpenGL draw commands. What data you pull and how you choose to represent it is where the magic is at.
If you can say what you'd like to use OpenGL for exactly perhaps you'll get more help. For instance there is already at least one good graphing package available.
Take care,
Guy
On Monday, September 12, 2005, at 02:36PM, Andre <email@hidden> wrote:
>Of course it can.
>Just use an OpenGL view, and subclass it!
>You can use Bindings and KVO as well.
>
>On ?? 17/09/12, at 4:45, goessly wrote:
>> Well, In case I've disregarded any written or unwritten rule I want
>> to apologize; and give this question a last try, since there were
>> no answers to my previous postings:
>>
>> Is there a way to connect an OpenGLView to the contents of a Core
>> Data document, in order to display graphical representations of the
>> data contained in the document - like, for example an outlineview
>> does?
>>
>> A "no" or "your question is to bloody stupid to be answered" will
>> suffice, but plz somebody answer...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden