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 > Twister's primer
2009-05-03 21:35
Luca

Registered: Apr 2002
Posts: 178
Twister's primer

How to obtain simple/cool/elaborate primer graphics (bitmap) for a general vertical twister effect (let's say simply 3 colours+background colour)? Should I draw'em on PC first, with a 3DMax or similars, then convert'em? Which height in pixels would be enough to smoothly describe and include the whole 360° rotation?

For a very basic one, I could simply draw a slice of column in two colours by drawing them with a sin(x) function, what with more complex stuff?
 
... 20 posts hidden. Click here to view all posts....
 
2010-04-01 21:22
Pantaloon

Registered: Aug 2003
Posts: 124
was just a little snippet. you need to rotate the coords first, and store them in a list.
2010-04-06 08:34
MagerValp

Registered: Dec 2001
Posts: 1078
POV-Ray is perfect for these kinds of tasks. It's trivial to get it to render a series of 21x1 pixel (or whatever you need) cubes, and as a programmer you gotta love its scene description language. Slapping out a POV-Ray'd twister is faster than coding your own raytracer too, even if you've never used POV before.
2010-04-07 13:28
Krill

Registered: Apr 2002
Posts: 2980
Depending on the type of twister, you can also simply generate the graphics on the c64 itself, like i did here in 4k: Bar4Kode - doesn't look as cool as raytraced, but still nice enough. :)
2010-04-07 13:59
Mace

Registered: May 2002
Posts: 1799
Hey, this was the kind of stuff I was looking for :-)
Thanks Krill.
2010-04-07 14:18
Krill

Registered: Apr 2002
Posts: 2980
Mace: I can send you the source if need be.. But it's uncommented and generally not up to my current standards :D
2010-04-08 08:02
Luca

Registered: Apr 2002
Posts: 178
Plenty of available choices, I see.
I tried POV-ray but as a complete prophan, I ran away in pain. Probably a bit more patience would be needed. The Krill's solution looks tasty too.
Scout: I still dunno how to use the .raw image, because I didn't understand if that twister's primer is deliberately drawn in 3 colors, or there's something I missed around it (probably my ignorance in DTV...).
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
rexbeng
celticdesign/G★P/M..
kbs/Pht/Lxt
Dave/SIDNIFY
Mythus/Delysid
Zoolon/Fairlight
Da Snake
A3/AFL
Guests online: 156
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 No Listen  (9.6)
2 Layers  (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 Censor Design  (9.3)
5 Triad  (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.09 sec.