hi i am new to opengl can someone here tell me how to render this 2d shape i want to make curve or arc in 2d in between two lines its a rough sketch i made i tried the internet but could not find much help beacuse their were no specific tutorials of making arcs or curves
I wanted to seperate drawings - different "IDirect3DDevice9Ex" Devices for different purposes.
The problem I have is that Device A is drawing the background and if I add Device B for drawing simple geometricts or even a simple line.. the background turns black but the line is drawn. So I dont really know how to configure device B that it only overwrite the pixels at e.g. destination of the line and not all pixels of device A.
So what are the correct settings to archive the mentioned goal ? (D3DPRESENT_PARAMETERS, Present/Clear)
I assumed that if a shader is computationally expensive then the execution is just slower. But running the following GLSL FS instead just crashes
float x = 0;
float y = 0;
int sum = 0;
for (float x = 0; x < 10; x += 0.00005)
for (float y = 0; y < 10; y += 0.00005)
fragColor = vec4(1, 1, 1 , 1.0);
with unhandled exception in nvoglv32.dll. Are there any hard limits on the number of steps/time that a shader can take before it is shut down? I was thinking about implementing some time intensive computation in shaders where it would take on the order of seconds to compute a frame, is that possible? Thanks.
Beat Spirit is a fun game in the Side-Scroller genre with elements of RPG. You'll have to fight the undead in different locations and under varying conditions. The playroom is generated, so you will always have to wait for something new and different. Earn gold and discover new things! The game is quite hardcore and unusual. Try something new
after a long time I decided to do a "Making Of" for a new character again.
This one is called "The Necromancer" and may be featured in future games.
What do you guys think?
Maybe I will do an additional video for animating the whole thing.