Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
3D Tiles that perfectly fit #296886
11/03/09 17:45
11/03/09 17:45
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Hey guys,

The Problem:

I want to build a 3D tile based Level Editor, and I got one Problem:
I don't have a single clue on how to make water tiles.

Imagine the Level as a map divided into square pieces. a map of 15*15 tiles. Its flat and I can put things on it like houses, trees, stones and stuff. Now my Problem is: I want to have Water in my level, rivers and so on, but i wonder how to dig into the ground.

I thought of several ways.
the first one was to take the simple lvl block away and replace it with a flat terrain. I used ent_setvertex and ent_getvertex to dig into the ground. I placed a water block under the terrain so that the water appears automaticly in the new dug hole. The problem. Its hard to code and grows quite unclear.

the second way I tried was to use models that got the dimension of one tile. I placed 15*15 tiles into a level. I planned to replace the flat model with a watertile model when i "dig" into the ground. works great,
but
the problem, there is a thin line between the tiles even if they fit perfectly in WED. it looks like a grid and i cant get rid of that.

Now my question is, how would you do anything like this?
Would be great if you could give some hints or ideas.

thanks in advance.

Roxas

Re: 3D Tiles that perfectly fit [Re: Roxas] #296898
11/03/09 19:03
11/03/09 19:03
Joined: Apr 2008
Posts: 2,488
ratchet Offline
Expert
ratchet  Offline
Expert

Joined: Apr 2008
Posts: 2,488
When you launhc the program does the line appear again ?
Does A7 have a spin button to perfectly align models ?

I know some other engines have a spin feature to really align models perfectly.

Or if you make a tile editor, just use it and finally you should have perfect tiles spinning without problems ?

Re: 3D Tiles that perfectly fit [Re: ratchet] #296901
11/03/09 19:24
11/03/09 19:24
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
I've Problems with that thin Lines too.
My Models are all in the Size of 60x60x100..
I put them perfectly Side by Side (Not that Problem with a 100% Size of XY 60x60)...
But ingame, there're always this thin White Lines. Doesn't matter what color is in the Background, they are White and Look ugly.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: 3D Tiles that perfectly fit [Re: Espér] #296911
11/03/09 20:15
11/03/09 20:15
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
can you try to scale the polys at the skin mapping down a bit, so that they don't align with the texture edges? If the problem is solved then (even if the texture does not fit perfectly...), you can use a material, that just changes the way the skin is getting repeated (AddressU/V stuff)

Re: 3D Tiles that perfectly fit [Re: Scorpion] #296914
11/03/09 20:20
11/03/09 20:20
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
they don´t allign with the edges.. Looked for that as first.
here´s a Picture of that problem (click=fullsize):


the blocks fit perfectly. The lines do appear even when i let the blocks overlap about 0.001 (tried with a max overlapping of 0.01)

Last edited by Espér; 11/03/09 20:21.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: 3D Tiles that perfectly fit [Re: Espér] #296921
11/03/09 20:32
11/03/09 20:32
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Roxas and Esper,

try playing with the value of d3d_antialias.
It looks like an anit-aliasing issue to me...

let us know how it goes.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: 3D Tiles that perfectly fit [Re: EvilSOB] #296926
11/03/09 21:10
11/03/09 21:10
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
yes.. a great issue...
If i turn d3d_antialias to 0, the lines are reduced. When i go far away, a few lines are visible..


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: 3D Tiles that perfectly fit [Re: Espér] #296929
11/03/09 21:14
11/03/09 21:14
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Well i could fix the problem
Its just like scorpion said. I had the texture in the skin editor right at the edge of the texture, i scaled it down and problem solved, now the lines are gone.

thank you all very much for your quick answers!

I hope that'll work for Esper aswell Oo

so my Problem is solved now, thank you guys!

Greets Roxas~

Last edited by Roxas; 11/03/09 21:17.
Re: 3D Tiles that perfectly fit [Re: Roxas] #296930
11/03/09 21:16
11/03/09 21:16
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
my problem still exists... *depressed*


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: 3D Tiles that perfectly fit [Re: Espér] #296939
11/03/09 21:54
11/03/09 21:54
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Ok Esper, try this as a test. If your model skins havent changed from what I still have.
(with the ones I have, the un-used texture is white, and your UV is ALREADY smaller
than the colored portion of the texture, so the UV-shrink wouldnt help (one would expect))


1> Open the "dirt" block in MED and open the skin editor.
2> Export the texture out to tga/bmp/whatever.
3> Open the exported texture file with your preferred paint program.
4> See the WHITE unused texture space? Fill it with BRIGHT PURPLE instead.
5> Save/re-import texture/save/test-run.

Have the white lines turned Purple?

Last edited by EvilSOB; 11/03/09 21:58.

"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1