Re: [Plib-users] Buiding Sky using the functions in ssgaSky
Brought to you by:
sjbaker
From: Nick M. <nic...@ds...> - 2004-06-28 04:51:35
|
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 |