CHAI3DCHAI3D

normal Runtime error on chai3d 3.1.1

More
10 Mar 2016 11:41 #1

Hi,

I was trying to run multidevice example from chai3d 3.1.1. I'm getting a runtime error and compiler always pointing at

cTexture2d.cpp 
at ---> glActivetexture(m_textureUnit)
I dont know what's missing. Interestingly this issue exists only on a particular PC, which is graphically not a demanding one!. It would be a great help if someone can give a suggestion on that.

Thanks!

Please Log in or Create an account to join the conversation.

More
10 Mar 2016 11:49 #2

CHAI3D uses the OpenGL framework to perform 3D graphic rendering. Under the Linux and Mac OS X operating systems, OpenGL drivers are provided by default. If you are using Windows and have installed the operating system directly from a Microsoft Windows Installation CD or DVD, you will need to update your graphic drivers by downloading a fresh copy from the website of your graphics card manufacturer.

If you card is an ATI or an NVIDIA model, you may find a link to their website here:


Note that Microsoft only provides an emulated version of OpenGL using DirectX. Therefore if you are encountering any performance issues with the graphic rendering, OpenGL drivers are among the first things to check.

Please Log in or Create an account to join the conversation.

More
18 Apr 2016 17:46 #3

I did updated OpenGL and graphics driver but experiencing the same issue, I'm wondering by any chance this error is due to OS incompatibility?. This is happening only when I run my application on 32bit Win7!?

Please Log in or Create an account to join the conversation.

More
19 Apr 2016 09:55 #4

Thank you for the note. We will further investigate the problem.

Please Log in or Create an account to join the conversation.

More
19 Apr 2016 14:08 #5

Thank you!. Lately I found runtime error is particularly due to 2D objects; basically I'm getting an exception access violation (0xC0000005) during runtime. And always pointing as mentioned before at CTexture2d.cpp

glActiveTexture(m_textureUnit);

but when I disable images,labels etc., it works!. That makes me so confused.

Please Log in or Create an account to join the conversation.

More
19 Apr 2016 22:52 #6

Are you observing this problem with the 32-bit version of Windows, or the 64-bit?
What 2D object are you exactly disabling/enabling?

Please Log in or Create an account to join the conversation.