Re: [Plib-users] Buiding Sky using the functions in ssgaSky
Brought to you by:
sjbaker
From: Michael W. <mic...@ti...> - 2004-06-29 20:16:24
|
Hi Nick, I have tried the sky example and it runs well. The difference in my code is, that the function sky->build(...) is called in a different file as the function sky->preDraw(() . If I'am using the functions init_graphics and redraw of the example sky in my code.Tthe scenery with the sky is rendered then well but in another window than my simulation is running. Where comes the problem from? Best regards ----- Original Message ----- From: "Nick McEvoy" <nic...@ds...> To: <pli...@li...> Sent: Monday, June 28, 2004 6:46 AM Subject: Re: [Plib-users] Buiding Sky using the functions in ssgaSky > Michael Wessels wrote: > > >Hi all, > >with the new function build in ssgaSky I tried to create the sky in my > >simulation. > >The code was compiled and linked with VC++ 6.2 . > >But in the execution of > >sky->preDraw() : > > it runs in the following error > >"Nicht abgefangene Ausnahme in FDS.exe: 0xC0000005: Access Violation" > >at the function > > glDrawArrays ( gltype, 0, num_vertices ) ; > >in > >void ssgVtxTable::draw_geometry () > >{ > >........ > >........ > > glDrawArrays ( gltype, 0, num_vertices ) ; > >........ > >........ > >} > >The parameter num_vertices has the value 0 . > > > >What is going wrong ? > > > > > Weird ! My answer is ... I don't know. :-( > > Have you tried the sky example (/plib/examples/src/ssg/sky/) ? Does it > work ? > > If the sky example code works ... what are the differences with how you > use ssgaSky in your project ? > > Cheers, > Nick > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users |