Page 25 of 48
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 07:16
by fastforza
Seeing lots of great blocks. Great job guys!

Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:03
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:
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

Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:05
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

Cool! I hope you find a solution soon

Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:08
by CoastKid
Anyone, can you tell me what the CLIP is?
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:10
by Omnixor
I think they are those colored block endings...
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:12
by CoastKid
Omnixor wrote:I think they are those colored block endings...
you mean those that shows only in editor?
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:16
by Omnixor
yes. but i'm not sure if i'm right.
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:16
by arc_
Yes, "clips" are the markers on the side of blocks that are only visible in the editor.
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:24
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"
Re: mpbc 0.1.1: custom block creation tool
Posted: 29 Apr 2012, 11:38
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>.