Alright, so I decide to implement Vertex and Pixel Shaders using Xith3D and binding the programs in a process that is close to Texture binding.
I fire up netbeans, go to G:\Xith3D\xith3d\src\com\xith3d\scenegraph, create an abstract ShaderProgram class, and then a VertexProgram class that extends it and try to compile it.
Nada, I'm greeted with the following error message
1 2 3 4 5 6 7 8 9 10 11
| G:\Xith3D\xith3d\src\com\xith3d\scenegraph\VertexProgram.java:50: cannot resolve symbol symbol : class ShaderProgram location: class com.xith3d.scenegraph.VertexProgram public class VertexProgram extends ShaderProgram { ^ G:\Xith3D\xith3d\src\com\xith3d\scenegraph\VertexProgram.java:73: cannot resolve symbol symbol : variable super location: class com.xith3d.scenegraph.VertexProgram super.duplicateNodeComponent(original,forceDuplicate); ^ 2 errors |
I scratch my head thinking to myself, maybe I didn't spell the name right? But I wasn't that careless to do such mistake, everything looked and felt just fine, and yet I couldn't compile sh|t.
So I load up Texture2D from the same directory, rename it to TextureTest and made the constructors changes accordingly, compiled just fine. However, trying to declare a TextureTest variable in any other class that is in the same directory would return a cannot resolve symbol error message...
This never happened to me before, and it drives me totally insane.
PS: This is a brand new pc that I built myself
Tool completed with exit code 1