Jump to content

Roof Generator


DBaciu

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
Link to comment
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.

Link to comment
Share on other sites

  • 11 months later...

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
Link to comment
Share on other sites

  • 3 weeks later...

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...

Link to comment
Share on other sites

  • 2 months later...

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.

Link to comment
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
Link to comment
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

Link to comment
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

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...