Page 1 of 2

Improvement of Raillike drawtype

PostPosted: Sat Mar 03, 2012 18:25
by Jeija
I made this drawtype improvement mainly for the mesecons mod, but it looks even better when using normal rails.

Image
Mesecons which use raillike drawtype.


Image
Rails

Download
Download from my minetest fork on GitHub
Sorry for the still uncommented code... watch out for the next release.

What do you think about this?

PostPosted: Sat Mar 03, 2012 18:27
by Jordach
Yay, no more mystery conducting through blocks!

PostPosted: Sat Mar 03, 2012 18:28
by Death Dealer
Been waiting a while for this:D FANTASTIC jeija!!

PostPosted: Sat Mar 03, 2012 18:39
by jordan4ibanez
awesome :D

PostPosted: Sat Mar 03, 2012 18:41
by Jordach
Celeron needs to merge this thing and release a new Windows build, been waiting for this for some time now.

PostPosted: Sat Mar 03, 2012 18:52
by Jeija
Dont merge it (yet)!
I need to fix the bug, I may do that tomorrow.

PostPosted: Sat Mar 03, 2012 18:58
by sfan5
Awesome!! :D :D :D :D :D :D :D :D :D :D

PostPosted: Sat Mar 03, 2012 19:33
by Jordach
Jeija wrote:Dont merge it (yet)!
I need to fix the bug, I may do that tomorrow.


Go on, whats this bug, (I am installing Cygwin, so I can use newest bleeding edge.)

PostPosted: Sat Mar 03, 2012 20:56
by Jeija
Yay I fixed the bug, everything should render correctly now! I also cleaned up the code a little.
Just clone the new Version from GitHub!
If you can still find a bug, please report it!

PostPosted: Sat Mar 03, 2012 21:27
by Jordach
Where was the bug, I would like to know. :)

PostPosted: Sat Mar 03, 2012 21:50
by Jeija
It was in the first post:
Image
Curves and Crossings above sloped rails didn't work.

PostPosted: Sat Mar 03, 2012 21:52
by Jordach
Ohh, thanks, did not even realize, thought it was like that. :P

PostPosted: Sat Mar 03, 2012 22:03
by cosarara97
And what happens if you put a mesecon above another?

PostPosted: Sat Mar 03, 2012 22:05
by Jeija
Still like before...

But if you put them like this
MM
MM
MM
(seen from side/I mean one above each other but in pairs of two)

They will connect to each other.
That also looks good, like some artwork ^^!

PostPosted: Sun Mar 04, 2012 16:20
by Jeija
Finished!

Some more pics:
Image
Image
Can be merged now.

PostPosted: Sun Mar 04, 2012 17:28
by Jordach
Awsome work, celeron, make US A WINDOWS EXECUTABLE. Cygwin hates me and mt.

PostPosted: Sun Mar 04, 2012 17:30
by sdzen
very nice

PostPosted: Sun Mar 04, 2012 18:02
by cosarara97
Jordach wrote:Awesome work, celeron, make US A WINDOWS EXECUTABLE. Cygwin hates me and mt.


I think you will be able to use this earlier if you use linux...

PostPosted: Sun Mar 04, 2012 19:16
by Jordach
I have linux, but get 9 fps. Darn.

Edit: But get 60+ in Windows.

PostPosted: Sun Mar 04, 2012 19:21
by Jeija
Can't you just compile the game on windows?
That's easier than cross compiling :).

PostPosted: Sun Mar 04, 2012 20:01
by cosarara97
I get 20 fps with a bad intel integrated graphics card, but I don't know how it would be in windows because I haven't got it installed xD
I say it's bad because most games don't work with it...
And who talked about cross compiling?

PostPosted: Sun Mar 04, 2012 20:19
by Jeija
And who talked about cross compiling?
I talked about that ^^; I would really like to compile this fork for you, but I don't know how to cross-compile. I only use linux, that's why I would have to cross compile.
I haven't got it installed xD

Just like you! ;) Good attitude!

PostPosted: Sun Mar 04, 2012 23:24
by Nemo08
Jordach wrote: .. I am installing Cygwin, so I can use newest bleeding edge.

Cygwin.. you're a big weirdo! %)

PostPosted: Mon Mar 05, 2012 02:29
by Death Dealer
Jeija wrote:Finished!

how are you running it?

Some more pics:
Image
Image
Can be merged now.

PostPosted: Wed Mar 07, 2012 12:14
by jn
Looks good except in some strange cases:
Image
Thanks, Jeija!

PostPosted: Wed Mar 07, 2012 12:19
by jn
Added to the patchsets page.

PostPosted: Wed Mar 07, 2012 13:01
by jordan4ibanez
jn wrote:Looks good except in some strange cases:
Image
Thanks, Jeija!

thats how minecraft does it too

PostPosted: Sat Mar 10, 2012 15:49
by Temperest

PostPosted: Sat Mar 10, 2012 15:53
by sfan5
Yaaaaayyy!!

PostPosted: Sat Mar 10, 2012 15:54
by Death Dealer
Temperest wrote:It's in!

\o/

Lol