Author Topic: Kitchen Project  (Read 9499 times)


04-13-17
Did some more today.  The counter top and circular rotatey shelves are done.

04-14-17
Such progress, much wow.  I did the cabinetry floor.  And some of the cabinetry walls.

04-15-17
Finished up the cabinetry walls around the rotatey shelves.

04-16-17
Collision on the two drawers is done.
« Last Edit: April 16, 2017, 04:23:25 PM by Tendon »

So how much more is there to be done?

when this is done i'l probably gladly host a freebuild on it for a while
INFACT I GOT A FANTASTIC IDEA FOR A FREEBUILD so when this is released i'm going to try this idea and.. it could be a fantastic freebuild. i'm unsure right now how it'l work but i'l keep thinking
« Last Edit: April 18, 2017, 09:44:27 AM by K3k0m@n »

Got the rest of the cabinetry done.  All that's left for collision is the sink.

I'll release a v0.5 when I finish the collision.
The detail layer is looking all funky, some areas are really bright while others are dark.  I haven't tried to fix it yet, but I think it has something to do with the lighting in .dif files.

Great work Tendon! I can't wait to play.

Great work Tendon! I can't wait to play.
Captain obvious: the return
Everyone wants to play it unless you found out what the have was after v21

This was kinda neat.  I used getFileCRC() to check if there are any duplicate .dts shapes in my project.

Code: (crc.cs) [Select]
function KitchenCRCs()
{
%fo = new FileObject();
%fo.openforwrite("Add-Ons/Map_Kitchen/crc.txt");
%fo.writeline("CRC CHECK "@getDateTime());
%file = findFirstFile("Add-Ons/Map_Kitchen/shapes/*.dts");
while(isFile(%file))
{
%name = filename(%file);
%crc = getfileCRC(%file);
for(%i=0;%i<%x;%i++)
{
if(%fo.filecrc[%i] == %crc)
{
%colname = %fo.filename[%i];
%col = 1;
}
}
if(!%col)
{
%x++;
%fo.filename[%x] = %name;
%fo.filecrc[%x] = %crc;
}
%fo.writeline(%col ? %name TAB %crc TAB "SAME AS "@%colname : %name TAB %crc);
%col = 0;
%file = findNextFile("Add-Ons/Map_Kitchen/shapes/*.dts");
}
%fo.close();
%fo.delete();
}

Turns out, there are at least two unneeded shapes.
Quote
COLKITCHEN.247.dts   1046767046
COLKITCHEN.246.dts   -240051424
COLKITCHEN.245.dts   -1316678859
...
COLKITCHEN.242.dts   1227677682
COLKITCHEN.241.dts   -240051424   SAME AS COLKITCHEN.246.dts
COLKITCHEN.240.dts   671798253
...
COLKITCHEN.431.dts   -866669123
COLKITCHEN.430.dts   -438330304
COLKITCHEN.429.dts   1247631198
...
COLDRAWERLEFT.049.dts   -710672885
COLDRAWERLEFT.048.dts   -438330304   SAME AS COLKITCHEN.430.dts
COLDRAWERLEFT.047.dts   -903340297
Those shapes are almost exactly the same in blender.  The only difference is their position.

So... in the future, if I make a map out of a bunch of similar shapes, I can use this sort of script to check for similar objects, and reduce the file count a little.

It's not perfect though.  The file CRC check will detect the difference in vertex order.  So if I rotate a cube object by 90 degrees, it will sense that change and declare that the objects are different.  Even if they are functionally the same. :c

I also discovered a small difference between TSStatic and StaticShapes.  While in a vehicle, StaticShapes do not block camera movement, while TSStatic shapes do.
This may be up to Blockland creating a LOSCollision layer out of the Collision layer when creating a TSStatic shape, or it may just be a difference between how the camera interacts with the two objects.

Because of this I've changed all collision objects to TSStatic, instead of StaticShapes.

Great work Tendon! I can't wait to play.
^-^

I finished the collision on the sink.

I released the collision test version: https://forum.blockland.us/index.php?topic=309342.0
« Last Edit: April 19, 2017, 08:33:20 PM by Tendon »


If it's not too much trouble, once you're done with the collision test and before the final release, could you un-smooth shade the everything there? The shaders make it look especially bad

Captain obvious: the return
Everyone wants to play it unless you found out what the have was after v21
where the heck did this pissy response come from lol



is the interior of the fridge there?
« Last Edit: April 19, 2017, 09:37:28 PM by Planr »


holy stuff thats spot on

Fixed the shading.
[img width=640 ]https://s23.postimg.org/i2ozxg93f/Blockland_00030.png[/img]
Absolutely satisfied

Is it possible to vertex color to make the shading seem less flat?

blockland doesnt ignore vertex colors? iirc vertex colors do nothing in bl