{"action":"created","issue":{"url":"https://api.github.com/repos/andyhall/noa/issues/5","labels_url":"https://api.github.com/repos/andyhall/noa/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/andyhall/noa/issues/5/comments","events_url":"https://api.github.com/repos/andyhall/noa/issues/5/events","html_url":"https://github.com/andyhall/noa/issues/5","id":124106545,"number":5,"title":"Stairs","user":{"login":"andrewtheone","id":798506,"avatar_url":"https://avatars.githubusercontent.com/u/798506?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewtheone","html_url":"https://github.com/andrewtheone","followers_url":"https://api.github.com/users/andrewtheone/followers","following_url":"https://api.github.com/users/andrewtheone/following{/other_user}","gists_url":"https://api.github.com/users/andrewtheone/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewtheone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewtheone/subscriptions","organizations_url":"https://api.github.com/users/andrewtheone/orgs","repos_url":"https://api.github.com/users/andrewtheone/repos","events_url":"https://api.github.com/users/andrewtheone/events{/privacy}","received_events_url":"https://api.github.com/users/andrewtheone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-28T18:48:43Z","updated_at":"2016-01-05T03:42:21Z","closed_at":null,"body":"What would be the best approach to implement stairs? I mean, can it be done only by textures? 1 can imagine the top,back,and right,left sides' textures (transparent) but I cannot figure out how should I paint the front face?\r\n\r\nOther option would be to handle all stairs/slabs as \"object\", and not terrain but then it'd be a pain in the ass to -lets say put a block above a stair-,or I had to rewrite the hole raycasting-block selection part, to include objects to, or to have a fully transparent block where the stair would go, and if the block is deleted then the stair is, it might be possible, due to my latest contribution (block data)."},"comment":{"url":"https://api.github.com/repos/andyhall/noa/issues/comments/168885151","html_url":"https://github.com/andyhall/noa/issues/5#issuecomment-168885151","issue_url":"https://api.github.com/repos/andyhall/noa/issues/5","id":168885151,"user":{"login":"andrewtheone","id":798506,"avatar_url":"https://avatars.githubusercontent.com/u/798506?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewtheone","html_url":"https://github.com/andrewtheone","followers_url":"https://api.github.com/users/andrewtheone/followers","following_url":"https://api.github.com/users/andrewtheone/following{/other_user}","gists_url":"https://api.github.com/users/andrewtheone/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewtheone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewtheone/subscriptions","organizations_url":"https://api.github.com/users/andrewtheone/orgs","repos_url":"https://api.github.com/users/andrewtheone/repos","events_url":"https://api.github.com/users/andrewtheone/events{/privacy}","received_events_url":"https://api.github.com/users/andrewtheone/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T03:42:21Z","updated_at":"2016-01-05T03:42:21Z","body":"Yes, the key was to add the childrens to (btw later I added a custom property to the children, which indicates \"add as dynamic mesh\" - somehow I got trippy effects on some objects)\r\n\r\nAnd yes I set autoStep and its currently on but planing to modify the physics module too, so it can get data from blockData (for example, is it water, is it stair and so on, so it wouldnt walk up on each block but stairs)\r\n\r\nNow I have half slabs and stairs, but they are dynamic meshes. And a little bug in my code: when I add the block in \"worldDataNeeded\", I add the dynamic mesh too, so its always rendered.\r\n\r\nMy next point would be to be able to determine if a voxel has been rendered or got cut off (meaning it was rendered at a certain point but from now on it will not). As far as I know, it should do something with the chunker/greedy mesher part but its not that clear yet. Any ideas?"}}