Home   Help Search Login Register  

Author Topic: [ACCEPTED] 3D drawing demo  (Read 5524 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
[ACCEPTED] 3D drawing demo
« on: 13 Jun 2006, 02:47:38 »
After seeing Mandoble's madness using drops to write text and draw, I was inspired and created some 3D drawing scripts, rotation functions and this demo. Just start it up and watch the magic.  If I get a few positive comments I will finish it and write some docs.

 ::)

[attachment deleted by admin]
« Last Edit: 15 Aug 2010, 21:26:38 by Mr.Peanut »
urp!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: 3D drawing demo
« Reply #1 on: 13 Jun 2006, 19:46:30 »
Excelent. Mine was madness, yours is delirium tremens  ;D

Offline Pilot

  • Contributing Member
  • **
Re: 3D drawing demo
« Reply #2 on: 14 Jun 2006, 18:14:05 »
Whoa! :o

I must say, very nice work.  How the hell did you do that?

I wouldn't mind seeing some documentation for it.

-Pilot

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re: 3D drawing demo
« Reply #3 on: 16 Jun 2006, 18:15:26 »
Dude, I fell off my chair. This kicks major *ss. F-A-N-T-A-S-T-I-C !

Offline DeanosBeano

  • Addons Depot Staff
  • *****
  • SirDeanosbeano bstowed on me by sui ;)
    • Fraghaus
Re: 3D drawing demo
« Reply #4 on: 17 Jun 2006, 18:57:24 »

Neon city :).

 nice work there Peanut. you a mathematical genius ?
I love ofp

Offline supershooter

  • Members
  • *
  • 2+2=4
Re: 3D drawing demo
« Reply #5 on: 01 Jul 2006, 20:58:19 »
Wow. If only I could...
Brilliant m8.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: 3D drawing demo
« Reply #6 on: 02 Jul 2006, 22:39:07 »
WOW man, thats freeking sweet.

Offline FiLL2d

  • Members
  • *
  • X.x
Re: 3D drawing demo
« Reply #7 on: 04 Jul 2006, 17:45:19 »
amazing use of particles, well done  8)

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: 3D drawing demo
« Reply #8 on: 04 Jul 2006, 17:48:50 »
okay folks, enough of the back-slapping. either ask questions concerning the scripts or reserve your congratulations for IMs.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: 3D drawing demo
« Reply #9 on: 04 Jul 2006, 20:02:28 »
If I get a few positive comments I will finish it and write some docs.

Was giving him positive comments, but ok.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: 3D drawing demo
« Reply #10 on: 06 Jul 2006, 16:52:13 »
Edit:retracted
« Last Edit: 06 Jul 2006, 23:14:15 by Mr.Peanut »
urp!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: 3D drawing demo
« Reply #11 on: 06 Jul 2006, 17:55:04 »
@Mr Peanut


I don't see a smiley with that comment Mr Peanut, so either you simply forgot to include one, to make sure everyone knew you were joking, or, you mean what you said, in which case it is out of order.

And in either case it is off-topic.


Planck
I know a little about a lot, and a lot about a little.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: 3D drawing demo
« Reply #12 on: 13 Jul 2006, 21:20:06 »
There seems to be a set speed at which OFP can draw drops in a script.  In the spinning square hoop example you can see it as a slight displacement between lines in an upper corner, caused by the difference in time between drawing the first dot and the last dot.  I made a function instead of a script, and it draws the object immediately, but causes a brief game freeze as it hogs resources when drawing large figures.  In the spinning square example, when drawn by the function version, the displacement is gone but is replaced by an unslightly flicker. That is, the square draws instantaneously, but the time interval between successive squares becomes more choppy. Interesting.
urp!

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re: 3D drawing demo
« Reply #13 on: 19 Jul 2006, 23:25:15 »
excelent, 

i must know though,


Was it hard to do, and did it take you a long time to make it?


and

Could you possibly add ambiant light to those shapes?

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: 3D drawing demo
« Reply #14 on: 21 Jul 2006, 17:53:22 »
The actual coding was very easy, and I simply translated the rotation routines from another language. Playing around with the routines to make interesting effects took longer. The only way to add ambient light is to use a glow type object.  A  glow type object can not be resized, and makes an annoying fire burning sound. Also, you can only have 32 or fewer light sources at a time depending on your game preferences. For a cut-scene you could simulate ambient light by placing a glow type object such that it casts light in the appropriate direction, but is not visible. Not worth the effort.

urp!