Page 3 of 4

Re: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 1:06
by Rachael
Major Cooke wrote:(Also, a dev tag? Shocking!)
https://github.com/coelckers/gzdoom/com ... MajorCooke

This isn't the right thread to discuss this - this is - but I figured I'd just mention it here.

It's not so much the number of submissions - but also that they have actually done some sort of notable improvement in some way.

Re: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 1:10
by Major Cooke
Heh, yeah I know but still, I thought to have the official developer title it required actually having like what Graf has to zdoom itself: the ability to directly push code to it.

-----

While this is something of a start, it's far from correct and still needs plenty of changing. Any ideas here would be welcome.

Code: Select all

				DVector3 pos = { x, y, z };
				DAngle ang = (ViewPos - pos).Angle();
				double ancos = ang.Cos();
				double ansin = ang.Sin();

				x1 = x - (leftfac * ancos - rightfac * ansin);
				x2 = x - (rightfac * ancos + rightfac * ansin);
				y1 = y + (bottomfac * ansin - topfac * ancos);
				y2 = y + (topfac * ansin + topfac * ancos);

Re: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 14:25
by Major Cooke

Re: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 15:36
by Major Cooke
Image

The thing is, it tilts on the wrong side. This is without any roll in it.

I'll try messing around with your code some more now.

FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 18:11
by Major Cooke
Here's a fix for the pitch rolling about the wrong axis.

This is the last one. It's finally ready.

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:14
by Graf Zahl
Yeah, I expected something like that. But it's too late for today, I'm doing the release tomorrow.

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:16
by Major Cooke
Oh you pushed it back a day?

If this stalled it -- my apologies.

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:19
by Graf Zahl
Yes, it was just the flatsprite that stalled it.

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:21
by Tiger
Graf Zahl wrote:I'm doing the release tomorrow.
Image

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:23
by Major Cooke
@Graf: Sorry about that, a small emergency came up which inevitably forced my attention away from the fixing process.

Still, I'm so glad working on this remake is over with.

@Tiger: You'd look better if you had Puss N Boot's eyes.

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:26
by Tiger
Major Cooke wrote:@Tiger: You'd look better if you had Puss N Boot's eyes.
Fixed

Re: FIXED: Flat Sprites Overhauled

Posted: Sat Sep 17, 2016 19:27
by Major Cooke
MUUUUUCH much better! Now just pray for Graf being a sucker for pussy eyes. :mrgreen:

Re: FIXED: Flat Sprites Overhauled

Posted: Sun Sep 18, 2016 0:12
by ibm5155
Do you guys even coffee? heck, all those code reminds me about analytic geometry D:

Re: FIXED: Flat Sprites Overhauled

Posted: Sun Sep 18, 2016 0:37
by Rachael
ibm5155 wrote:Do you guys even coffee? heck, all those code reminds me about analytic geometry D:
Only reminds you of?

What do you think 3D is?

Re: FIXED: Flat Sprites Overhauled

Posted: Sun Sep 18, 2016 3:28
by Major Cooke
This can be closed by the way. Not sure why it's still open. :P