r/GraphicsProgramming • • Apr 12 '24

Need help finding graph software

0 Upvotes

Hey everyone, sorry if I'm in the wrong sub - my professor asked me to find a software that can generate network graphs by simply putting in information about a network - in this case social networks since we study social science. I have no idea where to even start looking for software like that. He sent me an example and said he would like it if it could even be 3D. I'll attach the image. Please help!


r/GraphicsProgramming • • Jul 02 '15

Problems in Quaternion rotation. (x-post r/opengl)

0 Upvotes

I'm using three vectors which represent every objects forward, right and up.

I'm using quaternion rotation axis-angle formula to rotate the forward vector in x, y and z axis respectively and then updating(transforming) the objects forward, right and up according to the rotation matrix.

However, even after cross checking all the steps I cannot seem to find out why my quaternion calculation is rotating the objects in a weird fashion. Sometimes it is double the required amount and sometimes one of the axis' get flipped completely. I'm logging all the values of the calculation and comparing the resultant in the final line.

Code files: transform.c Rotation function highlighted.

vector.c

Few test logs:

Rotation: 0 in all axes

Rotation: 90 in z axis

Rotation: 90 in y axis

Old Orientations in the test logs are original orientation of the object and new are after rotation of the object. As you can see in the very first where I rotate by 0, instead of old and new orientation being the same, the x and y axis, or the up and right of the object are inverted. I cannot seem to figure out why. Any help will be appreciated.

Edit: Walk through of what I'm trying to do in the code files for easier understanding.

Line 55 of transform.c : start of function which calculates the rotation quaternion and makes the rotation matrix.

Line 57 : I calculate the angles of rotation in radians.

Line 77: I calculate the rotation quaternion in x-axis using axis angle formula.

Line 79: same for y-axis

Line 82: for z axis.

Line 94: multiply the three quaternions in the following order: y * z * x using quat_mul function at line 149 of vector.c

Line 101: convert the vector to be rotated, In my case, the forward vector of the object into a quaternion.

Line 110: multiply the quternion and vector using quat_mul() funtion.

Line 113: multiply the above resultant into the conjugate of the quaternion.

Line 117: convert the above resultant into a rotation matrix using the funtion quat_tomat4 at line 160 of vector.c

Line 135: multiply forward vector with the rotation matrix to get the new rotated forward vector using the vec4_mat4mul() function at line 58 of vector.c.

Line 136 and 137: do the same for right and up.

Line 145 onwards: check my results.


r/GraphicsProgramming • • Nov 18 '21

Question Does anyone know how to make fonts/characters/scripts for the various writing systems of the world?

0 Upvotes

[Update: Thank you to u/the_Demongod for telling me about IME, this is (PROBABLY) the answer I was looking for, but I still welcome any more input I receive on this matter.]

(To make it easier to find the important parts and not waste time, I'll mark the less important things with spoilers so you can avoid them.)

Preface:

I'll preface this by saying, I know nothing about graphics, and I'm not 100% certain this is the right subreddit for this question, but I don't really know what other subreddit might be better for this.

If this is not the right subreddit for this question, I would be grateful beyond what words can describe if someone would be so kind as to point me in the right direction of a subreddit that may be able to help me with this endeavor.

Honestly, even just a name of a field dedicated to the research of writing systems or the creation of type-faces would be helpful, because I'm genuinely so lost when it comes to computers that it's genuinely a daunting task that borders on terror for me to try to figure this stuff out.

====================================================================================

Summary of the questions I'm asking/what I'm looking for:

  • Is there a program which lets you create characters for a writing system independent of any currently existing languages?

    • A program which is installable on a computer is preferable to an online service.

    • A program which has the option to make compound characters like you see in Chinese and Japanese is preferable.

  • Does anyone know how to map out these characters onto a keyboard?

    • Advice given without technical terms is preferable.

    • Program to assist with the key-mapping would be preferable.

    • Video walk-throughs are not-ideal, but appreciated all-the-same.

Note: Free Resources are preferable, Paid Resources less than 50$CAD are manageable.

(Yeah, I know, I'm cheapskate, but in all fairness, I'm also broke, otherwise I'd pay someone to do this for me so that I wouldn't need to bother with it.)

====================================================================================

Context behind making this request:

I am trying to design several different fictional languages for a story I'm writing, and each language will have it's own script following various different writing systems from throughout the world.

I'm wondering if anyone knows how to make fonts/characters for languages that don't exist (ie, it can't be one of those "create your own custom font based on your handwriting" things, as some of these languages will have more than the 58 total characters available in the English language), and whether or not there's any programs, preferably ones that are installable on a computer, that can assist me in doing that.

I would also like advice on how to map them to a keyboard, as the whole point in trying to make a font/script for these languages in to allow me to better insure the uniformity, consistency and expediency of writing, that way I can waste less time drawing each character several hundred times, trying to make sure they look the same as one-another, and more time actually writing what I'm trying to write.

I'll make no secret of the fact that, while not an idiot, I'm also not that smart, so I'd be grateful if you might consider explaining things in lay-man's terms without technical language, that way I stand a better chance of actually understanding what it is you're telling me, as opposed to seeing a bunch of words I don't understand and immediately getting lost.

I'd also appreciate it if someone could point me in the direction of a program which could assist me in doing the key-mapping as, to be blunt, my computer skills are about on-par with a typographer on a type-writer, which is to say, I shouldn't be allowed within 100 metres of a command prompt window, and shouldn't be allowed in the settings window without supervision.

Finally, I don't actually learn very well from instructional videos, ironically enough, and even a step-by-step tutorial can go over my head because my auditory-processing is pretty slow. I obviously would never turn my nose up at any free resources someone can point me towards, beggars can't be choosers, after all, but if possible, I would prefer text-based instructions over video walk-throughs.

====================================================================================

Conclusion:

Thank you for taking the time to look at my request, I am genuinely greatly appreciative towards anyone who can help me get any form of grasp upon how to start moving forward with this step of the long process of writing this story of mine.


r/GraphicsProgramming • • Dec 26 '18

Logic behind Ambient Occulsion

0 Upvotes

I'm looking for information on the logic behind Ambient Occulsion, unless Ambient Occulsion is Horizon Based Ambient Occulsion ? If anyone has any links I would appreciate it.


r/GraphicsProgramming • • Jul 16 '22

Question Fullscreen fragment vs Compute

0 Upvotes

What's your suggestion for lighting pass in deferred shading and why? 🤔

https://twitter.com/GENTS83/status/1547295760999399424?t=aUDbcn3-meGO6zIO1dSYVQ&s=19

66 votes, Jul 23 '22
28 Fullscreen triangle
38 Compute shader

r/GraphicsProgramming • • Apr 20 '15

Draw 2D Text in fixed position on the display in a 3D world - OpenGL

0 Upvotes

I am creating a very simple OpenGL game in C++, with a 3D model moving in a 3D world. I have to put on the screen some 2D text: the camera is constantly following the model and I would like the text to appear in a fixed position with respect to the window.


r/GraphicsProgramming • • Jan 04 '19

Video TBT: When I implemented mipmap for the first time: Textures BEFORE and AFTER Mipmap

Thumbnail
youtube.com
0 Upvotes

r/GraphicsProgramming • • May 18 '23

I made a auto changing world, I think this might be a good concept for a possible game what do you guys think?

Thumbnail
youtube.com
0 Upvotes

r/GraphicsProgramming • • Oct 11 '24

Question How to detect all text in a diagram?

0 Upvotes

Not sure whether this subreddit is the best one for this. (If not please point me to a more appropriate subreddit!)

Anyhow, I have a Mind Map image (PNG file) in which I want to blur programmatically all text, so that the letters are unreadable. All other elements of the Mind Map should remain crisp and clear.

I attach a sample mind map:

To achieve this task I need to find a programmatic way to

  • identify the smallest areas (rectangles) containing continues text in the Mind Map image.

What is a good (CLI-) tool to do so?

Side note: Once I have detected these areas (e.g. as a list of rectangles) the blurring itself is easily done (for example with an ImageMagick script).


r/GraphicsProgramming • • Oct 11 '24

Question Where can I find a tutorial on how to use Freeglut?

0 Upvotes

For now I'd just like the basics like the coordinate system, how to move the camera and how to render a texture.


r/GraphicsProgramming • • Apr 30 '22

Question Why don't many AAA games clear the screen/viewport/window?

0 Upvotes

Does it really help that much with performance?


r/GraphicsProgramming • • Sep 10 '20

[NEED HELP] How to use the source code of PBRT v3 book?

0 Upvotes

Hi,I want to study Physically Based Rendering Book,I downloaded its source code and builded it successfully.But there is a problem that,I can not use the scenes for render.I searched it through net but could not found a solution that how can I render default PBRT scenes.If anyone knows how to use,would be glad if he/she helps


r/GraphicsProgramming • • Aug 21 '20

Turtle is still drawing!

Thumbnail
github.com
0 Upvotes

r/GraphicsProgramming • • Oct 04 '20

Efficient methods to rasterize a scene of connected triangles

0 Upvotes

Assuming I wanted to rasterize a scene of triangles that are all connected that is similar to the image below, what would be an efficient way to do it on a GPU and a CPU? The triangles can be of any size. Names of any methods utilized or any advice is appreciated!

Thanks!


r/GraphicsProgramming • • Dec 11 '24

Question AMD Capsaicin rendering all white

0 Upvotes

Been trying to check out AMD's research toy renderer for GI techniques but I'm not sure if it entirely works? When I run it it just draws all white and nothing else.

Curious if anyone else has tried running this to experiment techniques and have successfully got it running. Once thing I have noticed is that I'm using a RTX 2070 laptop though it seems to always select my integrated GPU and not my dedicated one when running.

https://github.com/GPUOpen-LibrariesAndSDKs/Capsaicin/


r/GraphicsProgramming • • Jan 14 '25

Nirvana 3D: A Graphics engine written on Python with support for PBR rendering and HDRi image-based lighting for both CPU/GPU devices and a lot more!

Post image
0 Upvotes

r/GraphicsProgramming • • Jun 18 '20

Question Question about what's causing my window to "alternate" between two states, more in comments

Post image
0 Upvotes

r/GraphicsProgramming • • Jun 05 '20

Manual exposure and physical light unit problem! (overexposed image)

0 Upvotes

Hello guys,

Edit: I just noticed that my post doesn't make a lot of sense so I will try and sum it up in fewer words

So basically I'm trying to validate the exposure calculations for the "manual mode" of my camera by using physical units for the sun and using the sunny 16 rule, by making the sun 100000 lux ( the intensity of the sun in a clear day at noon) and setting up the camera properties as shown in the image, the scene should be normally exposed, so I'm quite lost as to why it is overexposed and if there was anything that I missed. thank you

Original post :

so I'm building a 3d renderer and currently using OpenGL, I'm trying to implement manual camera exposure and HDR/Tonemapping, and I followed this great course and I implemented the code in my engine, right now I'm rendering the scene to an off-screen texture and applying the post-process calculation by simply applying the calculations of the exposure based on the camera parameters, and then applying the filmic tone mapping and finally the gamma correction, as you can see the resulting image is way overexposed

I'm I doing something wrong? , I'm quite new to graphics programming.


r/GraphicsProgramming • • Sep 20 '26

ShadeNet-3.2 5M — single-image inverse rendering (albedo/depth/normal/shading), 4× smaller than my last model and better at depth/normals

Thumbnail gallery
0 Upvotes

r/GraphicsProgramming • • Jun 11 '25

Does AMD pro a4-4350b r4 5 compute cores 2c+3g 2.50 ghz supports vulkan renderer?

0 Upvotes

Hi guys,

I have Lenovo E41-25 laptop with AMD Radeon (TM) R4 graphics (integrated). My graphics driver version is Radeon Adrenalin-22.6.1 which is up-to-date. When I open AMD control center it shows Vulkan driver version 2.0.179 & Vulkan API version 1.2.170.

I installed PCSX2 2.0.0 version. It shows Vulkan renderer in renderer section but while running game it flags "Failed to create render device. This may be due to your GPU not supporting the chosen renderer (Vulkan), or because your graphics drivers need to be updated".

Please help.

Thank You.


r/GraphicsProgramming • • Jul 21 '26

Looking for Career Advice, Direction

0 Upvotes

Hello, my fellow graphics enthusiasts, apologies for another one of these posts. I'm in a tricky place in terms of my career. I recently graduated from university for computer science, with an embedded/backend systems internship and robotics research. I have been doing computer graphics for about 2 years on/off, recently finishing a graphics class using WebGL in JavaScript while working on my Vulkan project: https://github.com/mukarramarif/MukkiGamesEngine/tree/main
Currently, I have been applying to general SWE roles as well as anything related to 3D Graphics I could find, with a few 3rd and 4th rounds with no luck. I have honestly been tired of job searching since last September. One option I had was to do a master's, but my university doesn't do graphics, while most of the US universities have applications closed.
Any advice would be appreciated, especially on my portfolio.


r/GraphicsProgramming • • 15h ago

Question Are-Engine SoftwareGPU - Multisystem

0 Upvotes

Wie setze ich eine softwaregpu in Android ein und Umgehen das


r/GraphicsProgramming • • Aug 28 '24

Diffusion models are real-time game engines

Thumbnail
youtu.be
23 Upvotes

Paper can be found here: https://gamengen.github.io


r/GraphicsProgramming • • Dec 27 '22

Article Optimizing Unity Projects by Removing Additional Cameras

Thumbnail
agentlien.github.io
2 Upvotes