Sloped Roof

View previous topic View next topic Go down

Sloped Roof

Post by Slaihne on Mon May 09, 2011 2:25 pm

While i was working on the code to get the models pointing in the right direction i thought i'd add in a proper sloped block to use as a roof tile type thing.

http://blokworld.forumotion.co.uk/gallery/General-Images/Slope-Test-pic_7.htm

It looks good, or will do when it's textured better, but it jars with the lighting a bit and to allow the player to walk smoothly over it (it's treated like a square block atm) will take a bit of effort.

What do you think?
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: Sloped Roof

Post by MrFast on Mon May 09, 2011 3:54 pm

I like it. Maybe you shall make some more types of it (like metal or something like that) And i think you shall make stairs Smile
avatar
MrFast

Posts : 42
Join date : 2011-04-14
Age : 26
Location : Russia

View user profile

Back to top Go down

Re: Sloped Roof

Post by deadering on Tue May 10, 2011 2:43 am

That looks awesome. They will surely add much depth to the game. Do you plan on adding slopes to the land as well?

deadering

Posts : 2
Join date : 2011-05-10

View user profile

Back to top Go down

Re: Sloped Roof

Post by Negeator on Tue May 17, 2011 3:04 pm

Adding slopes is a great addition! It adds a lot when making buildings while still keeping most of the overall blocky style of the game.

Will slopes be individual block types, or will you be able to toggle between placing a block or slope with any material?
avatar
Negeator

Posts : 21
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Tamloo on Tue May 17, 2011 3:29 pm

The slopes look great!

Negeator wrote:Will slopes be individual block types, or will you be able to toggle between placing a block or slope with any material?
I think they are individual block types... look closely at the image.
avatar
Tamloo

Posts : 16
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Negeator on Tue May 17, 2011 7:01 pm

Tamloo wrote:The slopes look great!

Negeator wrote:Will slopes be individual block types, or will you be able to toggle between placing a block or slope with any material?
I think they are individual block types... look closely at the image.

Yeah, it does appear that there are multiple textures on the slope objects, which implies that it would be an individual block type seeing it would be made out of several "materials".
avatar
Negeator

Posts : 21
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Slaihne on Wed May 18, 2011 2:35 pm

The slopes in that image were actually what i refer to as 'model blocks'. Basically a model that can be used as a block. They're relatively inefficient to draw since they're just a bunch of triangles with a relatively high vertex count. The engine supports displaying them in 6 different orientations. The lights are done the the same way.

I'm currently working on giving direct support for slopes within the engine.

http://blokworld.forumotion.co.uk/gallery/General-Images/Slopes-Progress-pic_8.htm

The little 'warning' blocks are placeholders for corner pieces and the lighting is off.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: Sloped Roof

Post by Tamloo on Wed May 18, 2011 8:31 pm

Wow! Looks great! Can't wait to see it in the game! Keep up the great work man!
avatar
Tamloo

Posts : 16
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Slaihne on Thu May 19, 2011 2:56 pm

A small update, with all the upward facing slope blocks in place.

http://blokworld.forumotion.co.uk/gallery/General-Images/Upward-Slopes-pic_9.htm

The down facing slopes (for overhangs and cave ceilings) are next. Then the lighting needs rejigged to cope with slopes.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: Sloped Roof

Post by Tamloo on Thu May 19, 2011 5:33 pm

Looks great! Keep up the great work!
avatar
Tamloo

Posts : 16
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Slaihne on Fri May 20, 2011 3:03 pm

Phew, this is time consuming and fiddly, but it's starting to come together now i think.

http://blokworld.forumotion.co.uk/gallery/General-Images/Slopes-First-Attempt-at-Lighting-slopes-pic_10.htm
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: Sloped Roof

Post by Negeator on Fri May 20, 2011 3:07 pm

Slaihne wrote:Phew, this is time consuming and fiddly, but it's starting to come together now i think.

http://blokworld.forumotion.co.uk/gallery/General-Images/Slopes-First-Attempt-at-Lighting-slopes-pic_10.htm

Wow! With the lighting that looks great! I can't wait to see this in game!
avatar
Negeator

Posts : 21
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Slaihne on Sun May 22, 2011 8:14 am

I've now got the water / caustics working properly (i knew it would be useful allowing liquid to co-exist with a solid block). Now to flip it upside down and get the downward slopes working too.

A little video i made today is at...

http://www.youtube.com/watch?v=13pf8znXBFw
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: Sloped Roof

Post by Tamloo on Sun May 22, 2011 8:39 am

Wow! It just keeps getting better and better! Keep up the great work!
avatar
Tamloo

Posts : 16
Join date : 2011-05-17

View user profile

Back to top Go down

Re: Sloped Roof

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum