3D Test

By BlueThen on Apr 29, 2008

Uh, nothing special really. I'm just testing a simple 3d concept.
Image
Updates:
Fixed the initialization.

;3D Test 1.01
;Made by BlueThen on April 29, 2008.
;To install, paste this script into your remotes (alt + r),
;then type /3dtest or right click the channel or status and click 3D Test.
;A cube is placed at cursor position, so you need to wave your pointer over the window to see it.
;BlueThen.com
menu channel,status {
  3D Test: { 3dtest }
}
alias 3dtest {
  window -paoCzdk0 +tnbL @3dtest -1 -1 400 400 | window -poCzdhk0 +tnbL @3dt.buf -1 -1 800 800
  drawfill @3dt.buf 0 0 1 1 1 1 | drawtext @3dt.buf 1 Tahoma 40 350 50 Made By BlueThen 
  drawtext @3dt.buf 1 Tahoma 40 400 100 BlueThen.com | drawcopy -m @3dt.buf 0 0 800 800 @3dtest 0 0 400 400
}
menu @3dtest {
  mouse: {
    clear @3dt.buf | drawfill @3dt.buf 0 0 1 1 1 1
    %3dt.x = $calc($mouse.x * 2) | %3dt.y = $calc($mouse.y * 2)
    drawline @3dt.buf 1 2 $calc(%3dt.x + 50) $calc(%3dt.y + 50) $calc(%3dt.x + 50) $calc(%3dt.y - 50) 
    drawline @3dt.buf 1 2 $calc(%3dt.x + 50) $calc(%3dt.y - 50) $calc(%3dt.x - 50) $calc(%3dt.y - 50) 
    drawline @3dt.buf 1 2 $calc(%3dt.x - 50) $calc(%3dt.y - 50) $calc(%3dt.x - 50) $calc(%3dt.y + 50) 
    drawline @3dt.buf 1 2 $calc(%3dt.x - 50) $calc(%3dt.y + 50) $calc(%3dt.x + 50) $calc(%3dt.y + 50)
    drawline @3dt.buf 1 2 $calc(%3dt.x + 50) $calc(%3dt.y + 50) $calc(((%3dt.x + 50)*800)/850) $calc(((%3dt.y + 50)*800)/850)
    drawline @3dt.buf 1 2 $calc(%3dt.x + 50) $calc(%3dt.y - 50) $calc(((%3dt.x + 50)*800)/850) $calc(((%3dt.y - 50)*800)/850)
    drawline @3dt.buf 1 2 $calc(%3dt.x - 50) $calc(%3dt.y - 50) $calc(((%3dt.x - 50)*800)/850) $calc(((%3dt.y - 50)*800)/850) 
    drawline @3dt.buf 1 2 $calc(%3dt.x - 50) $calc(%3dt.y + 50) $calc(((%3dt.x - 50)*800)/850) $calc(((%3dt.y + 50)*800)/850) 
    drawline @3dt.buf 1 2 $calc(((%3dt.x + 50)*800)/850) $calc(((%3dt.y + 50)*800)/850) $calc(((%3dt.x + 50)*800)/850) $calc(((%3dt.y - 50)*800)/850)
    drawline @3dt.buf 1 2 $calc(((%3dt.x + 50)*800)/850) $calc(((%3dt.y - 50)*800)/850) $calc(((%3dt.x - 50)*800)/850) $calc(((%3dt.y - 50)*800)/850)
    drawline @3dt.buf 1 2 $calc(((%3dt.x - 50)*800)/850) $calc(((%3dt.y - 50)*800)/850) $calc(((%3dt.x - 50)*800)/850) $calc(((%3dt.y + 50)*800)/850)
    drawline @3dt.buf 1 2 $calc(((%3dt.x - 50)*800)/850) $calc(((%3dt.y + 50)*800)/850) $calc(((%3dt.x + 50)*800)/850) $calc(((%3dt.y + 50)*800)/850)
    drawtext @3dt.buf 1 Tahoma 40 350 50 Made By BlueThen | drawtext @3dt.buf 1 Tahoma 40 400 100 BlueThen.com
    drawcopy -m @3dt.buf 0 0 800 800 @3dtest 0 0 400 400
  }
}
on *:close:@3dtest: { window -c @3dt.buf | unset %3dt.x %3dt.y }

Comments

Sign in to comment.
Jonesy44   -  Feb 02, 2009

neat x]

 Respond  
Firstmate   -  Feb 02, 2009

Well idk if I can call it an rendering engine, but, here's the basic layout:

You have options to pick a figure
So far I am working on the cube, but you can move it around. There's a dialog that lets you change the width length and height. And the hardest part so far is a rotating in 3d

 Respond  
Jonesy44   -  Feb 02, 2009

Good luck with it! i'd like to see it when it's done :D

 Respond  
Firstmate   -  Feb 02, 2009

Awesome script, I've started to make my own 3d rendering engine, and this looks cool.
I should be done with mine in like a week, once I get to it. I'm easily distracted :p

Nice script!

 Respond  
curiousity   -  Feb 01, 2009

i love this script and I wish I have 3d text with 4 shadows. Anyone have it please post it in here so that I can use it in chat.:)

 Respond  
criminal   -  May 02, 2008

Wth, You\'re 13?!
I\'m 14 years old and make freaking easy scripts ( For you ).
I use mIRC for like 2.5 months now lol
-------- ^ That\'s a bout me ^ ---------
Now the snippet :D
... Gj (again) O.o 8/10

 Respond  
Logan   -  May 01, 2008

Seriously Jonesy... Rate and comment my narutobot.

 Respond  
Jonesy44   -  May 01, 2008

Also, my \'BlueThen\' File is getting huuuuuuuugeee :D

 Respond  
Jonesy44   -  May 01, 2008

The concept behind this script is VERY good, like i say on EVERY other script of urs lol, expand the ideas u have into one monster script and you\'ll be laughin :D

10/10 to boost the lowness :( i would rate it 8 :P

 Respond  
EL   -  Apr 30, 2008

/me slaps

\"Rate it or Hate it?\"...6/10.`-.-

 Respond  
BlueThen   -  Apr 30, 2008

So many comments, yet no ratings...

 Respond  
EL   -  Apr 30, 2008

Heh

 Respond  
Logan   -  Apr 30, 2008

Long time no see... El. Lol.

 Respond  
EL   -  Apr 30, 2008

LOL well im sur your thwarting all attempts :P

 Respond  
BlueThen   -  Apr 30, 2008

Yeah, it sucks when people steal codes and add their own names to it. That\'s why I try to compress and make my script as complex as possible.

 Respond  
EL   -  Apr 30, 2008

Shit yea lol i feel ya there i mean seriously some want to maek an use liek insane shit an can hardly take the time to learn basic identifiers an basic all together,im like wtN stop askin me to make things an help with thinsg you shouldnt even be touching in the first place they want |33+ scripts but can devote them self or dedicate them sevles to learning an trial an error an FAILING ffs i couldnt tell you how many days i sat in a #mIRC channel all alone coding tryin to make things an FAILING an i mean hardcore lol but it was the younger wannabee coder that drove me cause they like to attack servers i was on an attack me directly so i started coding to protect myself so they more i got attacked the smarter i becamse an better coder cause i sat there an coded to stop everything an i have in my server bot insane codes i wont even use cause its just weird things to protect against everything,sorry rabbbling but the point is that most come on here an \"Butcher\" codes from other then change control codes ao something weak like that an pass them off like they can do some shit when i know they never sat there for DAYS an tryed to learn it an do it even if its pathetic wen its done LOL should see some of my early codes :S yeah they want it best an want it now thats why you have ppl butchering codes an ripping full scripts an posting them here an they coem to mirc help channels an ask for insane request ppfft i with there was some one to ask wen i started lol if it wasnt for napa182 cause hes the only one on my level to talk to an throw ideas around im still be on my own so its good to have some one to ask about things an ways of doin them,and same with me it goes both was.Pfft so yeah its not only age its commitment to it an learning an doin an not givin up imsure you ll post some awesome codes BL and jonesy44 but its the rest of the lazy ppl who will just be butchering your codes so eh yeah i forgot wtf i was rambling about now lol shit.`-.-

 Respond  
BlueThen   -  Apr 30, 2008

Well, it\'s not only the fact that I\'m young, but it\'s because I\'m interested. Most kids that I know would probably give up on their first error, but what makes a inventor, scripter, programmer, successful businessman, etc is the ability to keep on trying.

 Respond  
EL   -  Apr 30, 2008

Lawl i wish i was younger an was into mirc shit let alonga comp lawl i was doin drugs an drinkin an other things at age 13 shit never even used a comp till college that only 3 years ago lol yeah youbnger the better the codes i know mite be n00bs now in some eyes but by the time they get to my age an if they stick with it they woul dmake me look bad lol an im not ashamed to say that.`-.-

 Respond  
BlueThen   -  Apr 30, 2008

Oh that sucks...

Good luck. :D

 Respond  
Jonesy44   -  Apr 30, 2008

Lol @ EL xD

BlueThen, i reckon if i sat down and hard coded for a few hours i guess i cud come up witha prety good picwin. When i get the time, i\'ll give you a shout. but i think imma be throwing up for the next few days, i think i just got food poisoning :s

 Respond  
BlueThen   -  Apr 30, 2008

Well, I heard from somewhere that younger people tend to learn more quickly... so if any of you still have a chance like me, start early.

 Respond  
EL   -  Apr 30, 2008

Haha @ Eugene yeah no shit.Funnt thing is he sits in a room full of mirc users and most of them code myself an napa182 who else ^Neptune Bouncer there a few more lol an he doesnt code FFS. yeah lost cause Never my topci says it all \"No n00b left behind\" XD

 Respond  
Jonesy44   -  Apr 30, 2008

we know, Eugino .. :P

 Respond  
Eugenio   -  Apr 30, 2008

Im 16 now ffs and I cant code shit

 Respond  
Jonesy44   -  Apr 30, 2008

13 :o lol. im 15, started scripting about 1.5 yrs ago. and i agree with EL, i generally get lost in your codes, within the math :P

GJ!

 Respond  
BlueThen   -  Apr 29, 2008

lol. Well, I don\'t usually get lost in my codes, unless I were to stop scripting for a long time and get back to it later. But Command Creator is simple so far, and I think I could finish it later.

mIRC Castle isn\'t really in the beta testing stage yet. I sort of messed up the stick people in the process of trying to fix that darn transparency error, and I need to fix the part where you can pick up multiple stick people.
It\'s barely playable because when you click and hold the mouse, it takes a second to pick up any stick people.

 Respond  
EL   -  Apr 29, 2008

Haha yeah school can have that effect :P as for the scripting ADD can feel ya there i hate workin on the same shit for along time =/ start toget lost in 1000 + lines of coded lol.Hey that command creator will be neat if u get to finishing it.o0o an mirc DTC sounds sweet lol eh yea i firgured laggy an bug lol everything has em from time to time.I d liek to test that game out wen u release thats for sure.

 Respond  
BlueThen   -  Apr 29, 2008

I\'m 13, and been coding since probably last year\'s august... that\'s about 8 months. :P

I tend to move on a lot. It\'s nearly impossible for me to be working on one thing for a long time. I also started on an animator a long time ago, but never got to finishing that either.

Mostly I blame school, I usually arrive home tired and grumpy, not in the mood to script, and it takes motivation AND inspiration for me to be able to make something unique.

Maybe over the next summer, or when I have a lot of time, I\'ll finish all those scripts.

I last worked on my Command Manager\'s dialog, trying to make the lists and buttons functional, having it write down all the values. But that\'s it.

In mIRC Defend the Castle, I\'m pretty much finished. It has a buttload of bugs though, and extremely laggy. I\'d have to polish it up before even considering releasing.

 Respond  
EL   -  Apr 29, 2008

Ahh well they work well for that little amount of time LOL im 25 been codin eh about 8 or 9 months im not half bad but wtf i cant understand the $calc\'s in this at all lol i gotta hand it to ya you have some sweet math skills i enjoy your codes alot even tho most would say they are dull after one or lack usefulness i think they are useful cauase shit most of the stuff you see posted are repeats an variations of other things so this is rather refeshin gto see.I saw you was makin a command creator dialog awhile back an a game at one point are those still codes yur workin on if so how are they coming?

 Respond  
BlueThen   -  Apr 29, 2008

It varies. Usually one or two hours. It really depends on how much problems I run into.

This one was pretty quick though. Only about a half a hour to a hour.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.