octa... hecta... tile problems

For developmental things relating to the graphics of the game.
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

ok more testing i tried a box 20 x 20 with a 2 pixil black outline(white center) i stretched it properly for floor_a and made Floor_b a 20 x 20 filled with blue

its obvius that the 2 large dark lines are where the ends got stretched out (the stretched black box) and the blue only adds the coloring (no lines) we may have to rethink what exactly we are doing

edit- me thinks i have an idea
Attachments
Combiningtest.JPG
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

I got it check it out after i stretched out floor_a horizontally i added a couple vertical lines the result of just modifing floor_a the picture speeakes for itself
ok now i added a diagonal line to show it off
Attachments
hard work finally paying off
hard work finally paying off
User avatar
Lucifer
Project Developer
Posts: 8743
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

You playing on a bowling scorecard?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

Very nice Your_mom :D

Btw I recognise the shading from the two "big" lines, if you want to remove them just delete the line that's causing them (usually vertical lines in floor_a or horisontal lines in floor_b) it's just a stretch effect as I'm sure you already know.
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

Lucifer wrote:You playing on a bowling scorecard?
Yes, yes i am lol :lol:



ok heres some pics pretty self explanatory

*dual texture has only has details on A( B is a transparent image)
Attachments
quality2.jpg
quality1.jpg
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

floor 177 x 148
floor_a 14800 x 148
floor_b 177 x 14800

the floors off because of either
A> floor_a should be 17700 x 148(the test one wasnt because i wasnt sure if it needed to be a perfect square)
B> when i tiled(copy paste repeat) these by hands a single pixil would throw it off(anyone know any easy way to tile(probly not called this) in gimp?)
C> some other reason i didnt predict

either way heres a pic looks pretty cool even though its messed up
Attachments
nemo didnt put me up to this i swear
nemo didnt put me up to this i swear
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

hey that's pretty close hmm what did you do? why didn't it all just become extremely elongated like before?
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

here i'm posting floor, floor_a, floor_b.you can see exactly what i did and mabey fix it to work right.

edit im pretty sure part A of my last post is the problem although b is likely to also be a problem if after fixing a it still doesnt line up correctly

edit 2 - floor_a with the correct width
Attachments
floor_a.png
hex.zip
doesnt line up right but it still looks good
(17.94 KiB) Downloaded 529 times
Last edited by Your_mom on Fri Mar 18, 2005 9:42 am, edited 1 time in total.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

There is a slight alignment issue. I threw into photoshop, and defined floor_a and floor_b as patterns. I then tiled them, and this is what came out.

Edit: Two layers, the top layer has 50% opacity. I will try to fix the alignment problem.

Edit 2 OT: Aren't pngs great? 1480px by 1480px, 75 KB.
Attachments
PNGs are awesome.
PNGs are awesome.
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

nemo try the floor_a i just posted
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Same problem
Attachments
Offset 2 (now with prize inside)
Offset 2 (now with prize inside)
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

Your_mom wrote: B> when i tiled(copy paste repeat) these by hands a single pixil would throw it off(anyone know any easy way to tile(probly not called this) in gimp?)
pretty obvius i must have overlapped a pixil or 2 looks unnoticable at first but gets worse as it goes on. at least we know what the problem is.

edit yeah it's pretty obvius looking at it now since the error was on the horizontal axis the problem is in floor_a. Take a look at the floor_a i posted. After about the fourth hexagon you can see visually how that line is smaller and how it starts to repeat(*reread the quote), the tiny line is an error i made.

edit2- added punctuation etc so its more understandable
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

I made a test, and it came out misaligned. I am 100% sure this is pixel perfect. Now I am going to try a square image (X by X), because this hectagon is not.

Edit: If the horizontal picture you will notice the shape looks like its slanted. Its not. Thats just an after effect of rasterizing the vector.

Edit2: I used the wrong sizes, so I've taken down the images
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

My conclusioin. 14800px by 148px is too large of a texture. :o I was working in photoshop with it and my hd went from 3 gigs free to 30 MB free. I need more RAM + HD space.
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

I'll give it a try (just woke up, slumbering in front of the computer before I drag myself out in the real world) because I have the space etc. to do it (I've made 4096x4096 textures with multiple layers (and run them in armagetron), not that it does anybody any good lol so it shouldn't be a problem) so well yes I'll try it when I wake up for real in like nine hours :D
Post Reply