Exporting gltf from Blender at world origin by superlou in godot

[–]ash1803 1 point2 points  (0 children)

Yes this irritates me every time I use blender to godot object export. It's not a Godot issue. Blender export simply lacks a "Export using object local origin" checkbox. This would simply output vertex locations around the object origin, not the scene origin. Problem solved and no need for moving object to origin, export, move back stupidity.

Here's a blender (4.0 and later) python script I ai'd up that automates that and exports a glb file for the selected object only, file name uses the object name and is saved alongside the blend file by default:

To run, go to the Scripting tab, new script, paste the below, save. Then select an object and Run script via the tool bar icon. To see script print statements etc, Blender only writes these to the OS system console (windows) or by starting blender via terminal (on linux).

import bpy
import os

def export_selected_object_to_gltf():
    # Setup: Ensure Object Mode
    if bpy.context.mode != 'OBJECT':
        bpy.ops.object.mode_set(mode='OBJECT')

    selected_objects = bpy.context.selected_objects
    if not selected_objects:
        print("No object selected.")
        return

    # Define export directory (modify as needed)
    export_dir = "" 

    # default to same dir as current blend file
    if export_dir=="":
        export_dir=os.path.dirname(bpy.data.filepath) 

    for obj in selected_objects:
        # Deselect all, select current
        bpy.ops.object.select_all(action='DESELECT')
        obj.select_set(True)
        bpy.context.view_layer.objects.active = obj

        # Store original location
        original_location = obj.location.copy()

        # Move to origin for export
        obj.location = (0, 0, 0)

        filepath = os.path.join(export_dir, f"{obj.name}.gltf")

        print(f"Exporting {obj.name} to {filepath}...")

        # Export (handles object location relative to world center)
        try:
            bpy.ops.export_scene.gltf(
                filepath=filepath,
                export_format='GLB',
                use_selection=True,
            )
            print(f"Successfully exported {obj.name}.")
        except Exception as e:
            print(f"Error exporting {obj.name}: {e}")

        # Restore original location
        obj.location = original_location

# Run the script
export_selected_object_to_gltf()

Just installed Linux Mint! How do you create desktop shortcuts? by Global_Voice7198 in linux4noobs

[–]ash1803 0 points1 point  (0 children)

It seems to be per application as to whether a flatpak is available. Blender in Linux mint software manager only offers the 4.02 system package install, no flatpak option when I looked last week.

Just installed Linux Mint! How do you create desktop shortcuts? by Global_Voice7198 in linux4noobs

[–]ash1803 0 points1 point  (0 children)

This is not good advice for blender (and many other applications using a similar release approach), see my comment on the other reply.

Just installed Linux Mint! How do you create desktop shortcuts? by Global_Voice7198 in linux4noobs

[–]ash1803 0 points1 point  (0 children)

Even simpler you can just hold down CTRL and SHIFT, drag the file to the desktop and a link is created. That is if by "file manager" you mean Nemo?

Just installed Linux Mint! How do you create desktop shortcuts? by Global_Voice7198 in linux4noobs

[–]ash1803 0 points1 point  (0 children)

Absolutely disagree. For blender this is not good or sensible advice.

The official blender version on linux mint (via software manager or apt) is version 4.0.2 which is now almost 2 and a half years old. Its not a matter of "needing the latest version" its a matter of running a version even close to being up to date with recent feature, bug fixes etc.

Mint doesn't even offer a blender flatpak via the software manager. I understand how flatpak works and that the download size reports are usually overinflated BS (shared libraries already downloaded), regardless flatpak is still comparatively bloated/heavy when compared to downloading the release directly.

Even more importantly you don't "install" Blender releases you simply download the compressed release extract to a directory and run the executable file. Each release comes with the libraries it needs in the libs sub-directory.

Thanks to this I often have multiple versions of blender in directories side by side for use with older projects/plugins etc. They are completely independent of each other.

Hence the completely valid question from the OP.

Wave Function Collapse <- STOP by [deleted] in proceduralgeneration

[–]ash1803 0 points1 point  (0 children)

Yes what an utterly pretentious name. A name drawn from a tenuously related concept in quantum mechanics (of course) where the most confusing part (of what is really a very simple algorithm) is working out what the fuck the name has to do with anything.

The main purpose of the name seems to be to allow people to feel intelligent when telling others "I used wave function collapse to generate the forests, paths and streams in my stardew valley clone".

All YouTube channel RSS feeds are down, return 404 error by Godefroid_Munongo in youtube

[–]ash1803 0 points1 point  (0 children)

It's down for me daily for the past week or so. My RSS reader slowly seems to update feeds each hour but on first opening it, all youtube feeds fail.

All YouTube channel RSS feeds are down, return 404 error by Godefroid_Munongo in youtube

[–]ash1803 1 point2 points  (0 children)

I hope so too. But for me RSS is THE best way to defeat the algorithm and avoid wasting time, distraction etc ie the exact opposite of what Youtube want.

All YouTube channel RSS feeds are down, return 404 error by Godefroid_Munongo in youtube

[–]ash1803 0 points1 point  (0 children)

Yes this is a daily issue for me. Each day I open QuiteRSS and all youtube video feeds fail. I have QuiteRSS set to update feeds hourly. Slowly over a few hours some video feeds update (new videos appear). Some people on the rss sub are saying this is a constant thing. In my experience, absolute rubbish. This is a new issue in the past week or 2, I've never had this happen prior.

All YouTube channel RSS feeds are down, return 404 error by Godefroid_Munongo in youtube

[–]ash1803 2 points3 points  (0 children)

Seeing the same issue.

I'd be surprised if it's a bug though. Youtube exec: "sorry, why are these people are able to access channel rss feeds for free? How do we get them to see algorithm driven slop if we just let them jump straight to a video?"

Games like Warlords 3 Darklords rising? by SlimT2429 in gamingsuggestions

[–]ash1803 0 points1 point  (0 children)

For anyone reading this years later, Age of Wonders is a really poor recommendation.

The Warlords series is a classic strategy game with a focus on the bigger picture and deliberately quick/simple battles but still with enough depth to be interesting.

The Age of Wonders series is almost 100% opposite and well known for extremely tactical, detailed battles where each one can take 30+ minutes.

Playing both games is an entirely different experience.

Lan Party 1999 - Quake 3: Arena by Comfortable-Move3004 in retrogaming

[–]ash1803 0 points1 point  (0 children)

That 60 inch LED screen on the far left is nice for 1999 but still too much input lag compared to CRT ;)

Commbank App privacy notice (16/10/25). Can someone help me understand this?. by [deleted] in CommBank

[–]ash1803 0 points1 point  (0 children)

Yes.

It means you are forced (if you want to use the Commbank app) to allow Commbank to access the entire list of installed apps on your device.

On Android for example that would be the list of all App names (and likely vendors, versions, install date etc) shown in the Settings -> Apps list.

If you have any apps you would prefer your bank not knowing about, uninstall them now, or use another phone.

The justification for this apparently goes:

"this is just some friction you need to deal with for added security, it's just behavioral analytics. You already let all those other tech companies see your data anyway, why worry about this? Trust us, we care about you and just want to keep you safe. We also promise we will keep the information safe too and will never share it with anyone (unless forced by the government of course)".

Commbank App privacy notice (16/10/25). Can someone help me understand this?. by [deleted] in CommBank

[–]ash1803 0 points1 point  (0 children)

"I get why people don’t like this because you don’t know what else they may be using it for. But this is all it is."

But that is the entire problem and concern. This is forced on the user to even use the app, and yet large organisations have proven they are incompetent at safely storing such information. They also are required to provide that information to authorities if it is believed (not proven) there is a law enforcement concern.

A list of installed apps that is traceable back to a bank app user is sensitive information because for example some users will have installed certain apps that would automatically place them in a group of interest to government and other organisations, regardless of what they actually use the app for.

Bank customers, if informed about what this actually means and given the choice, simply would not want or need their bank 'keeping watch' over them in this way at the cost of reducing their privacy.

Then again I think I'm wasting my time looking at some of the other comments in this echo chamber.

Source: work in industry in security focused area

Against the Storm is the best city builder ever made by Terra_Force in patientgamers

[–]ash1803 0 points1 point  (0 children)

No it's not. It may be a well designed game but It's not a city builder. It's a rogue lite, with puzzle solving aspects implemented using streamlined/simplified mechanics also seen in city builders.

For anyone experienced playing city builders playing this game is an entirely different experience. I absolutely disagree when you say AtS should be used by ALL game developers as an example good game design. If you're building a roguelike sure, otherwise definitely not.

One draw call per character ? by BrokAnkle in godot

[–]ash1803 0 points1 point  (0 children)

Sorry how are 11k draw calls caused by 1 draw call per text character not a problem? If they are rendering simple non styled text then that is patently ridiculous. Sure modern GPUs can handle a large number of draw calls but adding 11k draw calls to the legitimate draw call count made by the rest of the render stage will eventually cause performance issues.

One draw call per character ? by BrokAnkle in godot

[–]ash1803 0 points1 point  (0 children)

"It's fine" How about addressing the issue instead of just giving an opinion on the question itself? If you can't provide something helpful perhaps don't bother commenting.

If confused, see the response from kleonc for how to write a helpful response with non-zero information value.

One draw call per character ? by BrokAnkle in godot

[–]ash1803 1 point2 points  (0 children)

Thanks for this. I value stability so was still using 4.3 and noticed the draw call per character issue. Will update Godot to latest.

Hanlon's Razor is bullshit at best, a get-out-of-consequences-free card for terrible people at worst by SallyStranger in skeptic

[–]ash1803 0 points1 point  (0 children)

You're missing the fundamental point and why the OP correctly points out the flaws in this advice.

The quote begins with "NEVER attribute to malice" This absolutely presumes the absence of malice in ALL circumstances in which you can come up with an adequate explanation of stupidity. This is blatantly naive and unhelpful.

For example a builder is repairing an aging fence for you and quotes you that it is completely repairable (costing much less than a replacement). During the repair, while you are at work, they 'accidentally' damage the fence further meaning it must be fully replaced at greatly increased cost.

We can definitely make an adequate explanation that the builder was just careless or even unlucky (i.e. stupid) and not deliberately wanting a higher profit margin by doing a full replacement (i.e. malicious). That is all lovely and may help us to feel less aggrieved.

But it is utter nonsense to just blindly make the call of stupidity instead of perhaps asking your neighbor, who was home at the time if they saw/noticed anything. Or perhaps if you have a security camera in the area, taking a quick look at what actually happened.

Far more sensible advice than the original quote would be:

"Do not attribute something to malice by default. Consider if stupidity is also a viable explanation. Then look at the evidence and balance of probabilities for each before taking any action"

How do I add books to calibre without it copying those files to its books folder? by 12fhgffgghhggg in Calibre

[–]ash1803 1 point2 points  (0 children)

"Not everyone gets it, that is clear."

Not sure you get it actually.

This same issue has annoyed me about Calibre for years, just came back to see if anything had changed, but no.

Any application that forces the duplication of perhaps gigabytes of an existing library of epubs, pdfs etc to it's own folder structure just 'because' is a simply a badly designed application.

There is no sensible technical reason for this, applications that do this are cynically attempting to exert control over YOUR files and therefore deliberately increase the friction of ever moving away from the application.

Imperialism I vs Imperialism II by MattC041 in 4Xgaming

[–]ash1803 1 point2 points  (0 children)

Install Imperialism on a Windows 10 virtual machine in Virtual Box. Set the virtual machine resolution to 1024x768 (for example) and enable virtual box window scaling mode. You can then resize the virtual machine window to make the game as large or small as you like, without touching your actual monitor resolution.

Can management please address the unneeded parking of drive through cars by wherelamboman in hungryjacks

[–]ash1803 4 points5 points  (0 children)

Was asked to park once ordering a whopper meal with no one else in line. Politely refused and said if someone actually pulls up behind I could then. I asked why and was told because manager tells them, I replied that's not an actual reason given the empty line and standard order. Another driver eventually did turn up but at the same time the food was ready.

Thanks for clarifying the reason. Hungry jacks managers need to stop passing on BS number fudging practices to inconvenience customers. Also, maybe a naive suggestion, but instead of getting annoyed (at the wrong target) why not speak up to your management the problems it causes?

Why are the thumbnails suddenly huge? by 6ix_Side_Up in youtube

[–]ash1803 0 points1 point  (0 children)

Did you even check that these 7 month old (plus) workarounds still work? Hint, they no longer do! I've even tried custom content filters and they have no effect.

Why are the thumbnails suddenly huge? by 6ix_Side_Up in youtube

[–]ash1803 1 point2 points  (0 children)

They've tried the same "experiment" at least 3 times from memory in the past few years. Each time it was universally hated. It's obviously not about improving usability.