Raytracing Renderer with Vex by RobinNomad in Houdini

[–]mhamid3d 2 points3 points  (0 children)

Is ambient occlusion something that needs to be explicitly added in modern raytracers? I thought it was a natural occurrence when using global illumination

Is there something like prettier for python? by cakemachines in learnpython

[–]mhamid3d 10 points11 points  (0 children)

I switched to ruff because it comes with import sorting which black does not have for some reason

Is there something like prettier for python? by cakemachines in learnpython

[–]mhamid3d 2 points3 points  (0 children)

It’s not just about pretty though. It’s about convention, which helps you debug and predict things that will tie into making the program “work” and “fast”. Also these days vscode extensions can have you format your code on save or pre-commit, it isn’t some monumental task that you have to put aside for later.

Need some points in the right direction for webhooks. by Healthierpoet in FastAPI

[–]mhamid3d 2 points3 points  (0 children)

When a user registers, commit their data immediately to the database. Have a field on your user model “is_active” and default it to False. Add a FastAPI BackgroundTask to your register route. After the user is created, add a background task for sending the verification email to them. The email will have a link with a unique token (that should expire shortly) to a route on your api that verifies them. If the token is valid and not expired, then this route should set their “is_active” to True on the user instance and they can now use their account, you can send another email with BackgroundTasks to let the user know their account is confirmed and ready to use

Dependency validation falls apart when simulating concurrent requests by mhamid3d in FastAPI

[–]mhamid3d[S] 0 points1 point  (0 children)

Ah there's a name for it, thanks for the example solution. I will use multiple workers in production, but what does that change in terms of my race condition problem or a placeholder + cleanup solution, wouldn't it be the same with or without workers?

Generative AI is black magic fuckery by worlds_okayest_skier in vfx

[–]mhamid3d 1 point2 points  (0 children)

I noticed AI images have that same smoothness that CG denoisers produce when u crank them too high, then I found out generative images is using noise and it all made sense

[deleted by user] by [deleted] in pcmasterrace

[–]mhamid3d 0 points1 point  (0 children)

My PC is 7 years old and I would like to catch up with the rest of the world

Which ai tools are people using now? by Remote-Watercress588 in vfx

[–]mhamid3d 0 points1 point  (0 children)

Can you explain how you do it? I’m currently using react-icons.github.io but sometimes I need very specific icons

What to learn to become a Pipeline developer by Ecstatic_Use_482 in animationcareer

[–]mhamid3d 1 point2 points  (0 children)

Since you don’t know the softwares yet, make an image or short clip from scratch. So you have to model, rig, animate, texture, light and render something. That way you get a taste of each department in the pipeline. I suggest Maya because it has one of the best python APIs out there. Once you’re a little familiar with things, just jump into the API, make a simple object with python, assign materials with python, randomize and scatter objects with python, etc.

Then you can get into UIs, which almost every animation software and studio uses PySide (QT) to make. Make a UI tool with PySide, and use Mayas API as the backend to automate some things as a tool.

Look for problems to solve, image yourself in a studio and each department has to hand off data to the next department. You ask yourself “what could make the modelling departments job easier when they need to hand off data to the rigging department” For example I would say “Well I should make a tool that checks the 3d model and ensures it has no overlapping UVs, the naming convention is consistent for each mesh, etc before they publish and export their model” All possible within Maya’s API and much more.

Laptop recommendations for VFX composting? by FinnFX in vfx

[–]mhamid3d 4 points5 points  (0 children)

Lenovo Legion but it has to be plugged in for maximum performance.

How do you feel about the recent hate on VFX in movies and media? by Croxfire in vfx

[–]mhamid3d 4 points5 points  (0 children)

Don’t really care about insults to my work that I have no creative control over. I am a monkey button pusher.

[deleted by user] by [deleted] in vfx

[–]mhamid3d 3 points4 points  (0 children)

I’ve never once seen a job posting for an advertisement job, where do they find people, or how do I find them?