Itoo Software Forum

Author Topic: Create a parquet floor  (Read 131672 times)

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4539
    • iToo Software
Create a parquet floor
« on: March 13, 2014, 12:42:40 PM »
Post here your questions and comments about the Create a parquet floor tutorial.
Carlos Quintero
iToo Software

ludwig

  • Newbie
  • *
  • Posts: 4
Re: Create a parquet floor
« Reply #1 on: June 29, 2014, 04:10:13 PM »
How must be the settings in mental ray. I try it with: maps\mental ray\Multi/Sub-map. It don't works.
Only Materials\Standard\Multi/Sub-Object gives a result. What is the right way? Thanks


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Create a parquet floor
« Reply #2 on: June 30, 2014, 10:41:41 AM »
Hi Ludwig,

Thanks for contacting us. There are a couple of differences when using RailClone with Mental Ray and V-Ray due to the functionality of the two engines in 3DS Max. The tutorial was made with V-Ray but unfortunately Operator->Material and Segment->Deform->Mapping are not available with Mental Ray (You can find more details in the Best Rendering Practices guide).

There are a few ways to get around this.

  • If the area is not too large, you could turn off the Geometry Shader by unticking Display > Render > Use Geometry Shader . This will return material ID support but disable instancing.
  • If you need to maintain instances, then I normally create multiple copies of the source geometry, each with a different material ID. Then add each to railclone as a separate Segment and use the Randomise operator to create the texture variation.

I Hope this helps, please let me know if you have further questions.

Many thanks,

Paul
« Last Edit: June 30, 2014, 10:44:11 AM by Paul Roberts »
Paul Roberts
iToo Software

ludwig

  • Newbie
  • *
  • Posts: 4
Re: Create a parquet floor
« Reply #3 on: June 30, 2014, 06:07:41 PM »
Hi Paul
Thank you for your helpful Tip. With unchecked  Display > Render > Use Geometry Shader and mental ray Multi/Sub-map until now all Problems are gone.

Many Thanks
Ludwig

Jesse Martin

  • Newbie
  • *
  • Posts: 6
Re: Create a parquet floor - Herringbone offsets
« Reply #4 on: February 13, 2015, 10:03:19 PM »
In the herringbone tutorial, the offsets seemed like they were just plucked out of thin air, and when trying to reproduce this style of flooring but with different size boards, I had a hard time figuring out what settings to use for padding, etc.

I managed to figure out the formulas if anyone is interested.  I used these formulas inside of an Arithmetic node to create a parametric herringbone floor, so I'll never have to figure it out manually again....

Formula for the Right Padding Offset for the first plank, and the Right Padding offset AND Y Fixed Translation for the Second plank :

-(sqrt((Input1*Input)*2))/2    <--where Input1 is the Width of the Planks

Formula for the top padding for both left and right planks:

-(sin(45)*(Input1-Input2))  <--where Input1 is the LENGTH of the plank and Input 2 is the WIDTH

Also notice that both formulas are encapsulated in parentheses with a preceding minus (-) sign.  This is because the end result should be negative.

If you create numeric nodes for user input and set them to use scene units, name one of them width and the other length, and plug those into the inputs of the arithmetic nodes, you have yourself a parametric herringbone floor...sorta.  These values don't actually change the size of the planks, you still have to do that manually.

Sorry for the quick write-up...I can post images if anyone gets stuck or needs a better explanation.


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Create a parquet floor
« Reply #5 on: February 15, 2015, 01:08:26 PM »
Hi Jesse,

Thanks for submitting that it works great. I just eyeballed it for the tutorial but this works much better.

Hope you don't mind a small correction, theres a missing 1 in your first expression. It should read:

-(sqrt((Input1*Input1)*2))/2

Also you might be interested to know that by using the export attributes feature in the new RailClone beta, it's now possible to export the current size of a segment. This means you won't need to enter the size of the planks, they're derived automatically from the source geometry :)

Check out the attached file for an example.

Cheers,

Paul
« Last Edit: February 15, 2015, 01:13:42 PM by Paul Roberts »
Paul Roberts
iToo Software

Jesse Martin

  • Newbie
  • *
  • Posts: 6
Re: Create a parquet floor
« Reply #6 on: February 18, 2015, 09:52:46 PM »
Thanks, Paul!  Happy to share.  And thanks for that correction.

This product keeps getting better and better!  So glad to hear about the new ability to export the segment size - it makes this preset so much more user friendly!

Bruno NM

  • Newbie
  • *
  • Posts: 30
Re: Create a parquet floor
« Reply #7 on: September 07, 2015, 04:07:08 PM »
Hi everyone ! I found a picture on pinterest, did you know if there is a solution for this parquet ? I mean for create this specific random type of material...
Sorry for my english..

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Create a parquet floor
« Reply #8 on: September 07, 2015, 05:22:52 PM »
Hi,

You could get something like that by switching segments based on their position in the array. So for example the first 40% of the array uses the Wood texture, After 60% you use the white texture, and between 40% and 60% randomised between the two.

In the attached file I've created this using Selector operators with the Index wired to an expression that uses these two if statements:

if(YSplinePosition<Input1,1,
if(YSplinePosition>Input2,3,
2))

In this case Input1 is the Transition start value and Input2 is the transition end value. When this equation outputs 1, the selector operator will use the wood texture, when it outputs 3 it will use the white texture, and an output of 2 uses a random selection of these two. Hopefully the attached file will make this clearer.


I hope that helps.

Many thanks,

Paul

Paul Roberts
iToo Software

Bruno NM

  • Newbie
  • *
  • Posts: 30
Re: Create a parquet floor
« Reply #9 on: September 07, 2015, 05:56:54 PM »
Oh nice ! Hopefully railclone is much better than i was thinking !
Great job  ;)

hoshimiya@midasco.co.jp

  • Guest
Re: Create a parquet floor
« Reply #10 on: June 22, 2017, 10:25:30 AM »
Hi,

Thanks for great tips for parametric herringbone.
I was banging my head against a wall till I found this info.

A quick question if anybody actually looking at this old thread though.

Are there anyway I can go completely RC solution without having original box for the plank?
I plugged numeric input to the box segments X fixed size and y fixed size and named length and width, but when I input values other than the original size of the plank geometry, the RC style breaks.
It is not a big deal as I can always extract the segments after importing the style from the library, but it would be nice if I did not have to.

What is the difference between modifying the original geometry and setting values with numeric input?

Kind regards

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Create a parquet floor
« Reply #11 on: June 22, 2017, 11:32:48 AM »
Hi!

Thanks for contacting us - we're looking at all the threads :)

The reason adjusting the size in RailClone doesn't work is that the X Size and Scale properties affect segments after they've been rotated, so they deform.

The good new is that in RailClone 3, this behaviour has been changed. The Fixed Size is now applied before the rotate operation and it should all work as you'd expect. Here's a little video of the herringbone style in RailClone 3. I haven't changed the style in any way.



I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
« Last Edit: June 22, 2017, 11:34:49 AM by Paul Roberts »
Paul Roberts
iToo Software

hoshimiya@midasco.co.jp

  • Guest
Re: Create a parquet floor
« Reply #12 on: June 23, 2017, 03:31:37 AM »
Hi Paul,

Thanks for your quick response. Unfortunately I cannot see the video. I tried a few computers but the video is not working.
Can you check to see if there is any problems?

Anyway good to hear it has been changed for future version.

Thanks for your help!

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Create a parquet floor
« Reply #13 on: June 23, 2017, 07:29:55 PM »
Hi,

Apologies for that. It's possible a browser compatibility issue. Here's the direct link, but it's only a little screen recording of the style in RC3.

https://d.pr/Mxs9TG

All the best,

Paul
Paul Roberts
iToo Software

hoshimiya@midasco.co.jp

  • Guest
Re: Create a parquet floor
« Reply #14 on: June 26, 2017, 09:48:56 AM »
Hi

Thanks for the video. It was exactly what I wanted.
Is this going to be part of RC3 library? If so, other floor styles would be updated as well?

Kind regards,