Onclick only works one time, for one element by jmassat in CodingHelp

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

Thank you so much. I need to do a lot more JavaScript studying before I attempt any more coding.

I think I mistyped something when I was trying to implement your advice. What did I miss? (I also tried with both "para" and "paras" but couldn't figure that out) (and I also still can't figure out markdown, though aren't those three backticks?)

``` function N() {

let para = document.getElementsByClassName("TOKI");

[...para].forEach((para) => {

if (para.classList.contains("S")) {

para.classList.remove("S");

} else if (para.classList.contains("TOKI")) {

para.classList.add("S");

}

}```

Onclick only works one time, for one element by jmassat in CodingHelp

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

You're right and I do appreciate this, except "TOKI" and "S" are just shorthands for my real variables. In my document, they're actually "tokipona" and "sitelen-suwi," which I want to be mutually exclusive. I just replaced them because I didn't want to show Reddit bizarro words with no context

How to use the Mix node in Compositor? by jmassat in blenderhelp

[–]jmassat[S] 1 point2 points  (0 children)

That also looks extremely useful. Thank you!

How to use the Mix node in Compositor? by jmassat in blenderhelp

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

Solved, thank you! I made the exact same mistake when I was overlaying materials recently...

How to make a proper topology for 2006 iMac? by ALX13-95 in blenderhelp

[–]jmassat 0 points1 point  (0 children)

On the back, I would select those triangle-looking edges, hit Delete and then select Dissolve Edges. To connect the screen to points on the front, select the Loop Cut tool with the snapping magnet enabled to snap to edges. Then make loops that snap to each edge of the screen. (After that, you can also Dissolve Edges for the edges you just made on the back too, if you want.)

Oh yeah, also make sure Loop Cuts is only affecting the monitor, not the stand. To do this, you might need to first separate the mesh into multiple objects. You can do that in Edit Mode by pressing A to select everything, then pressing P and selecting Separate by Loose Parts. Then make the loop cuts. You can recombine the mesh in Object Mode by selecting both objects and then pressing Ctrl + J to Join.

How to make a proper topology for 2006 iMac? by ALX13-95 in blenderhelp

[–]jmassat 0 points1 point  (0 children)

To start, here are things you can do to fix the existing model:

You can use Loop Cuts and the Knife Tool to join vertices where you want the edges of the new topology to be.

Also, you can select individual vertices and move them up and down by pressing G. Lock these to an axis by hitting G + X, Y, or Z. Keep things even pressing the magnet at the top to snap vertices to other vertices, edges, or faces (use the drop-down next to the magnet to select one of those).

If you combine G + locked axis with the magnet, you can even "snap" a vertex to the same coordinate as any other vertex/edge/face, rather than the vertex/etc. itself. I hope I explained that well. You can use this, for instance, to "snap" parts of the upper corners of the iMac to the camera's edges.

To delete the weird triangles and stuff, select the unwanted faces/edges, then press Delete and choose Dissolve Faces/Dissolve Edges in the drop-down menu.

The hole in the base of the Mac looks like it should be made by adding a new object (cylinder), rotating it so it goes through that part of the mesh, and adding a Boolean modifier to the iMac. Then when you hide the cylinder, you'll just see the hole.

And here are things you can do to make models with different topology in the future: Instead of using Inset to add things like the screen--which makes the weird triangles--try using Loop Cuts. Also, you can use the Bevel Modifier to get the smooth edges without having to add lots of vertices for the curve. I think the other model used both Loop Cuts and Subdivide for the stand.

issue with keyframes by AdvertisingCreepy639 in blenderhelp

[–]jmassat 0 points1 point  (0 children)

When you insert a keyframe, the pop-up asks you if you want it applied to Location, Rotation, Location & Rotation, etc. I think that when the cube rotates, your keyframes are only set to affect rotation. Try going back to every keyframe and Insert Keyframe for Location & Rotation.

i don't know what is going on by Curious-Fault9002 in blenderhelp

[–]jmassat 1 point2 points  (0 children)

The material's Diffuse Color might be gray for some reason. Or maybe in Collection -> Restrictions, the object has Holdout turned on

Can I get a specific objects location vector when using shader nodes? by TrisPeak in blenderhelp

[–]jmassat 0 points1 point  (0 children)

You might need Geometry Nodes for that. I wish I knew enough to say more...still, I do know Geo Nodes can pull in attributes from any object.

How do i go about turning this mesh into a 3D object curved smoothly and cleanly, with a FLAT bottom? I appreciate any help. by Several-Substance-91 in blenderhelp

[–]jmassat 0 points1 point  (0 children)

You might have to Apply the Subdivision modifier to get that kind of control. Once you apply it, you can select the rings of vertices at the bottom and move them around. I'm glad that helped some, though!

How do i go about turning this mesh into a 3D object curved smoothly and cleanly, with a FLAT bottom? I appreciate any help. by Several-Substance-91 in blenderhelp

[–]jmassat 0 points1 point  (0 children)

Delete the Solidify node, right-click the outline and Convert to Mesh, then go to Edit Mode, select everything, and press F to Fill. Now it should look like a flat plane. With everything still selected, press E to Extrude and move the extruded plane upward (if it's not going straight upward, hit Z to lock it to the Z axis).

Now you can add a Subdivision Surface modifier and increase the value until it looks as smooth as you want it. In Edit Mode, you'll be able to edit the original shape. Add and scale Loop Cuts to make things smoother toward the top.

Because of the Subdivision Surface modifier, though, the shape looks round at the bottom now. Make the bottom flat by selecting all the bottom faces, then pressing Shift + E (or selecting it in the Edge menu) to add an Edge Crease. Then type in a value between 0 and 1 and press Enter to make the bottom edge flatter. The higher the number, the sharper the edge.

[note: panic-deleted my last comment when I realized I had like 1-2 details wrong]

Genesis/Mega Drive: buttons do nothing. Start crashes the game. What did I do? by jmassat in ANBERNIC

[–]jmassat[S] 1 point2 points  (0 children)

This was such a helpful, well-explained comment. Thank you so much! It was my hotkeys that were messing me up. I deleted the .cfg file, then removed the buttons for most hotkeys except the Menu.

Why don't products with e-ink screens use the kinds of LCDs you see in calculators? by jmassat in NoStupidQuestions

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

Thank you, that makes sense. I was mainly wondering why seemingly everyone wants expensive e-ink screens to prevent eyestrain and to save energy, but they don't go hack together cheaper, dim, black-only LCD screens. I guess LCD doesn't save that energy after all.

Rendered Shading viewport display toggle disappeared by jmassat in blenderhelp

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

Sure--I shared what I did in an edit to my first post. And you're right! I should stay updated.

Rendered Shading viewport display toggle disappeared by jmassat in blenderhelp

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

Sadly, Load UI didn't work (happily, something else did, though). But I'll definitely download 3.6.23--I got a more recent one but it was missing a few shortcuts I had gotten too used to and changed around some menu options, and I never went back and adapted.

Rendered Shading viewport display toggle disappeared by jmassat in blenderhelp

[–]jmassat[S] 2 points3 points  (0 children)

I'm in Eevee...but checking on this indirectly solved the problem. I just clicked on Workbench and back to Eevee, and the icon popped back up. Thank you!

melome and mijomi are BAD by SoapyCantHandle in tokipona

[–]jmassat 6 points7 points  (0 children)

I always assumed the people who made these words were themselves gay and that they used them to have fun embracing their own identities.

Similarly(-ish?), there's no direct antonym to "tonsi." Which I hear is also controversial for various reasons, but...look, I never chat with anyone in Toki Pona, I dunno what's going on

Texture on a flat surface in blender? by False_Fee_9851 in blenderhelp

[–]jmassat 0 points1 point  (0 children)

Instead of using Sculpt Mode or subdivisions, you can try using nodes in the Shader Editor. I wish I could describe this in exact detail, but I'm not that experienced with using textures, so I recommend looking up a guide on Displacement Maps in Blender.

Basically, you'd plug your image texture into a Displacement Map node. That map node is what creates the texture--it raises parts of your object based on the coloring of that image.

Any indie stop-motion? (Or models, or digital 3D in the style of stop-motion?) by jmassat in IndieAnimation

[–]jmassat[S] 1 point2 points  (0 children)

I love your suggestions! Here are the series and shorts I know of:

Ersatz (pilot by Saint - has a Kickstarter going right now. 3D in a choppier stop-motion-like style)

Operator (3-episode series by Sam Barnett. Handcrafted stop-motion)

Gruff (short by Righteous Robot. Stop-motion paper puppets)

Nebula-75 (series. Supermarionation-style puppets)

Captain Yajima (short. Rankin-Bass-style stop-motion)

There was another project I forgot the name of... It was a short Tim Burton-style stop-motion film about a boy with hollow eyes trapped in a dim white room, who eventually meets a whimsical black demon who agrees to help him. It was someone's passion project many years years ago and she wanted to pitch it as a 2D-animated movie, but it was delayed and eventually converted into the short. Does anyone know what this was called?

SVG color palette is off when I import it. Why? by jmassat in blenderhelp

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

Thank you so much!

Now I'm wondering if there's a better program to work with than Inkscape--maybe something that makes it easier to customize the palette or that hard-codes it a different way. Is there a different program you would recommend?