@yantor3d@mograph.social
@yantor3d@mograph.social avatar

yantor3d

@yantor3d@mograph.social

Allegedly Chaotic Neutral

Senior VFX Pipeline TD at Laika

#Python #maya #VFX #OpenUSD #rigging #techArt #ebikes #woodworking

Delete your Script Editor tabs

Opinions are my own.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

yantor3d, to random
@yantor3d@mograph.social avatar

@chewbeccar Oh yeah, I forgot you were on here. I hear congratulations are in order, Senior...

yantor3d, to random
@yantor3d@mograph.social avatar

I think I am the only person in the building still masking at work. Feels like such a futile gesture.

yantor3d, to random
@yantor3d@mograph.social avatar

There is no problem in VFX that can't be solved by telling the director, "no," but this usually creates other problems.

yantor3d, to random
@yantor3d@mograph.social avatar

Non-stick pan? You mean well seasoned cast iron skillet?

yantor3d, to random
@yantor3d@mograph.social avatar

If you ever had to install software using multiple floppy disks, it's past your bedtime.

yantor3d,
@yantor3d@mograph.social avatar

If you've used more than one size of floppy disk in your life, it's definitely past your bed time.

ryanc, to random

Cosmo: In prison I learned that everything in this world, including gender, operates not on reality...

Martin Bishop: ...but the perception of reality.

Cosmo: Posit: People think their gender might a bit off.

Martin Bishop: Consequence: People start to consider transitioning.

Cosmo: Result: Pretty soon they do transition.

Martin Bishop: Conclusion: You can make eggs crack.

Cosmo: [imitates buzzer] I've already done that. Maybe you've heard about a few? Think bigger.

Martin Bishop: Kemi Badenoch?

Cosmo: Yes.

Martin Bishop: Tucker Carlson?

Cosmo: Yes.

Martin Bishop: Elon Musk?

Cosmo: Yes.

Martin Bishop: Entire islands?

Cosmo: I might even be able to crash the whole damn system. Destroy all records of gender. Think of it, Marty; no more cis men, no more cis women, everyone's trans. Isn't that what we said we always wanted?

Martin Bishop: Cos, you haven't gone crazy on me, have you?

Cosmo: Who else is going to change the world, Marty? Greenpeace?

yantor3d,
@yantor3d@mograph.social avatar

@ryanc "I want peace on Earth and good will to all genders."

"We are the United States government, we do not do that sort of thing!"

georgetakei, to random

I don’t know the answer to many of the world’s great problems. But have they tried diverting all power to the forward array? That worked for us often.

yantor3d,
@yantor3d@mograph.social avatar

@georgetakei Nowadays we just eject the warp core. Works every time.

yantor3d, to random
@yantor3d@mograph.social avatar

Pipeline: works exactly as designed and intended
Artist: "It's broken!"
TD: "Did you read the docs?"
Artist: "The what?"

yantor3d, to woodworking
@yantor3d@mograph.social avatar

There are two schools of thought when it comes to using a frame saw.

One is "get good" and the other is "use jigs".

Why not both?

I knocked together a kerfing plane out of scraps (it's unfinished) and bought some cheap lumber to practice on. Next week I'll be re-sawing all the boards.

yantor3d,
@yantor3d@mograph.social avatar

Kerf plane was a bust, but then I remembered that Japanese pull saws have a "back tooth" that makes it easy to kerf a board, if you have a steady hand. Maybe I'll make some fences for common thickness to help keep the line straight, but it worked well enough on a short scrap of 2x4.

yantor3d, to StarTrek
@yantor3d@mograph.social avatar

The people have spoken!

Moopsy!

yantor3d, to random
@yantor3d@mograph.social avatar

One of the newer core devs has asked for an info dump on the pipeline. Gotta admire the courage (or stupidity) of asking an autistic person "tell me everything."

"So..."

yantor3d,
@yantor3d@mograph.social avatar

"The story so far: in the beginning, the pipeline was rewritten. This has made a lot of people very angry and been widely regarded as a bad move."

yantor3d, to random
@yantor3d@mograph.social avatar

Just once, just once, I want a big CGI infantry battle to involve actual formations and tactics, not just two crowd sims running at each other at full speed.

reginasbread, to random
@reginasbread@homo.promo avatar

I'm so tired of teenagers being "the chosen ones" in fiction. please, let a middle-aged woman save the universe! she's seen some shit and dealt with it. she's tired of it all. she doesn't give a fuck. she's angry. she will get this shit done.

yantor3d,
@yantor3d@mograph.social avatar

@reginasbread Sounds like The Owl House. The bright eyed teenage protagonist is throughly disabused of her fantasy of being The Chosen One by the story right away, and the grumpy middle aged woman protagonist has seen (and done) some shit and is ultimately part of the team that saves the world.

yantor3d, to random
@yantor3d@mograph.social avatar

Today's objective, time permitting, is to figure out how to evaluate a USD layer and programmatically remove "inert" prims (which contribute no opinions), ideally without having to traverse the hierarchy several times.

Times like this I wish I had a CS degree because "traverse a tree and prune it based on a predicate in O(1) time" is probably a solved problem.

yantor3d,
@yantor3d@mograph.social avatar

I think this could work: traverse the stage and build a map of whether each prim is "inert" (ignoring children). In reverse depth order, remove active prims and their ancestors from the map. What remains should be inert prims. Remove those prims from the layer.

yantor3d,
@yantor3d@mograph.social avatar

Is this the most efficient way to do this? Fuck if I know.

Will it work? Probably.

Why do it? Because DCCs write out "everything and the kitchen sink" layers and we modify then after to fit our spec, and sometimes that leaves behind empty/inert prims and we want to remove them.

yantor3d,
@yantor3d@mograph.social avatar

@flipsideza A single layer at export time, no need to worry about LIVRPS. And the SdfPrimSpec.IsInert method informs me if a prim spec has no opinions.

flipsideza, to python
@flipsideza@fosstodon.org avatar

What learning path should someone follow if they work in but feel they spend most of their days learning other APIs (controlling them with python) but now wants to start writing stand-alone software at this level: https://github.com/PrismPipeline/QuiltiX

ps. that someone is me 😋 and I am self taught
pps. I have written a self contained app with python & QT but its just a single .py file

yantor3d,
@yantor3d@mograph.social avatar

@flipsideza Given those requirements, run the simulation and print out the events. For example.

Ryan arrives at Coffee Shop at 8:00am
Ryan enters Coffee Shop at 8:00am
Ryan leaves Coffee Shop at 8:15am
Fred arrives at Bookstore at 8:30am, but it's full
Fred gets in line at Bookstore at 8:30am
Fred leaves line at Bookstore at 9:00am
Fred arrives at West Hall at 9:00am
Etc, etc...

/4

yantor3d,
@yantor3d@mograph.social avatar

@flipsideza it may seem simple, but it gives you practice in several areas like: parsing inputs (this was before serialization formats like XML/YAML/JSON), managing state, and doing an event queue. Also a chance to write tests, since all the events of the "game" should be testable in isolation.

There's also a variety of ways to structure the code. Do you go OO, functional, procedural? Is your state mutable or immutable? Etc. /5

yantor3d,
@yantor3d@mograph.social avatar

@flipsideza Sure it's not as sexy as a material authoring node graph mini-DCC, but it lets you focus on the fundamentals, and that's how you learn.

Other things you could do is pick a specific aspect of the pipeline and implement it, like path templating given an asset management model, loading composable configs given a schema, etc.

tl;dr start small, keep it simple, write tests, read Design Patterns by the gang of four.

fuck around and find out.

5/5

yantor3d,
@yantor3d@mograph.social avatar

@flipsideza PS, if you haven't already, check out the pyvideo.org links in my pinned thread: https://mograph.social/@yantor3d/109413390506074424

There's a wealth of information to be found in the PyCon talks, although it skews more towards "how to Python well" than "how to write software at scale", but the lessons are applicable.

yantor3d,
@yantor3d@mograph.social avatar

@flipsideza Everything by Raymond Hettinger and Brandon Rhodes is worth a look; the list just includes the highlights.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines