The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message



Forums
OpenGL 3.3 renderer rewrite - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: OpenGL 3.3 renderer rewrite (/showthread.php?tid=1421)

Pages: 1 2 3 4 5


- joevenzon - 01-28-2011

I did the initial integration of my GL3.3 renderer code into VDrift. It can be enabled by using the -gl3 argument, although right now all it does is render 2d UI sprites... incorrectly (unless your card doesn't support GL3.3, then it falls back to the GL1/2 renderer). Let me know if there are any build problems from me forgetting to check something in....


- skankerror - 01-28-2011

Code:
scons: Building targets ...
    CPP build/ai.o
In file included from src/gl3v/rendertextureentry.h:5,
                 from src/gl3v/rendermodelext.h:6,
                 from include/rendermodelext_drawable.h:4,
                 from include/drawable.h:7,
                 from include/drawable_container.h:4,
                 from include/scenenode.h:4,
                 from include/ai.h:6,
                 from src/ai.cpp:1:
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::SamplerParameteri(GLuint, GLenum, GLint)’:
src/gl3v/glwrapper.h:97: error: ‘glSamplerParameteri’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::SamplerParameterf(GLuint, GLenum, GLfloat)’:
src/gl3v/glwrapper.h:98: error: ‘glSamplerParameterf’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::SamplerParameterfv(GLuint, GLenum, const GLfloat*)’:
src/gl3v/glwrapper.h:99: error: ‘glSamplerParameterfv’ was not declared in this scope
In file included from src/gl3v/rendertextureentry.h:5,
                 from src/gl3v/rendermodelext.h:6,
                 from include/rendermodelext_drawable.h:4,
                 from include/drawable.h:7,
                 from include/drawable_container.h:4,
                 from include/scenenode.h:4,
                 from include/ai.h:6,
                 from src/ai.cpp:1:
src/gl3v/glwrapper.h: In member function ‘GLuint GLWrapper::GenSampler()’:
src/gl3v/glwrapper.h:118: error: ‘glGenSamplers’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::DeleteSampler(GLuint)’:
src/gl3v/glwrapper.h:119: error: ‘glDeleteSamplers’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::BindSampler(GLuint, GLuint)’:
src/gl3v/glwrapper.h:120: error: ‘glBindSampler’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::unbindSampler(GLuint)’:
src/gl3v/glwrapper.h:121: error: ‘glBindSampler’ was not declared in this scope
scons: *** [build/ai.o] Error 1
scons: building terminated because of errors.



- joevenzon - 01-28-2011

My first guess: GLEW 1.5.4 is required for OpenGL 3.3 support. Run "glewinfo" to check your glew version.


- NaN - 01-28-2011

graphics_gl3v.cpp is missing?

GLEW for win32 has to be updated. Is it OK to update to 1.5.7?


- nomoo - 01-28-2011

Seems to be broken under windows :roll:


- joevenzon - 01-29-2011

Yep, I forgot to check in graphics_gl3v.cpp. Doh. It's in there now.


- gianni - 01-29-2011

Hi all!
Compiling in revision 3035 I got this message:

Code:
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [build/rendermodelext_drawable.o] Source `src/rendermodelext_drawable.cpp' not found, needed by target `build/rendermodelext_drawable.o'.
scons: building terminated because of errors.



- NaN - 01-29-2011

Quote:`src/rendermodelext_drawable.cpp' not found
I've updated the Sconscript file, should compile now.


- gianni - 01-29-2011

Yes, it compile. Thanks!


- joevenzon - 01-29-2011

NaN Wrote:I've updated the Sconscript file, should compile now.

I forgot to check in the file. Fixed in R3037, also undid some of the changes you made in 3035 to rendermodelext_drawable.h (which I assume you made to get it to compile with the missing cpp file). Why did you remove the "virtual" tag from drawEnabled?


- portets - 01-29-2011

i have libcurl installed but get:

Code:
You do not have the curl/curl.h headers installed. Exiting.

upon trying to compile.


- joevenzon - 01-29-2011

When you do 'locate curl.h' does it show up in /usr/include/curl/curl.h? You may need to install dev packages.


- NaN - 01-29-2011

Quote:Why did you remove the "virtual" tag from drawEnabled?
Assumed there would be no classes derived from RenderModelExternalDrawable. Else might be a good idea to make the destructor virtual too.


- portets - 01-29-2011

joevenzon Wrote:When you do 'locate curl.h' does it show up in /usr/include/curl/curl.h? You may need to install dev packages.

Code:
/usr/share/doc/python-pycurl/html/pycurl.html

hmm.. ubuntu doesn't appear to have dev packages for libcurl.

i may need to compile libcurl myself?


- fudje - 01-29-2011

portets Wrote:hmm.. ubuntu doesn't appear to have dev packages for libcurl.

Ubuntu package name is libcurl4-gnutls-dev Smile