mpbc 0.1.9.1: custom block creation tool

Talk about the track editor here

Moderator: English Moderator

User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: mpbc 0.1.1: custom block creation tool

Post by fastforza »

Seeing lots of great blocks. Great job guys! :1010
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Re: mpbc 0.1.1: custom block creation tool

Post by arc_ »

I've had to roll back the roadmap progress for a bit... I thought I had fixed the baked lighting, but it only works as long as there is *no* block with clips in the map. If you do place a block with clips (even if those clips aren't visible), you get this:

Image

So sorry people, but the next update isn't quite there yet... Clips work, drawable roads work, checkpoints/finish lines work, but it's all held back by lighting bugs and I still have no idea how to fix it :shock:
SiH13
Posts: 1072
Joined: 15 Jun 2010, 11:54

Re: mpbc 0.1.1: custom block creation tool

Post by SiH13 »

arc_ wrote:Clips work, drawable roads work, checkpoints/finish lines work, but it's all held back by lighting bugs and I still have no idea how to fix it :shock:
Cool! I hope you find a solution soon :)
Image
User avatar
CoastKid
Translator
Translator
Posts: 168
Joined: 16 Jun 2010, 06:20

Re: mpbc 0.1.1: custom block creation tool

Post by CoastKid »

Anyone, can you tell me what the CLIP is?
Image
Image
User avatar
Omnixor
Translator
Translator
Posts: 2708
Joined: 03 Jul 2010, 17:07
Location: Vilnius, Lithuania

Re: mpbc 0.1.1: custom block creation tool

Post by Omnixor »

I think they are those colored block endings...
- staff head of ESL TM²Stadium -
User avatar
CoastKid
Translator
Translator
Posts: 168
Joined: 16 Jun 2010, 06:20

Re: mpbc 0.1.1: custom block creation tool

Post by CoastKid »

Omnixor wrote:I think they are those colored block endings...
you mean those that shows only in editor?
Image
Image
User avatar
Omnixor
Translator
Translator
Posts: 2708
Joined: 03 Jul 2010, 17:07
Location: Vilnius, Lithuania

Re: mpbc 0.1.1: custom block creation tool

Post by Omnixor »

yes. but i'm not sure if i'm right.
- staff head of ESL TM²Stadium -
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Re: mpbc 0.1.1: custom block creation tool

Post by arc_ »

Yes, "clips" are the markers on the side of blocks that are only visible in the editor.
User avatar
CoastKid
Translator
Translator
Posts: 168
Joined: 16 Jun 2010, 06:20

Re: mpbc 0.1.1: custom block creation tool

Post by CoastKid »

My suggestion is: Clips uses wrong material\shader that not excluded from lightmap calculations and because Clips do not participate in lightmap-UV calculation (because they editor only) it draws on lightmap with first uv coords, and because of that we can see those polygonal artifacts (not just noise or any random thing) on lightmap.
Suggested solution: use special material for clips that exclude it from baked render.

Update: i also suppose this material need to be used for clips "Tech3 EditorHelpers.Material.gbx"
Image
Image
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Re: mpbc 0.1.1: custom block creation tool

Post by arc_ »

I'm already using the EditorHelpers material for custom clips. But that's not the source of the problem. The artifacts appear as soon as you have a custom block and *any* clipped block in the map; that includes built-in blocks! It happens even if you don't have any custom clips whatsoever.

For those who want to try it anyway, here's the current build:
mpbc 0.1.2 (for those who missed it: this is not an official release but just an intermediate version with known bugs)
Manual
Demo block source files
Demo block output files

Note: the XML Format has changed slightly. Block unit offsets are no longer written as <offset><x>X</x><y>Y</y><z>Z</z></offset> but simply as <offset>X Y Z</offset>.
Post Reply

Return to “Track Editor”

Who is online

Users browsing this forum: No registered users and 1 guest