Thanks to all, you really were very kind
Type: Posts; User: giuseppe500
Thanks to all, you really were very kind
very very thanks silence i understand.
But i must place two uniform vars for mesh like color and visible/invisible i must use uniform or places it in another vbo?
There is an index also in a simple...
my idea is to find a scale matrix and do an extrude on the cpu then i can calculate the normals for one time always on the cpu all is static and no more recalculate the normal, is wrong?
thanks Dark Phothon.
Now i start and use the normal drawing for do practicing with vulkan subsequently if i have a low frame rate i try with geometry instancing i saw many examples on...
What are your goal(s) here?
My goal is to limitate the drawing call
Exactly how many extruded parallelograms (parallelipipeds) are we talking about here?
from 100000 to 300000
Naturally the problem is the size of texture but with vulkan can upload more memory?
thanks dark photon for share your experiencing
I reformulates a question.
hello , i have a lot of 2d shapes of 4 point , are always parallelograms
With the extrusion they have 8 points and my idea is to do the extrusion on the cpu, save all...
Yes, there is a camera culling , and i write a max casistic in general i have 100000+- object and the camera not view all objects because a lot of object are culled, but now i have a question: ...
I must create a small opengl 4.3 engine ,where i can find an example or a tutorial for gl files and interop with opencl?
And what version of opencl you advice to me ?
how i can test compatibility...
I have a casistic where i have 500000 objects of different shapes to extrude and draw.
The shapes have at max 16 point.
A first idea is to use instancing and select the shapes that are...
i have this code :
/* Render here */
/* Swap front and back buffers */
is possible to extrude a 2d shape on the gpu on the fly?
because i have a milion of extruded 2d shape and the family of shapes ( the shapes that are not identical) are only 10/20.
I'm thinking to...
Hello , i have a model with 10000 meshes or more.
All the mesh are extruded from a 2d shape , a direction and a depth.
I search to speed up the rendering.
I think to use instancing .
I have at...
where i can found an opengl graphics initialization for opengl 4 without glut and other tools?
I would to create a wrapper in c++ cli for connect it to a c# application.
for now is an...
I must develop a simple 3d opengl es 2.0 model importer from ifc on a mobile tablet.
I would use a my opengl library , but i don't know what is better for rendering of 100 200...
I have some 2d shapes that I would like to extrude for a depth, and the result must be a 3d solid.
The 2d shape is a bidimensional set of 2d vertexes.
How i can create the 3d vertexes ,...
I'm new to trigonometry and math and i'm studing it.
For practice i'm creating a c++ program that gets the points of a line (as input)and calculates the direction or slope of this line(as...
i see your article and i try to use a orthographics projection.
i use glm for that
the vbo points are related to the viewport, is correct?
1)i can create a window of 400 x 400
I use this chunk of code for setup a windows for opengl 3.3:
HWND CreateAppWindow(const WNDCLASSEX &wcl, const char *pszTitle)
// Create a window that is centered on the...
I would use a sort algorithm that works with multiple indices.
For example i would sort based on cx and cy a set of 2d point.
I think to x and y combined in a color and i wish extract the...
How i can adapt a range from x to y to a range from 0 to 1 in glsl?
for example : if i have a x = -20 and a y = 200 how to fit in a 0 to 1 range?
there is an already done function?
I must creating some a4 file image at hight scanner resolution, do the sobel filter in opencl, and visualize the sobel filter result in a windows of qt always in opengl.
1)Is possible do...
I have created a simple 3d engine for my purposes that support texture , vbo ecc....
Now I would create an opengl project that displays scanned a4 documents .
I think to use two triangles...