Barycentre gas giants one with ammonia-based life and the other with water based life
πŸ‘︎ 64
πŸ’¬︎
πŸ‘€︎ u/Adari2
πŸ“…︎ Feb 15 2019
🚨︎ report
Looking for translation [French] -> [English] about something called "le barycentre"

Google translator says "the Center of Gravity", turns out that it not what i'm looking for

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/jack_issa
πŸ“…︎ Apr 07 2018
🚨︎ report
Everything orbits a centre of mass (Barycentre) and the Sun plays a tug of war with the Sun. Credit: Dr. James O Donoghue (@physicsj on Twitter) v.redd.it/tf0jfu0im6w41
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/Honeybadger-0-
πŸ“…︎ May 01 2020
🚨︎ report
Barycentre (Mono No Aware) Version I, Oil on Canvas, 150 X 120 cm louissavage.com/blog/2016…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/louissavage
πŸ“…︎ Sep 14 2016
🚨︎ report
[Debunking bad science] The barycentre strikes back quantpalaeo.wordpress.com…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/lucy99654
πŸ“…︎ Jul 12 2014
🚨︎ report
Cartesian coordinates to Barycentric coordinates function giving unexpected behaviour

I am trying to see if a point is within a triangle in which it's 3 points are in cartesian space. I used bresenham to outline the coordinates for you, all of that area should be filled with white pixels and that area only. I am using tinyrenderer https://github.com/ssloy/tinyrenderer/wiki/Lesson-2:-Triangle-rasterization-and-back-face-culling as a guideline. I converted his stuff from his setup to mine.

void computeTriangle(Vec2i a, Vec2i b, Vec2i c, TGAImage &image, TGAColor color) {
    //find bounding box dimensions
    int maxX = a.x;
    int maxY = a.y;
    int minX = a.x;
    int minY = a.y;
    
    //max coordinate
    if (maxX <= b.x) {
        maxX = b.x;
    }
    if (maxX <= c.x) {
        maxX = c.x;
    }
    
    if (maxY <= b.y) {
        maxY = b.y;
    }
    if (maxY <= c.y) {
        maxY = c.y;
    }
    
    //min coordinate
    if (minX >= b.x) {
        minX = b.x;
    }
    if (minX >= c.x) {
        minX = c.x;
    }
    
    if (minY >= b.y) {
        minY = b.y;
    }
    if (minY >= c.y) {
        minY = c.y;
    }
    
    minX--;
    minY--;
    maxX++;
    maxY++;
    //bound loop
    for (int pX=minX; pX<=maxX; pX++) {
        for (int pY=minY; pY<=maxY; pY++) {
            Vec3f u = cross(Vec3f(c.x - a.x, b.x - a.x, a.x - pX), Vec3f(c.y - a.y, b.y - a.y, a.y - pY));
            Vec3f bcScreen;
            if (std::abs(u.z)<1) {
                bcScreen = Vec3f(-1,1,1);
            } else {
            bcScreen = Vec3f(1.f-(u.x+u.y)/u.z, u.y/u.z, u.x/u.z);
            }
            if (bcScreen.x<0 || bcScreen.y<0 || bcScreen.z<0) {
                image.set(pX, pY,color);
            }
        }
    }
}

​ picture of rendered image

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/husk57reddit
πŸ“…︎ Jul 24 2021
🚨︎ report
Tidally locking to a Binary System's Barycentre?

In this video from SpaceEngine, you can see a planet that is tidally to the barycentre of a binary star system.

Do you think this would be possible in real life, or would the orbits of the stars in the binary system prevent a true "lock"?

xPosted from here

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/Fosnez
πŸ“…︎ Nov 11 2014
🚨︎ report
X does not orbit Y. They both orbit their barycentre.
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/crazyavocado
πŸ“…︎ Aug 10 2013
🚨︎ report
Would these elliptical barycentric objects become tidally locked eventually?
πŸ‘︎ 67
πŸ’¬︎
πŸ‘€︎ u/bear_of_the_woods
πŸ“…︎ Feb 25 2021
🚨︎ report
Using marching cubes, triplanar shader and barycentric coordinates in my game

Only just found out about this group.

I'm working on a project called 'Outpost Engineer'. All my 3d assets are voxel based hence I thought It might be interesting to post about it here.

I'm using marching cubes to render the chunk based terrain and all 3d assets.

I created a custom triplanar shader that takes in a texture 2darray and uses barycentric coordinates to blend voxels at the edges. That way I don't need to specify uv coordinates and can still render textures. Created it with shader graph / unity. You can see the terrain and some more in action here: https://www.youtube.com/watch?v=vd_oe_Zc46k&feature=emb_logo

Interacting with terrain (digging, building) that is less blocky caused some challenges (the place a raycast hits isn't always the exact voxel you want) but I think I got it covered now by doing a sort and proximity check for full voxels afterwards.

My 3d models are first created in MagickaVoxel, and then transformed into smoother meshes using marching cubes. They aren't photo-realistic high detail meshes but that isn't the style I am going for anyway. Example: https://twitter.com/david_decraene/status/1311338925617750018/photo/1

Some external links:

πŸ‘︎ 22
πŸ’¬︎
πŸ‘€︎ u/Wwombatt
πŸ“…︎ Oct 18 2020
🚨︎ report
Nice and smooth! Calculating the ground height using barycentric coordinates of the mesh's triangles. v.redd.it/kwvtuegjzr861
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/superjustin5000
πŸ“…︎ Jan 01 2021
🚨︎ report
Barycentric coords in Godot [Tutorial WIP]
πŸ‘︎ 32
πŸ’¬︎
πŸ‘€︎ u/Novaleaf
πŸ“…︎ Feb 09 2020
🚨︎ report
Barycentric coordinate mapping for marching cube meshes - explanation

About three weeks ago I wrote a post showcasing my custom shader for marching cubes models. (cfr https://www.reddit.com/r/VoxelGameDev/comments/jdbgnj/using_marching_cubes_triplanar_shader_and/)

I finally got some time and wrote a technical blogpost on how I actually use those barycentric coordinates in my shader to blend voxel textures in a marching cubes mesh.

You can read about it here:

https://outpostengineer.com/barycentricShader.html

πŸ‘︎ 27
πŸ’¬︎
πŸ‘€︎ u/Wwombatt
πŸ“…︎ Nov 11 2020
🚨︎ report
Nice and smooth! Calculating the ground height using barycentric coordinates of the mesh's triangles. v.redd.it/5h7hpx9wyr861
πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/superjustin5000
πŸ“…︎ Jan 01 2021
🚨︎ report
Barycentric Lagrange Interpolation desmos.com/calculator/q0a…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/jacobolus
πŸ“…︎ Jan 28 2020
🚨︎ report
Barycentric Coordinates Are Awesome

Barycentric Coordinates are a sort of weighted average of the points of a triangle (it has a much more general intuition but this will do).

I'll try to elucidate why I think these are so cool but here on Brilliant.org is a more in depth introduction.

Barycentric Coordinates are based around the physical concept of center of mass. By default, the center of mass or centroid of a triangle is at the intersection of its medians (lines from veritices that bisect opposite sides). However, by changing the "masses" of the three vertices the position of the centre of mass can be altered. Moreover, with the right combination of three masses for the three verticies, we can represent any point within the triangle, a coordinate system!.

To illustrate some of the properties of these coordinates and and their utility, I'll try to sketch a quick proof that the medians of a triangle cut one another in the ratio of 2 to 1.

The point O is the centroid of the triangle. It is the intersection of the medians and has barycentric coordinates (1,1,1) (corresponding to the three masses each ebing 1)

In the diagram above we see the point O (1,1,1) which is the center of mass of A, B and C. However, we can alternatively reach the center of mass of the triangle by first finding the center of mass of B and C which we'll call D (the midpoint of BC since they have the same mass themselves) and then find the center of mass of D and A.

Since D is the center of mass of B and C it has the sum of their masses: 2. Hence the center of mass of A and D will lie twice as close to D as A since D is twice as heavy as A. Consequently AO = 2DO.

(end of proof)

Furthermore, most all of the special points in a triangle have interesting barymetric interpretations. If ABC has sides a, b and c:

Image from http://mathworld.wolfram.com/BarycentricCoordinates.html

Finally, it is worth noting that the coordinates are homogenous, that is, (x,y,z) = (kx,ky,kz) for non-zero k.

Hope you enjoyed!

πŸ‘︎ 34
πŸ’¬︎
πŸ“…︎ Dec 11 2019
🚨︎ report
SERIOUS: This subreddit needs to understand what a "dad joke" really means.

I don't want to step on anybody's toes here, but the amount of non-dad jokes here in this subreddit really annoys me. First of all, dad jokes CAN be NSFW, it clearly says so in the sub rules. Secondly, it doesn't automatically make it a dad joke if it's from a conversation between you and your child. Most importantly, the jokes that your CHILDREN tell YOU are not dad jokes. The point of a dad joke is that it's so cheesy only a dad who's trying to be funny would make such a joke. That's it. They are stupid plays on words, lame puns and so on. There has to be a clever pun or wordplay for it to be considered a dad joke.

Again, to all the fellow dads, I apologise if I'm sounding too harsh. But I just needed to get it off my chest.

πŸ‘︎ 17k
πŸ’¬︎
πŸ‘€︎ u/anywhereiroa
πŸ“…︎ Jan 15 2022
🚨︎ report
Barycentric Trig Interpolation desmos.com/calculator/sfr…
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/jacobolus
πŸ“…︎ Oct 01 2020
🚨︎ report
Barycentric Perlin Noise boristhebrave.com/2018/05…
πŸ‘︎ 212
πŸ’¬︎
πŸ‘€︎ u/BorisTheBrave
πŸ“…︎ May 13 2018
🚨︎ report
Blind Girl Here. Give Me Your Best Blind Jokes!

Do your worst!

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Leckzsluthor
πŸ“…︎ Jan 02 2022
🚨︎ report
[OC] Rough visualization of PokΓ©mon moves in barycentric coordinates. v.redd.it/rhumpo4dnxa31
πŸ‘︎ 56
πŸ’¬︎
πŸ‘€︎ u/scalar-field
πŸ“…︎ Jul 17 2019
🚨︎ report
This subreddit is 10 years old now.

I'm surprised it hasn't decade.

πŸ‘︎ 14k
πŸ’¬︎
πŸ‘€︎ u/frexyincdude
πŸ“…︎ Jan 14 2022
🚨︎ report
Dropped my best ever dad joke & no one was around to hear it

For context I'm a Refuse Driver (Garbage man) & today I was on food waste. After I'd tipped I was checking the wagon for any defects when I spotted a lone pea balanced on the lifts.

I said "hey look, an escaPEA"

No one near me but it didn't half make me laugh for a good hour or so!

Edit: I can't believe how much this has blown up. Thank you everyone I've had a blast reading through the replies πŸ˜‚

πŸ‘︎ 20k
πŸ’¬︎
πŸ‘€︎ u/Vegetable-Acadia
πŸ“…︎ Jan 11 2022
🚨︎ report
What starts with a W and ends with a T

It really does, I swear!

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/PsychedeIic_Sheep
πŸ“…︎ Jan 13 2022
🚨︎ report
Why did Karen press Ctrl+Shift+Delete?

Because she wanted to see the task manager.

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Eoussama
πŸ“…︎ Jan 17 2022
🚨︎ report
How to create a three value slider with UMG

Hi!

I'm pretty new to UMG, so far I'm finding it very good compared to my experiences with Unity and the UGUI.

Right now I'm trying to create a slider to control three different values, something like the image below (screenshot from the character creator from The Elder Scrolls Online).

While I managed to create many different widgets, they usually are very simple (custom buttons, etc), so I don't know where to start with this.

Should I inherit from a Slate Widget? Can this be done directly with UMG?

Any help would be appreciated.

I'm using C++ and trying to avoid using Blueprints.

Triangular slider

πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/Arajar
πŸ“…︎ Jan 07 2022
🚨︎ report
What is a a bisexual person doing when they’re not dating anybody?

They’re on standbi

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Toby-the-Cactus
πŸ“…︎ Jan 12 2022
🚨︎ report
The Sun orbits a black hole in the middle of the Milky Way. Does the Earth’s North Pole point roughly prograde or roughly retrograde on that orbit

I tried googling everything I could think of, but it didn’t come up with anything relevant.

Rephrase of the question: are we chasing Polaris, or is Polaris chasing us?

Edit: okay, so the sun orbits the barycentre of the Milky Way galaxy, no problem.

πŸ‘︎ 40
πŸ’¬︎
πŸ‘€︎ u/Ishmael128
πŸ“…︎ Nov 28 2021
🚨︎ report
Geddit? No? Only me?
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/shampy311
πŸ“…︎ Dec 28 2021
🚨︎ report
I wanna hear your best airplane puns.

Pilot on me!!

πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/Paulie_Felice
πŸ“…︎ Jan 07 2022
🚨︎ report
[Euclidean geometry - barycentric coordinates] Help!
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Jun 27 2020
🚨︎ report
E or ß?
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Amazekam
πŸ“…︎ Jan 03 2022
🚨︎ report
What did Spartacus say when the lion ate his wife?

Nothing, he was gladiator.

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/rj104
πŸ“…︎ Jan 15 2022
🚨︎ report
Outer Wilds astrometry

Because I'm full of dumb ideas. Spoilers because direct reference is made to locations (and to the astrometrically astute, their characteristics).

I strongly suspect OW's astrophysics is a simplified Keplerian model, and accordingly it should be possible to derive good approximations of the orbital elements for everything in the solar system simply by observation. The Outer Wilds are in fact a relatively idealized system for the following reasons:

  • There is practically no orbital inclination above Timber Hearth's ecliptic (with the exception of the Deep Space Satellite, which is perfectly polar);
  • Other than the Interloper all the orbits are almost perfectly circular;
  • All satellite orbits are perfectly circular as well.

So I put together a spreadsheet with the Keplerian parameters and several formulae that should allow most of the parameters, and some other interesting points like planetary mass, to be derived. Bold rows require some input; others are derived.

Specific methodologies for each (in the order they could optimally be captured):

  1. Fly to the object in question.
  2. Apoapsis/periapsis: Respectively the maximum/minimum distance to the body this object orbits. Measure both (they may be identical, or close to, given most orbits in the Outer Wilds are circular). Called aphelion/perihelion when the body orbited is the Sun, and apogee/perigee when the body orbited is Timber Hearth.
  3. Observed Surface gravity: Read off the G reading on the suit.
  4. Polar diameter at surface: Fly to either pole and put down a Scout. Fly to other pole and take distance directly. Avoid terrain distortions where possible.
  5. Obliquity of rotation: Look straight up and walk around until you find the point where the body the object you are on orbits crosses DIRECTLY overhead. This will in most cases be on or slightly above/below the equator. The obliquity is the angle between the equator and where you are currently standing.
  6. Rotational period: From the position you were in when you found the obliquity, start a timer the moment the body the object you are on orbits crosses your field of view. Stop timing when it crosses a second time. (Technically, for bodies orbiting the sun, this is literally finding local solar noon).
  7. Gravity test:
    1. Have a stopwatch ready. Timing accuracy needs to be better than one second.
    2. Place a scout at your feet.
    3. Climb straight up to a convenient, survivable altitude above the scout
... keep reading on reddit ➑

πŸ‘︎ 191
πŸ’¬︎
πŸ‘€︎ u/Beacon515L
πŸ“…︎ Dec 27 2021
🚨︎ report
Pun intended.
πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Sharmaji1301
πŸ“…︎ Jan 15 2022
🚨︎ report
No spoilers
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Onfour
πŸ“…︎ Jan 06 2022
🚨︎ report
Covid problems
πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/theincrediblebou
πŸ“…︎ Jan 12 2022
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.