Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Chunky Perspective Mode
2016-08-31 07:00
oziphantom

Registered: Oct 2014
Posts: 490
Chunky Perspective Mode

You know the Perspective scollers, that use FLI to crunch rows and then you have a multi bitmap with Mul1 Mul2 cells.
Would it be practical/possible to make a 3D wrapped around a cylinder like look. Like Resogun on the PS4.
The main issue is you could make the "smallest" "pixels" 4x4(or 3x3 with a background grid) but you can only get 3 unique colours per 8x8, so you would need to do bitmap modes to change which of the 3 the "4th" pixel is(sprites?). But as you get to middle the "pixels" expand to give a perspective effect.
Has any demo done this?
2016-08-31 17:24
ChristopherJam

Registered: Aug 2004
Posts: 1409
Do you mean something like this? Pixels range from 3x2 near the top/bottom to bigger near the centre, with a 2-3 pixel line width for the black grid. 240x126 display area, should be easily scrollable with around 80% of the 10,000 or so non-display cycles. I've not coded it, but I've got a plan, and I think it would be reasonably straightforward.

I've definitely seen similar with chunkier pixels, not sure if anyone's had to resort to sprites+FLI (as this one would)



Resogun looks awesome (added it to the wishlist iff I ever get a PS4), but there's a hella lot of parallax going on there.
2016-08-31 20:15
Monte Carlos

Registered: Jun 2004
Posts: 359
3x3 pixels with 3 unique color per 8x8????
What are you talking about?
Either you have doublepixels and three unique colors plus background or you have single pixels with two unique colors.
No way round. That size spec is plain bullshit. you can get only 192 pixels covered with unexpanded sprites. however 8 sprites with fli would be cumbersome.
Most demos use multicolor, hence doublepixels (f.e the censor demos). Have seen these color underneath scrollers also in hires with very big voxels but don't remember the demos names.
2016-09-01 05:44
oziphantom

Registered: Oct 2014
Posts: 490
well for 3x3 you would have to have a sprite overlay for the "gird", which is only at the edges. I was not clear, my bad.

@Christopher I was thinking of warping horizontally rather than vertically.
2016-09-01 07:11
ChristopherJam

Registered: Aug 2004
Posts: 1409
Quoting oziphantom
@Christopher I was thinking of warping horizontally rather than vertically.


I was wondering that after I posted. That.. would be harder. Warping vertically you only need to force DMA for each pixel row, and you can hide it in a black line so you don't even need cycle accurate timing (any time from the start of the display area onward will do)

The horizontal case also gives you a fair few 8x1 cells with one colour from each of two rows of source pixels, so there's more colour combining to do too (unless you have considerably thicker black lines between the rows)

I'm guessing you'd be looking at a smaller area for the horizontal.
2016-09-01 07:15
Oswald

Registered: Apr 2002
Posts: 5094
some non conventional pixel / font sizes is always refreshing after 30 years of looking at the same size sprites, chars, 4x4 and what not :)
2016-09-04 19:53
Monte Carlos

Registered: Jun 2004
Posts: 359
Think, you should downgrade to multicolor because you would get too much hazzle getting the needed amount of sprites over the fli (you know, the record with 7 Sprites over FLI was only reached with severe illegal opcode trickery)
2016-09-05 20:25
HCL

Registered: Feb 2003
Posts: 728
Who did 7 sprites over FLI?! How could i have missed that one?
2016-09-05 20:30
chatGPZ

Registered: Dec 2001
Posts: 11386
wishful thinking? :)
2016-09-05 20:43
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: Think, you should downgrade to multicolor because you would get too much hazzle getting the needed amount of sprites over the fli (you know, the record with 7 Sprites over FLI was only reached with severe illegal opcode trickery)

These kind of effects do not induce a bad line every raster line so it's perfectly ok even with 8 sprites.
2016-09-05 21:16
Copyfault

Registered: Dec 2001
Posts: 478
Quoting HCL
Who did 7 sprites over FLI?! How could i have missed that one?

@Monte: did you take "the best of both worlds", i.e. applying Ninjas 6 sprites over FLI to an NTSC-system ;)?

But Jackasser is right, as long as there's no need for a BL on every line all eight sprites shouldn't be too much of a problem... and it should be the same also for the horizontal installment of the discussed effect, no?
 
... 18 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Airwolf/F4CG
Case/Padua
Unlock/Padua/Albion
cadaver/covertbitops
DJ Gruby/TRiAD
Mike
Didi/Laxity
MWR/Visdom
WVL/Xenon
Trap/Bonzai
Steffan/BOOM!
REBEL 1/HF
Freeze/Blazon
Guests online: 128
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Mutetus  (9.7)
3 Jeroen Tel  (9.7)
4 Linus  (9.6)
5 Stinsen  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.062 sec.