3D / Game Development / Programming Thread

New thread continuing from the old forum.

5 Likes

Hello…

Only managed to do 2 or 3 hours of coding these last couple weeks, but I can report that I got multi-mesh working with per-instance coloration.

So hopefully I’ll be able to move onto something more interesting. Just gotta mull through building out this one thing first… then it’s back to bigger steps. I’m hoping this time it’ll run full speed on the vita.

2 Likes

Starting back on game development this week. Will post my progress!!!

2 Likes

Got nothing to show for it. At least not that I can upload here, but I got the thing I was working on finished and running full-speed.

got another smaller thing to rewrite, which will be neat… as this new method allows for deconstructing an edge mesh super easy. Which was a feature I had previous envisioned.

Switching from 3D viewport to 2D deconstructs the 3d mesh and then rebuilds it in 2d space and vice versa.

prolly put at least 6 hours in programming today. Learned a lot though.

2 Likes

Got some more done today.

Implemented a speed adjustment, Added bounding constraints to the cursor, tweaked a bunch of stuff regarding camera controls and movement.

One buggy things is when the camera is oriented directly top-down or bottom-up rotation doesn’t move. Got a design-oversight to consider.

Still need to rewrite the code that makes 3d cursor to use multimesh…

Almost done with this environment.

Then I’ll add the actual first editor function. “Create mesh element from triangle.”

… bound to be a bunch of head scratching after that.

1 Like

Sounds like gimbal lock? You need to use quaternions to avoid that.

2 Likes

It’s something adjacent to that.

The camera control statement I’m using has gimbal locking designed out.

Move_and_look_at(position, target, reference vector(normally the up vector))

It says in the documentation that it doesnt work for the camera to be lined up parallel to the reference vector.

This could be to avoid gimbal lock on their end.

But I just gotta get more conditionally detailed with the camera manipulation.

It is true though. It is a 90 degree rotation… which is that sweet spot for gimbal locking.

That highlights another element I’ll be introducing to my system… single axis rotation that is stacked and inherited… no more gimbal lock. (Also rotation is all applied in local space vs global… meaning the axis’s of rotation are themselves rotated).

It’s all frame of reference that breaks rotational stuff.

Quaternians are cool but that’s not user friendly

1 Like

I don’t know who all has made the jump but I have a sidequest in mind.

I don’t know how many times I’ve been on my phone and was wishing I could do something productive.

I don’t think the industries have ever intended the “smart phone” to be a productivity device. I would love it if it was.

Not a single c++ compiler or code id on the android. Can’t write android apps on the android itself… wtf?

Anyone else see the niche here… that’s a marketable opening.

Only thing missing from typing with my thumbs are the simple arrow keys to correct misplaced touch recognition.

1 Like

I’m switching back to an integrated MA course with my current institution and I’ll be having another go at programming. I hope I stick to it

Programming is so important in many ways nowadays for scientists especially

2 Likes

Where is magz

Track 2 so far. Its still mostly full of prototypes but I got thirsty to share lol

@Azley @Mars @Schizbro @FreeLunch @labratmat

I think im Gonna like this track better than the fist one when its done !!

6 Likes

That is amazing! Did you make it from scratch?

1 Like

Not entirely lol

My first attempt was from scratch but couldn’t get it where I wanted it to be(wheel friction and handling). The track is from scratch tho and the cars I did alot of work on and a BUNCH of other stuff lol .

Ive been working on it for 8 months off and on

1 Like

It looks like a rewarding hobby.

I d k anything about coding unfortunately.

Being of the generation that played games on an atari or commodore 64 where you have to play a tape recorder with the code for ages to load the game lol it sort of passed me by.

2 Likes

Im dumb as a rock :rock: and I can code​:sweat_smile::face_with_hand_over_mouth: …real talk man….its as rewarding as music and the cool thing is its also a creative outlet!!!

I love game development!!! Didn’t you say you were in blender ?

2 Likes

i will start my art project in spring/summer asnd use blender to create it, but it is too cold to film outdoors at present.

2 Likes

Dude definitely tag me if you post the work!!!

1 Like

That’s awesome dude keep it up

1 Like

Nice game looks like its running well and playable

1 Like

Yea man..its close. I think im Gonna do more work on the ai when im done doing the tracks tho…. I think they still need to be more competitive.!!

2 Likes