rest state for proceduaral textures

Forums: rest state for proceduaral textures
Houdini Integrated Plugin

Moderator: juanjgon

Re: rest state for proceduaral textures

Postby Carlll » Tue Jun 06, 2023 9:50 pm

Carlll Tue Jun 06, 2023 9:50 pm
.
Last edited by Carlll on Tue Jun 06, 2023 9:52 pm, edited 1 time in total.
Carlll
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Tue May 23, 2023 1:57 pm

Re: rest state for proceduaral textures

Postby Carlll » Tue Jun 06, 2023 9:51 pm

Carlll Tue Jun 06, 2023 9:51 pm
galleon27 wrote: Rest position is not implemented yet. Its planned for Octane 2022.x


any update on this? has it been implemented yet?
Carlll
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Tue May 23, 2023 1:57 pm

Re: rest state for proceduaral textures

Postby toby_a » Wed Jun 07, 2023 4:58 am

toby_a Wed Jun 07, 2023 4:58 am
As far as I can tell, nothing has been added relating to this recently. I don't quite understand why UV coordinates can't be used for this purpose. The OP talks about "seams" caused by the use of UVs but I don't quite understand why that would be the case unless we're talking about multiple objects each with their own UV space.
toby_a
OctaneRender Team
OctaneRender Team
 
Posts: 261
Joined: Tue May 10, 2022 11:59 pm

Re: rest state for proceduaral textures

Postby WoutTgh » Wed Jun 07, 2023 6:11 am

WoutTgh Wed Jun 07, 2023 6:11 am
toby_a wrote:As far as I can tell, nothing has been added relating to this recently. I don't quite understand why UV coordinates can't be used for this purpose. The OP talks about "seams" caused by the use of UVs but I don't quite understand why that would be the case unless we're talking about multiple objects each with their own UV space.

Hello,
because the procedural textures are sampled in uv space( 2D), you get discontinuous textures where the uvmap is discontinuous ( islands ). If it were sampled in 3D space, it would be seamless.
WoutTgh
Licensed Customer
Licensed Customer
 
Posts: 182
Joined: Sat Jul 27, 2019 8:39 pm

Re: rest state for proceduaral textures

Postby galleon27 » Wed Jun 07, 2023 7:57 am

galleon27 Wed Jun 07, 2023 7:57 am
Goldorak wrote:For architectural and stability reasons it was my call to push Rest position and the remainder of the brigade kernel work to to the next release - 2023.1 - already well underway, see the blog post update on the home page. We will begin testing in the same slack group we used for 2021 beta.


viewtopic.php?f=24&t=80814&p=419149#p419152
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
User avatar
galleon27
Licensed Customer
Licensed Customer
 
Posts: 237
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia

Re: rest state for proceduaral textures

Postby toby_a » Wed Jun 07, 2023 8:33 am

toby_a Wed Jun 07, 2023 8:33 am
Right, looks like it's not included in the 2023.1 Alpha releases at this point (it is on the list of features for later in the 2023 series).
toby_a
OctaneRender Team
OctaneRender Team
 
Posts: 261
Joined: Tue May 10, 2022 11:59 pm

Re: rest state for proceduaral textures

Postby toby_a » Wed Jun 07, 2023 8:41 am

toby_a Wed Jun 07, 2023 8:41 am
WoutTgh wrote:
toby_a wrote:As far as I can tell, nothing has been added relating to this recently. I don't quite understand why UV coordinates can't be used for this purpose. The OP talks about "seams" caused by the use of UVs but I don't quite understand why that would be the case unless we're talking about multiple objects each with their own UV space.

Hello,
because the procedural textures are sampled in uv space( 2D), you get discontinuous textures where the uvmap is discontinuous ( islands ). If it were sampled in 3D space, it would be seamless.


Hi, thanks for the clarification. Would it work for your usecase to generate an additional UV set that doesn't have the discontinuities (for example using the UV Project Sop)? If you name the addtional UV set "uv2" and promote it to a primitive attribute then you should be able to use it in the Mesh UV Projection node in Octane as UV set 2.
toby_a
OctaneRender Team
OctaneRender Team
 
Posts: 261
Joined: Tue May 10, 2022 11:59 pm

Re: rest state for proceduaral textures

Postby WoutTgh » Wed Jun 07, 2023 8:48 am

WoutTgh Wed Jun 07, 2023 8:48 am
toby_a wrote:
WoutTgh wrote:
toby_a wrote:As far as I can tell, nothing has been added relating to this recently. I don't quite understand why UV coordinates can't be used for this purpose. The OP talks about "seams" caused by the use of UVs but I don't quite understand why that would be the case unless we're talking about multiple objects each with their own UV space.

Hello,
because the procedural textures are sampled in uv space( 2D), you get discontinuous textures where the uvmap is discontinuous ( islands ). If it were sampled in 3D space, it would be seamless.


Hi, thanks for the clarification. Would it work for your usecase to generate an additional UV set that doesn't have the discontinuities (for example using the UV Project Sop)? If you name the addtional UV set "uv2" and promote it to a primitive attribute then you should be able to use it in the Mesh UV Projection node in Octane as UV set 2.


Hello again,

I don't see how that would work as any good uv map will always have seams. If you don't, that means you're simply flattening the mesh which means overlaps and those will of course be visible when used for texture sampling. In any case, I kinda hacked together a OSL shader ( above) that works quite well, with the exception of normal/bump mapping, something is off with that :p
WoutTgh
Licensed Customer
Licensed Customer
 
Posts: 182
Joined: Sat Jul 27, 2019 8:39 pm

Re: rest state for proceduaral textures

Postby toby_a » Wed Jun 07, 2023 11:42 pm

toby_a Wed Jun 07, 2023 11:42 pm
WoutTgh wrote:
toby_a wrote:Hi, thanks for the clarification. Would it work for your usecase to generate an additional UV set that doesn't have the discontinuities (for example using the UV Project Sop)? If you name the addtional UV set "uv2" and promote it to a primitive attribute then you should be able to use it in the Mesh UV Projection node in Octane as UV set 2.


Hello again,

I don't see how that would work as any good uv map will always have seams. If you don't, that means you're simply flattening the mesh which means overlaps and those will of course be visible when used for texture sampling. In any case, I kinda hacked together a OSL shader ( above) that works quite well, with the exception of normal/bump mapping, something is off with that :p


OK, I don't know if I'm completely understanding this, but it sounds like it's important to have a 3D texture coordinate rather than a 2D one and I will take your word for it!

It sounds like your solution using the "rest" attribute via an OSL projection node is working well, and until Octane gets built in support for rest position is probably the best that can be done.

Are you able to create a simple scene that demonstrates the problem with normal/bump mapping?
toby_a
OctaneRender Team
OctaneRender Team
 
Posts: 261
Joined: Tue May 10, 2022 11:59 pm

Re: rest state for proceduaral textures

Postby WoutTgh » Thu Jun 08, 2023 3:19 pm

WoutTgh Thu Jun 08, 2023 3:19 pm
toby_a wrote:... sounds like it's important to have a 3D texture coordinate rather than a 2D one ...


That's exactly right :)
toby_a wrote:Are you able to create a simple scene that demonstrates the problem with normal/bump mapping?


I don't really have the time for this at the moment, perhaps later :)
WoutTgh
Licensed Customer
Licensed Customer
 
Posts: 182
Joined: Sat Jul 27, 2019 8:39 pm
Previous

Return to Houdini


Who is online

Users browsing this forum: No registered users and 8 guests

Fri Mar 29, 2024 7:56 am [ UTC ]