Jump to content
DBaciu

Roof Generator

Recommended Posts

Hello guys.

I thought of showing you the roof generator that I'm working on.

And, while I'm at it, to ask you some questions...

First one: how one can approach the UV mapping of this thing?

As you can see is far from ok. I tried a gazillion things

but none of them seems to work ok so far.

And the last question (see last image): Maybe I'm stupid,

but why is the grid in the perspective view up in the air?

It should be in the plane between the roof and the walls

(where the roof starts)...

post-6076-131939037394_thumb.jpg

post-6076-131939037924_thumb.jpg

post-6076-131939038655_thumb.jpg

post-6076-131939039265_thumb.jpg

post-6076-131939039981_thumb.jpg

post-6076-131939040931_thumb.jpg

post-6076-131939041668_thumb.jpg

post-6076-13193904259_thumb.jpg

post-6076-131939043576_thumb.jpg

post-6076-131939044284_thumb.jpg

post-6076-131939044964_thumb.jpg

post-6076-131939045687_thumb.jpg

post-6076-131939046503_thumb.jpg

post-6076-131939047193_thumb.jpg

post-6076-131939048526_thumb.jpg

post-6076-131939049552_thumb.jpg

post-6076-131939050311_thumb.jpg

post-6076-131939050994_thumb.jpg

post-6076-131939051607_thumb.jpg

post-6076-131939052344_thumb.jpg

post-6076-131939053291_thumb.jpg

post-6076-131939055373_thumb.jpg

  • Like 2

Share this post


Link to post
Share on other sites

Nice roofs. So many variants. Very interesting.

The problem on your last image seems to be with the Construction Plane. In the Viewport Options (the name of the current viewport at the top-right corner) select Set Construction Plane -> Revert To Defaults.

I don't know why but sometimes it shifts or rotates. There is some notes in the help about Editing of the Construction Plane.

Share this post


Link to post
Share on other sites

I have some updates on this thing since the last posts

(which was kind of long time ago)

Now it can generate roofs with arbitrary slope section (think Angkor Wat).

The UV mapping is ok now either.

Also I worked on some structure for the roof (rafters, ridges and such)

but it still needs some work.

Now I'm working on doing gable roofs, dormers etc...

post-6076-0-88398000-1349342275_thumb.jp

post-6076-0-44422600-1349342307_thumb.jp

post-6076-0-93177200-1349342321_thumb.jp

post-6076-0-61008500-1349342337_thumb.jp

post-6076-0-17053700-1349342353_thumb.jp

post-6076-0-46133500-1349342373_thumb.jp

post-6076-0-26509700-1349342389_thumb.jp

  • Like 1

Share this post


Link to post
Share on other sites

I'm trying for about five months to build a straight skeleton setup in houdini without success!

Can you give me a hint about your scene? I mean ... is a python sop? attributes and foreaches ...? vex? ...

Thanks in advance.

-P

Share this post


Link to post
Share on other sites

Well, it's just some foreach and other sop's, some expressions,

plus allot of mind bending to get them to do what it needs to be done.

To be honest this thing made me think "Hey, I'm struggling to do this here in Houdini,

using some nodes that are not necessarily made for this (or are they?).

I should learn a little programming (Python for example).

By the way, this is a pretty good example showcasing the power of Houdini (in my humble opinion at least).

Maybe I'll do a tutorial some day...

Share this post


Link to post
Share on other sites

quite impressive :), useful as well.

I may also want to try building this some time...

I am wondering, what does your tool do when you set the building curve (left input) to NURBS?

or does it currently only work with polygonal curves?

Share this post


Link to post
Share on other sites

Please take this as constructive criticism, but the roof generator isn't realistic. It looks more "cartoony". That being said, this is better than I could do in Houdini. If you were going to real, I think this would need to be geometry based.

Please don't take the attached as what I think is better, I am just trying to explain what I mean Roof.hipnc

See the shakes (side of building) in this render?

post-8901-0-90690100-1359337788_thumb.jp

that was done in Modo the process took about 4 hours for the whole building, I am sure Houdini could do this much easier once the asset was created correctly. Same concept, but would give a more realistic look. I hope you don't mind the feedback.

Share this post


Link to post
Share on other sites

acey195, thank you very much for your appreciation.

It's funny that I never (even as an experiment) tried to feed a nurbs curve as an input for the outline.

I did that now, it doesn't work. But this is a simple matter of resampling and converting that nurbs into a polygonal curve.

Edited by Bandaciu

Share this post


Link to post
Share on other sites

pixate, I don't mind the feedback, how and why would I? I thank you for it.

But I really don't understand what you're saying... I don't understand what you mean by "geometry based".

You mean the shingles? You sent me that file "Roof.hipnc" which contain some shingles.

If this is what you're trying to say, yes, for now it might seem simplistic but its just the roof defining phase.

The full asset will have a lot of option for geometry, shingles and what not... It's just not finish, not tested thoroughly.

Actually the shingles are the easy one... See the following images.

post-6076-0-23314000-1359385552_thumb.jp

post-6076-0-62424400-1359385570_thumb.jp

post-6076-0-72409300-1359385594_thumb.jp

post-6076-0-69567200-1359385607_thumb.jp

Share this post


Link to post
Share on other sites

pixate, I don't mind the feedback, how and why would I? I thank you for it.

I didn't want to insult your work, because it seems you have put a ton of work into this., Glad you don't mind.

As for the Geometry based part, yeah I meant your example exactly. The easy one? I have a lot to learn if that is easy:) Great work. Are you planning on selling this when you are done, or sharing with the community?

Thanks!

-Jonn

Share this post


Link to post
Share on other sites

So is this tool available in any way?

orbolt? or some other method?

because I would love to try this out, and I imagine many others would love to do the same!

@ below,

yes master :P

Edited by freaq

Share this post


Link to post
Share on other sites

Some new images guys. Those edges (hips, valleys, ridges) were incredible hard to do (fast and without errors at least).

post-6076-0-11488700-1362958898_thumb.jp

post-6076-0-76056300-1362958911_thumb.jp

post-6076-0-03675000-1362958928_thumb.jp

post-6076-0-64345600-1362958945_thumb.jp

  • Like 2

Share this post


Link to post
Share on other sites

this looks very cool :), just wondering,

are the normal maps and textures created in Houdini, or in an external program like photoshop?

Extra kudos if it is the first ;)

Share this post


Link to post
Share on other sites

The main background (green) surface texture is an external map. The bolts and the rest of the features are made in Houdini.

Here some new tiles:

post-6076-0-36555800-1363217325_thumb.jp

post-6076-0-57382900-1363217336_thumb.jp

post-6076-0-93703500-1363217357_thumb.jp

post-6076-0-92657500-1363217371_thumb.jp

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×