News for hackers. Stuff that matters.
Re:Stable Video Diffusion by epr on Tuesday November 21, 2023 @03:26PM (#38369556)
> you'll describe something and you'll get a full 3D scene, with 3D models, source of lights set up, etc.

I'm always confused why I don't hear more about projects going in this direction. Controlnets are great, but there's still quite a lot of hallucination and other tiny mistakes that a skilled human would never make.

Re:Stable Video Diffusion by boppo1 on Tuesday November 21, 2023 @03:42PM (#38369775)
Blender files are dramatically more complex than any image format, which are basically all just 2D arrays of 3-value vectors. The blender filetype uses a weird DNA/RNA struct system that would probably require its own training run.

More on the Blender file format: https://fossies.org/linux/blender/doc/blender_file_format/my...

Re:Stable Video Diffusion by mikepurvis on Tuesday November 21, 2023 @03:51PM (#38369912)
But surely you wouldn't try to emit that format directly, but rather some higher level scene description? Or even just a set of instructions for how to manipulate the UI to create the imagined scene?
Re:Stable Video Diffusion by BirdieNZ on Tuesday November 21, 2023 @04:19PM (#38370331)
I've seen this but producing Python scripts that you run in Blender, e.g. https://www.youtube.com/watch?v=x60zHw_z4NM (but I saw something marginally more impressive, not sure where though!)
Re:Stable Video Diffusion by bsenftner on Wednesday November 22, 2023 @07:27AM (#38378304)
My god that is an irritating video style, "AI woweee!"
Re:Stable Video Diffusion by mikebelanger on Tuesday November 21, 2023 @09:58PM (#38374178)
Yeah I'd imagine that's the best way. Lots of LLMs can generate workable Python code too, so code that jives with Blender's Python API doesn't seem like too much of a leap.

The only trick is that there has to be enough Blender Python code to train the LLM on.

Re:Stable Video Diffusion by arcticbull on Tuesday November 21, 2023 @10:42PM (#38374499)
Maybe something like OpenSCAD is a good middle ground. Procedural code-like format for specifying 3D objects that can then be converted and imported in Blender.
Re:Stable Video Diffusion by lightedman on Wednesday November 22, 2023 @12:56AM (#38375201)
I tried all the AI stuff that I could on OpenSCAD.

While it generates a lot of code that initially makes sense, when you use the code, you get a jumbled block.

Re:Stable Video Diffusion by regularfry on Wednesday November 22, 2023 @03:32AM (#38376564)
This. I think problem is that the LLMs really struggle with 3d scene understanding, so what you would need to do is generate code that generates code.

But also I suspect there just isn't that much openscad code in the training data, and the semantics are different enough to python or any of the other languages that are well-represented that it struggles.

Re:Stable Video Diffusion by numpad0 on Tuesday November 21, 2023 @11:28PM (#38374718)
It sure feels weird to me as well, that GenAI is always supposed to be end-to-end with everything done inside NN blackbox. No one seems to be doing image output as SVG or .ai.
Re:Stable Video Diffusion by HammadB on Wednesday November 22, 2023 @03:30AM (#38376550)
There is a fundamental disconnect between industry and academia here.
Re:Stable Video Diffusion by maccard on Wednesday November 22, 2023 @06:02AM (#38377656)
Over the last 10 years of industry work, I'd say about 20% of my time has been format shifting, or parsing half baked undocumented formats that change when I'm not paying attention.

That pretty much matches my experience working with NN's and LLM's

Re:Stable Video Diffusion by metanonsense on Wednesday November 22, 2023 @04:11AM (#38376870)
Imo the thinking is that whenever humans have tried to pre-process or feature-engineer a solution or tried to find clever priors in the past, massive self-supervised-learning enabled, coarsely architected, data-crunching NNs got better results in the end. So, many researchers / industry data scientists may just be disinclined to put effort into something that is doomed to be irrelevant in a few years. (And, of course, with every abstraction you will lose some information that may bear more importance than initially thought)
Re:Stable Video Diffusion by fy20 on Wednesday November 22, 2023 @06:35PM (#38386771)
The way that website builders using GenAI work is they have a LLM generate the copy, then find a template that matches that and fill it out. This basically means the "visual creativity" part is done by a human, as the templates are made and reviewed by a human.

LLMs are good at writing copy that sounds accurate and creative enough, and there are known techniques to improve that (such as generating an outline first, then generating each section separately). If you then give them a list of templates, and written examples of what they are used for, the LLM is able to pick one that's a suitable match. But this is all just probability, there's no real creativity here.

Earlier this year I played around with trying to have GPT-3 directly output an SVG given a prompt for a simple design task (a poster for a school sports day), and the results were pretty bad. It was able to generate a syntantically coreect SVG, but the design was terrible. Think using #F00 and #0F0 as colours, placing elements outside the screen boundaries, layering elements so they are overlapping.

This was before GPT-4, so it would be interesting to repeat that now. Given the success people are having with GPT-4V, I feel that it could just be a matter of needing to train a model to do this specific task.

Re:Stable Video Diffusion by Keyframe on Tuesday November 21, 2023 @03:54PM (#38369960)
Scene layouts, models and their attributes are a result of user input (ok and sometimes program output). One avenue to take there would be to train on input expecting an output. Like teaching a model to draw instead of generate images.. which in a sense we already did by broadly painting out silhouettes and then rendering details.
Re:Stable Video Diffusion by guyomes on Tuesday November 21, 2023 @05:00PM (#38370945)
Voxel files could be a simpler step for 3D images.
Re:Stable Video Diffusion by jowday on Tuesday November 21, 2023 @04:47PM (#38370744)
There's a lot of issues with it, but perhaps the biggest is that there aren't just troves of easily scrapable and digestible 3D models lying around on the internet to train on top of like we have with text, images, and video.

Almost all of the generative 3D models you see are actually generative image models that essentially (very crude simplification) perform something like photogrammetry to generate a 3D model - 'does this 3D object, rendered from 25 different views, match the text prompt as evaluated by this model trained on text-image pairs'?

This is a shitty way to generate 3D models, and it's why they almost all look kind of malformed.

Re:Stable Video Diffusion by sterlind on Tuesday November 21, 2023 @05:12PM (#38371119)
If reinforcement learning were farther along, you could have it learn to reproduce scenes as 3D models. Each episode's task is to mimic an image, each step is a command mutating the scene (adding a polygon, or rotating the camera, etc.), and the reward signal is image similarity. You can even start by training it with synthetic data: generate small random scenes and make them increasingly sophisticated, then later switch over to trying to mimic images.

You wouldn't need any models to learn from. But my intuition is that RL is still quite weak, and that the model would flounder after learning to mimic background color and placing a few spheres.

Re:Stable Video Diffusion by skdotdan on Tuesday November 21, 2023 @05:18PM (#38371200)
Re:Stable Video Diffusion by bozhark on Tuesday November 21, 2023 @04:13PM (#38370235)
One was on the front page the other day, I’ll search for a link
Re:Stable Video Diffusion by dragonwriter on Tuesday November 21, 2023 @05:57PM (#38371735)
> I'm always confused why I don't hear more about projects going in this direction.

Probably because they aren't as advanced and the demos aren't as impressive to nontechnical audiences who don't understand the implications: there’s lots of work on text-to-3d-model generation, and even plugins for some stable diffusion UIs (e.g., MotionDiff for ComyUI.)

Re:Stable Video Diffusion by lairv on Tuesday November 21, 2023 @06:23PM (#38372054)
I think the bottleneck is data

For single 3D object the biggest dataset is ObjaverseXL with 10M samples

For full 3D scenes you could at best get ~1000 scenes with datasets like ScanNet I guess

Text2Image models are trained on datasets with 5 billion samples

Re:Stable Video Diffusion by bsenftner on Wednesday November 22, 2023 @07:33AM (#38378356)
Oh, I don't know about that. Working in feature film animation, studios have gargantuan model libraries from current and past projects, with a good number (over half) never used by a production but created as part of some production's world building. Plus, generative modeling has been very popular for quite a few years. I don't think getting more 3D models then they could use is a real issue for anyone serious.
Re:Stable Video Diffusion by senseiV on Wednesday November 22, 2023 @11:43AM (#38381555)
Where can you find those? I'm in the same situation as him, I've never heard of a 3d dataset better than objaverse XL.

Got a public dataset?

Re:Stable Video Diffusion by bsenftner on Wednesday November 22, 2023 @12:29PM (#38382166)
These are not public datasets, but with some social engineering I bet one could get access.

I've not worked in VFX for a while, but when I did the modeling departments at multiple studios had giant libraries of completed geometries for every project they ever did, plus even larger libraries of all the pieces and parts they use as generic lego geometry whenever they need something new.

Every 3D modeler I know has their own personal libraries of things they'd made as well as their own "lego sets" of pieces and parts and generative geometry tools they use when making new things.

Now this is just a guess, but do you know anyone going through one of those video game schools? I wager the schools have big model libraries for the students as well. Hell, I bet Ringling and Sheridan (the two Harvards of Animation) have colossally sized model libraries for use by their students. Contact them.

Re:Stable Video Diffusion by insanitybit on Tuesday November 21, 2023 @07:05PM (#38372511)
I assume because it's still extremely early.
Re:Stable Video Diffusion by eigenvalue on Tuesday November 21, 2023 @09:28PM (#38373883)
I think this recent Gaussian Splatting technique could end up working really well for generative models, at least once there is a big corpus of high quality scenes to train on. Seems almost ideal for the task because it gets photorealistic results from any angle, but in a sparse, data efficient way, and it doesn’t require a separate rendering pipeline.
Re:Stable Video Diffusion by sanitycheck on Wednesday November 22, 2023 @07:50AM (#38378482)
From my very clueless perspective, it seems very possible to train an AI to use Blender to create images in a mostly unsupervised way.

So we could have something to convert AI-generated image output into 3D scenes without having to explicitly train the "creative" AI for that.

Probably much more viable, because the quantity of 3D models out in the wild is far far lower than that of bitmap images.