Jump to content




[1.46]make smaller pixels


30 replies to this topic

#21 ScruffyRules

  • Members
  • 98 posts

Posted 28 January 2013 - 05:41 PM

View PostCruor, on 28 January 2013 - 10:30 AM, said:

When in doubt, use CCLights! http://puu.sh/1M4k6
I realy should stop throwing that picture everywhere...

And that is honestly some amazing stuff with the limited monitor scale o_O
i've seen this picture so many times...

#22 Cruor

  • Members
  • 413 posts
  • LocationNorway

Posted 28 January 2013 - 07:43 PM

View PostScruffyRules, on 28 January 2013 - 05:41 PM, said:

View PostCruor, on 28 January 2013 - 10:30 AM, said:

When in doubt, use CCLights! http://puu.sh/1M4k6
I realy should stop throwing that picture everywhere...

And that is honestly some amazing stuff with the limited monitor scale o_O
i've seen this picture so many times...
"I realy should stop throwing that picture everywhere..."

#23 aNemia1981

  • Members
  • 6 posts

Posted 29 January 2013 - 05:42 AM

Thats a nice pic Cruor, but render time 10-15mins... =) I had same idea to read raw image data and convert them into cc's 16 color on the fly...but got so confused. But even with textScale 0.25 you could get 240x160 images in sec that look really nice even in low color palette. BTW, I'm thinking about making my convert program to support all possible monitor sizes. If/when done, whats the policy of sharing that app (exe) here?

#24 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 29 January 2013 - 06:13 AM

id prefer source code and not an exe, you can hide nasty things >_>

#25 lieudusty

  • Members
  • 419 posts

Posted 29 January 2013 - 06:25 AM

View PostCruor, on 28 January 2013 - 10:30 AM, said:

When in doubt, use CCLights! http://puu.sh/1M4k6
I realy should stop throwing that picture everywhere...

And that is honestly some amazing stuff with the limited monitor scale o_O
How did you convert a picture to show up in cc lights?

#26 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 29 January 2013 - 06:39 AM

View PostaNemia1981, on 27 January 2013 - 12:56 PM, said:

Quote

please share that code with us....

i cleaned it up a bit (some not so important lines still in). Its kinda my first real program so...try to bare it.
Spoiler

my pixel2txt program is actually made with program called "Neobook". Its kinda like multimedia kiosk maker but has some scripting capabilities and get the work done =) Until i learn this lua stuff better.

edit: http://an3mia.net/mc/ccf.rar here is some image text files if you want to check those in-game (just extract in your computer root) Use max-sized monitor thou...
Do you mind releasing the pixel to text program? or do you need the Neobook thingy to run it?

#27 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 29 January 2013 - 07:36 AM

I would love both. Perhaps you could work on it with some others to bring 16 color videos!

Edit: Or .gifs!

#28 Cruor

  • Members
  • 413 posts
  • LocationNorway

Posted 29 January 2013 - 08:56 AM

View PostCruor, on 29 January 2013 - 08:50 AM, said:

View Postlieudusty, on 29 January 2013 - 06:25 AM, said:

View PostCruor, on 28 January 2013 - 10:30 AM, said:

When in doubt, use CCLights! http://puu.sh/1M4k6
I realy should stop throwing that picture everywhere...

And that is honestly some amazing stuff with the limited monitor scale o_O
How did you convert a picture to show up in cc lights?
Got Oddstr to write me some program using Pyton with PIL, it "opens" the picture and then writes all the RGB values to a file and i just read that file and throw it all over the monitor :P

View PostaNemia1981, on 29 January 2013 - 05:42 AM, said:

Thats a nice pic Cruor, but render time 10-15mins... =) I had same idea to read raw image data and convert them into cc's 16 color on the fly...but got so confused. But even with textScale 0.25 you could get 240x160 images in sec that look really nice even in low color palette. BTW, I'm thinking about making my convert program to support all possible monitor sizes. If/when done, whats the policy of sharing that app (exe) here?
Well, when ccLights upgrades to not have that weird freezing bug, i would assume that rendering would take so, so much less :P i mean, read time is allready 2.7s for that picture

#29 aNemia1981

  • Members
  • 6 posts

Posted 29 January 2013 - 12:14 PM

Quote

Do you mind releasing the pixel to text program? or do you need the Neobook thingy to run it?

Like PixelToast said...i could hide nasty things in exe, but i wont (trust me, im from internets). I could release bmp2txt as the code form but then you would have to install the yet another prog and get all required plugins for it to compile the actual app. So at your own risk, until someone makes alternative/better way todo bmp2txt...heres my way:

http://an3mia.net/mc/CC_art.rar

Package contains:

artv2 file             - Put this into your minecraft/<world>/computer/<id>/
ccf folder             - Put this into your minecraft/<world>/computer/<id>/
bmp2ColorPair.exe         - Programs thats converts pixels into numerical code and save the file as text
GIMP_cc_colorPalette.gpl    - Indexed color palette for GIMP
PS_cc_colorPalette.act        - Indexed color palette for Photoshop

How to:

1. Open image in PS or GIMP
2. Resize it max width 164px, max height 80px
3. Change image mode to indexed and load custom palette from package (Recommend you also put dither/pattern option on for better result)
4. Save as (Export as in gimp) BMP, 8bit no compression
5. Open file in bmp2ColorPair
6. Wait....takes little bit of time
7. Put <imagefilename>.txt in minecraft/<world>/computer/<id>/ccf/
8. Run artV2 in CC, load your file
9. Profit

Posted Image

#30 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 January 2013 - 12:41 PM

View PostaNemia1981, on 29 January 2013 - 12:14 PM, said:

Quote

Do you mind releasing the pixel to text program? or do you need the Neobook thingy to run it?

Like PixelToast said...i could hide nasty things in exe, but i wont (trust me, im from internets). I could release bmp2txt as the code form but then you would have to install the yet another prog and get all required plugins for it to compile the actual app. So at your own risk, until someone makes alternative/better way todo bmp2txt...heres my way:

http://an3mia.net/mc/CC_art.rar

Package contains:

artv2 file			 - Put this into your minecraft/<world>/computer/<id>/
ccf folder			 - Put this into your minecraft/<world>/computer/<id>/
bmp2ColorPair.exe		 - Programs thats converts pixels into numerical code and save the file as text
GIMP_cc_colorPalette.gpl	- Indexed color palette for GIMP
PS_cc_colorPalette.act		- Indexed color palette for Photoshop

How to:

1. Open image in PS or GIMP
2. Resize it max width 164px, max height 80px
3. Change image mode to indexed and load custom palette from package (Recommend you also put dither/pattern option on for better result)
4. Save as (Export as in gimp) BMP, 8bit no compression
5. Open file in bmp2ColorPair
6. Wait....takes little bit of time
7. Put <imagefilename>.txt in minecraft/<world>/computer/<id>/ccf/
8. Run artV2 in CC, load your file
9. Profit

Posted Image
+1 For This Since It's Freakin Awesome!! :D

#31 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 January 2013 - 12:53 PM

View PostaNemia1981, on 29 January 2013 - 12:14 PM, said:

Quote

Do you mind releasing the pixel to text program? or do you need the Neobook thingy to run it?

Like PixelToast said...i could hide nasty things in exe, but i wont (trust me, im from internets). I could release bmp2txt as the code form but then you would have to install the yet another prog and get all required plugins for it to compile the actual app. So at your own risk, until someone makes alternative/better way todo bmp2txt...heres my way:

http://an3mia.net/mc/CC_art.rar

Package contains:

artv2 file			 - Put this into your minecraft/<world>/computer/<id>/
ccf folder			 - Put this into your minecraft/<world>/computer/<id>/
bmp2ColorPair.exe		 - Programs thats converts pixels into numerical code and save the file as text
GIMP_cc_colorPalette.gpl	- Indexed color palette for GIMP
PS_cc_colorPalette.act		- Indexed color palette for Photoshop

How to:

1. Open image in PS or GIMP
2. Resize it max width 164px, max height 80px
3. Change image mode to indexed and load custom palette from package (Recommend you also put dither/pattern option on for better result)
4. Save as (Export as in gimp) BMP, 8bit no compression
5. Open file in bmp2ColorPair
6. Wait....takes little bit of time
7. Put <imagefilename>.txt in minecraft/<world>/computer/<id>/ccf/
8. Run artV2 in CC, load your file
9. Profit
When I try to run the program in CC it says: attempt to index ? (a nil value)

EDIT: Nevermind.. Seems The One Who Uses This Have to Have the Monitor on the left side.
You Should Change That So It gets the monitor side and then run it on that.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users