Posts by Walberti Evaristo • 421 points
13 posts
-
2
votes1
answer95
viewsQ: Depth Test is not working properly in Opengl
I’m having a problem with the Depth Test. I have a scene where it contains three objects. A plane a cube and a cylinder. In my Render I am doing for when rendering the cube it should disable the…
-
0
votes0
answers137
viewsQ: To find a list of classes contained in a C# Class Library using Mono with C++
I’m using C# to script through the project Mono with C++. I’m trying to get a list of all the classes contained in one DLL done on a project C# (which is a Class Library project). But I’m not…
-
0
votes1
answer47
viewsA: How to store the Pxfixedjoint class in a vector
Solved I simply stored the class PxJoint instead of PxFixedJoint. Like PxJoint is an abstract class, I can convert to PxFixedJoint when I want.…
-
6
votes1
answer850
viewsQ: How to "call" a function from a Lua table in C++
I’m trying to "call" a function of a table written in Lua. The problem is that I’m not managing to pass three arguments to this function. When I pass the arguments, it’s as if the Lua skip the first…
-
4
votes1
answer169
viewsA: How to fix rigid "bodies" using Physx
RESOLVED Well, after doing a lot of research, I ended up finding a solution in the documentation of PhysX. What I did was "parenting" (making "son") the object I wanted (which in this case is…
-
2
votes1
answer426
viewsQ: How to debug in Code::Blocks using the VS 2010 Express compiler
I am using the Visual Studio 2010 Express. The problem is that Syntax Highlighting is very weak and the intellisense (feature that shows the attributes of objects in how much "you" type) also leaves…
-
0
votes1
answer47
viewsQ: How to store the Pxfixedjoint class in a vector
I’m trying to store the class PxFixedJoint in a std::vector with the method push_back. But the vector is always empty, simply adds nothing. Down with the code. // C++ // Declaração do vector para…
-
7
votes1
answer169
viewsQ: How to fix rigid "bodies" using Physx
How can I fix two rigid or dynamic "bodies" in a way that where one goes the other goes together as fixed as possible with Physx. I’m using the class PxFixedJoint but I didn’t like it. As you can…
-
2
votes2
answers517
viewsQ: Problem loading file to memory
I am trying to load several files into memory (small file), but the problem is that when I try to load another file soon after, all the files get the same name as the last uploaded file. I am using…
-
5
votes1
answer445
viewsQ: How to apply/search for global/local transformations in Opengl
I am programming a simple Game Engine using the graphical API Opengl. But I have a problem that I can’t solve. The problem is that the transformations in world (world) do not work properly. The…
-
1
votes4
answers1095
viewsA: Why can’t I release memory?
Hello, you can use the following functions. // C++ template <class T> void SDEL(T*& val) { delete val; val = NULL; } template <class T> void SDEL_ARRAY(T*& val) { delete[] val;…
-
4
votes2
answers5586
viewsQ: How to move, rotate or scale an Object on its local axis in Opengl?
Hello, I have a class HTransform which stores a matrix, position, orientation and scale of each object, this class is the base class of each Object or entity. I made one function to move the Object…
-
3
votes1
answer197
viewsQ: How to link a class variable to c++ in lua script?
How do I access and set a class variable made in C++ passes to Lua? // C++ #ifndef SCRIPTSTORAGE_H #define SCRIPTSTORAGE_H #include "HTest.h" #include <luajit/lua.hpp> #include…