Re: Combining OpenGL/Performer with RapidApp

New Message Reply Date view Thread view Subject view Author view

Mr. M.D.R. Prasad - VR Group (mdrp++at++ada.ernet.in)
Mon, 6 Oct 1997 18:00:12 -0500 (GMT)


Hello,

We are doing the same i.e develop GUI with rapidapp and draw in Performer
window in a separate process. Works fine. But, to run this GUI, I think
the host machine has to have the rapid app license. I developed my GUI on
Impact where I had license for rapid app and tried to run the same on an
Indy with out Rapid app license. I see only my Performer Window but not
the GUI.
Is it that, always the end user has to have the rapid app license to use
the application?

Thanks ..

Prasad

On Fri, 3 Oct 1997, BOCCARA Michael wrote:

> Hi,
>
> I just made something today for combining Rapidapp-generated Vk code with my
> Performer program, without all the stuff required in the motif.c example.`
>
> Step 1:
> change the main.C generated file into vkmain.C
>
> Step 2:
> into vkmain.C, change int main(argc, argv) into vkmain(argc, argv)
>
> Step 3:
> insert vkmain.o and all the Rapidapp C file names into your makefile,
> including the vk lib links, etc.
>
> Step 4:
> in the Performer code, just before entering the main loop (with pfFrame),
> call a fork :
>
> extern vkmain(...
>
> vk_pid = fork();
> if(vk_pid < 0)
> ...fork failed
> else if(!vk_pid)
> vkmain(argc, argv)
>
> while(!exit)
> pfSync()
> pfFrame()
> .... etc.
>
>
> And it works !!!
> I just toggled stats using a rapidapp-made widget !
> Both processes communicate in the shared memory arena.
> You can develop your vk things with rapidapp, separately develop your
> Performer program, set a structure in a Shared arena for encapsulating orders
> from vk buttons, and everything goes OK.
>
> It seems so simple, so why wasn't this proposed as a solution for combining
> Motif with Performer ? Is that a bad method ?
>
> Mike
>
> ===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
>

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:04 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.